Re: [R] unexpected behavior in bwplot

2005-07-12 Thread Greg Snow
the new function find the non-exported functions). Hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health Care [EMAIL PROTECTED] (801) 408-8111 Ritter, Christian C GSMCIL-GSTMS/2 [EMAIL PROTECTED] 07/12/05 05:08AM R-2.1.1 on windows XP I just noticed

Re: [R] Generating correlated data from uniform distribution

2005-07-05 Thread Greg Snow
, new.point2, method=SANN, control = list(maxit=6, temp=200, trace=TRUE)) y - y[res$par] par(mfrow=c(2,2)) hist(x) hist(y) plot(x,y) cor(x,y) y - sort(y)[res2$par] par(mfrow=c(2,2)) hist(x) hist(y) plot(x,y) cor(x,y) Hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital

Re: [R] us zipcode data map

2005-06-13 Thread Greg Snow
I have had success by downloading the zipcode (approximate) shapefiles (the .shp files) from: http://www.census.gov/geo/www/cob/z52000.html Then using the maptools package (rather than the maps package). hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain

Re: [R] Essay identification

2005-06-13 Thread Greg Snow
a copy to anyone who is interested (specify if you have perl, or need a stand alone copy (windows only)). hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health Care [EMAIL PROTECTED] (801) 408-8111 Werner Bier [EMAIL PROTECTED] 06/12/05 01:29PM Hi R-help

Re: [R] Arranging Plots

2005-05-19 Thread Greg Snow
Using layout(matrix(c(1,1,2,2,0,3,3,0),2,3,byrow=TRUE)) may be closer to what the original intent was. Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health Care [EMAIL PROTECTED] (801) 408-8111 Lapointe, Pierre [EMAIL PROTECTED] 05/19/05 05:51AM Try this: layout(matrix

Re: [R] Exact quantile regression

2005-05-05 Thread Greg Snow
Here is an approach using optim: tmpfunc - function(param){ ml-param[1] sl-param[2] (qlnorm(.15,ml,sl)-10)^2 + (qlnorm(.5,ml,sl)-30)^2 } res - optim(c(1,2), tmpfunc) res - optim(res$par, tmpfunc) res hope this helps, Greg Snow, Ph.D. Statistical Data Center, LDS

Re: [R] how i can get input from user input

2005-03-30 Thread Greg Snow
Also look at ?readline Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 Uwe Ligges [EMAIL PROTECTED] 03/29/05 11:43PM Cuichang Zhao wrote: Hello, Could you please tell me how i can get an input from the user in R? Depends on the kind of input. See, e.g., ?scan

Re: [R] slide show with R

2005-03-29 Thread Greg Snow
- ... line it will pause and wait for you to press enter before continuing on. you can discuss the lines that have just been executed and the current plot, then press enter for the next chunk. hope this helps, Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 [EMAIL PROTECTED

Re: [R] Histogram over times (without dates)

2005-03-24 Thread Greg Snow
Have you looked at the CircStats and circular? They have some plotting functions that may be of help to you. Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 Dubravko Dolic [EMAIL PROTECTED] 03/24/05 09:38AM Dear Group, Having a character vector like this one

Re: [R] mixtures as outcome variables

2005-03-23 Thread Greg Snow
for any hints! Jason -- Jason W. Martinez, Gradaute Student University of California, Riverside Department of Sociology E-mail: [EMAIL PROTECTED] hope this helps, Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111

Re: [R] from long/lat to UTM

2005-03-10 Thread Greg Snow
the sapply was (under a second on my fairly fast pc (windows 2000)). It shouldn't be too hard to convert this into a more general function. Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 __ R-help@stat.math.ethz.ch mailing

Re: [R] Decimal point as a comma in postcript and pdf graphics

2005-03-09 Thread Greg Snow
in 2.1.0 (or at least be broken in new and interesting ways) due to support for UTF-8 encodings. Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] German Map Data?

2005-03-03 Thread Greg Snow
There is a shapefile at: http://www.vdstech.com/map_data.htm The maptools package can read and plot shapefiles. Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 Werner Wernersen [EMAIL PROTECTED] 03/03/05 02:35PM Hello! Is there a more accurate map of germany than

Re: [R] easing out of Excel

2005-01-20 Thread Greg Snow
-r.project.org/ and click on R web-servers under the Related Projects heading in the left column to get details. Hope this helps, Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 __ R-help@stat.math.ethz.ch mailing list https

Re: [R] drawing a rectangle through multiple plots

2004-12-16 Thread Greg Snow
='') #bottom plot plot(1:10, rnorm(10), ylim=c(-4,4)) ### turn off clipping (alow drawn lines to cross all plots) par(xpd=NA) ### convert top to current usr coordinates tmp.y2 - cnvrt.coords(x=NA, y=tmp.y, input='dev')$usr$y # draw rectangle rect(2.5, -4, 4.5, tmp.y2) Hope this helps, Greg Snow

Re: [R] scatterplot of 100000 points and pdf file format

2004-11-24 Thread Greg Snow
just replace the initial plot with a hexbin or contour plot and you should have something that takes a lot less room but still shows the locations of the outer points. Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 __ [EMAIL

Re: [R] Interactive plots in R?

2004-11-23 Thread Greg Snow
/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Greg Snow, Ph.D. Statistical Data Center [EMAIL PROTECTED] (801) 408-8111 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

<    1   2   3   4