Re: [R] Error message when using zero-inflated count regression model in package zicounts

2007-08-14 Thread Hank Stevens
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. Dr. Hank Stevens, Associate Professor 338 Pearson Hall Botany Department Miami University Oxford, OH 45056 Office

Re: [R] How to get to the varable in a list

2005-10-16 Thread Hank Stevens
Hi Lisa, Try the following -- there are probably better solutions, but these seem to work. Hank Stevens Miami University Oxford, OH, USA a - vector(list,3) names(a) - 1:3 a[[1]] - data.frame(x1=3,x2=1) a[[2]] - data.frame(x1=c(3,3),x2=c(2,2)) a[[3]] - data.frame(x1=c(3,3), x2=c(3,3)) a unlist

Re: [R] use of NA's

2005-10-15 Thread Hank Stevens
Hi Tom, You need to use the is.na test rather then the test x==NA because the latter is not defined. d-c(0,2,3,2,0,3,4,0,0,0,0,0) d.mat-matrix(data=d,nrow=4,ncol=3,byrow=TRUE) d.mat[d.mat==0]-NA for(i in 1:length(d.mat[1,])){ d.mat[,i][is.na(d.mat[,i])] - mean(d.mat[,i],na.rm=TRUE) } Hank tom

[R] ?glmm with correlation structure?

2004-09-20 Thread Hank Stevens
Hi folks, I am looking for the package that will allow me to do a generalized (poisson) linear mixed model with spatial correlation structure. If gls() in nlme does this, I don't understand how to implement different families. If glmmPQL() in MASS does this, I don't understand what correlation

[R] won't install properly on Mac 10.3.2

2003-12-19 Thread Hank Stevens
R version 1.8.1, Mac OS X 10.3.2 I have tried searching for this problem and its fix, but to no avail. -Everything seems to download and unpack fine. I double click on StartR, however, and it just winks and fails. Any thoughts? Thanks in advance, Hank Dr. Martin Henry H. Stevens, Assistant

RE: [R] axes that meet

2003-12-09 Thread Hank Stevens
PROTECTED] Sent by: [EMAIL PROTECTED] 12/09/2003 05:23 AM To: 'Hank Stevens' [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:RE: [R] axes that meet Hank, I think the graphical parameter you are looking for is bty, as in par(bty=l) Details on the ?par help topic

[R] contributed packages not found

2003-12-02 Thread Hank Stevens
/PACKAGES' Error in download.file(url = paste(contriburl, PACKAGES, sep = /), : cannot open: HTTP status was `404' Is this no longer the path to the packages? Can I fix this without updating R? Many thanks, Hank Stevens Dr. Martin Henry H. Stevens, Assistant Professor 338 Pearson

[R] Symbolic math?

2003-11-17 Thread Hank Stevens
Hi Folks, I am using Windows 2000 and was wondering what (Open Source) software R users use or might recommend for symbolic computations (aside from the ol' noggin, e.g., Maxima, Mathomatic) . Thanks, Hank Dr. Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall Botany Department Miami

[R] power.t.test

2003-03-31 Thread Hank Stevens
power.t.test() requires a standard deviation as input, but for a two sample test, I do not understand what is required. Is it the standard deviation of the means (standard error), or of the combined sample? thanks, Hank Stevens Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall