[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
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 variable (ie, column name

Re: [R] lapply and boxplots with variable names

2010-06-22 Thread Shawn Morrison
, Shawn Morrison shawn.morri...@dryasresearch.com 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 included a sample dataset

Re: [R] popbio and stochastic lambda calculation

2010-02-19 Thread Shawn Morrison
. 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, 2001) to calculate the CI

[R] popbio and stochastic lambda calculation

2010-02-16 Thread Shawn Morrison
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, but indicates what the vital

[R] popbio and stochastic lambda calculation

2010-02-12 Thread Shawn Morrison
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

[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

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

2008-11-13 Thread Shawn Morrison
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 Nov 12, 2008, at 2:46 PM, Shawn Morrison wrote: Is there a function in R that will allow me