[R] popbio and stochastic lambda calculation

2010-02-12 Thread Shawn Morrison
beta? What can I do about that? Thank you, Shawn Morrison # #My example: # rm(list = ls()) objects() library(popbio) # Vital rate means and variances, and 'types' for the vrtypes a

[R] popbio and stochastic lambda calculation

2010-02-16 Thread Shawn Morrison
beta? What can I do about that? Thank you, Shawn Morrison # #My example: rm(list = ls()) objects() library(popbio) # Vital rate means and variances, and 'types' for the vrtypes argument in vitalsim # 'names' is not used

Re: [R] popbio and stochastic lambda calculation

2010-02-19 Thread Shawn Morrison
ition. Thanks again, Shawn Chris Stubben wrote: Shawn Morrison-2 wrote: # The paper reports a 95% CI of 0.79 - 1.10 # "My" reproduced result for the CIs is much larger, especially on the upper end. Why would this be? # The authors report using the 'delta' method (Caswell, 2

[R] Interpreting Poisson GLM coefficients into everyday language

2010-01-15 Thread Shawn Morrison
by one unit has a corresponding ___% decrease in Y. How do I calculate the % change in Y caused by changes in B? Is there an R function, or a bit of code that will do the trick? How do these calculations affect the SEs? Thank you, *** Shawn Morrison Edmonton, Alberta

[R] lapply and boxplots with variable names

2010-06-22 Thread Shawn Morrison
? Thank you for your help, Shawn Morrison # Generate a sample dataset var1 = rnorm(1000) var2 = rnorm(1000) TimePeriod = rep((LETTERS[1:4]), 250) my.data = as.data.frame(cbind(var1, var2, TimePeriod)); summary(my.data) attach(my.data) # Create box plots for var1 and var2 using TimePeriod on the x-axis

Re: [R] lapply and boxplots with variable names

2010-06-22 Thread Shawn Morrison
Department of Statistics UC Berkeley spec...@stat.berkeley.edu On Tue, 22 Jun 2010, Shawn Morrison wrote: Hi all, I have a dataset with several variables, each of which is a separate column. For each variable, I want to produce a boxplot and include the name of the

Re: [R] lapply and boxplots with variable names

2010-06-22 Thread Shawn Morrison
}) ## HTH, Josh On Tue, Jun 22, 2010 at 9:45 AM, Shawn Morrison wrote: Hi all, I have a dataset with several variables, each of which is a separate column. For each variable, I want to produce a boxplot and include the name of the variable (ie, column name) on each plot. I have inclu

[R] sample size estimation for count (poisson?) data?

2008-11-12 Thread Shawn Morrison
uous data, but I'm running into roadblocks for count data. Sincerely, Shawn Morrison [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

Re: [R] sample size estimation for count (poisson?) data?

2008-11-13 Thread Shawn Morrison
) > Error: syntax error > > RSiteSearch("\"sample size\" poisson") > A search query has been submitted to http://search.r-project.org > The results page should open in your browser shortly. > > -- > David Winsemius > Heritage Labs > > > On