search for: macalady

Displaying 6 results from an estimated 6 matches for "macalady".

2010 Sep 22
2
speeding up regressions using ddply
...tions. require(pplyr) output<-dddply(xm, .(variable), as.data.frame.function(h)) output I can easily do this using ddply when I only want to use 1 variable in the model, but can't figure out how to do it with two variables. Many thanks for any hints! Ali -------------------- Alison Macalady Ph.D. Candidate University of Arizona School of Geography and Development & Laboratory of Tree Ring Research
2010 Sep 16
1
plotting time series using ggplots
...le site), but I can't figure out how to get ggplot to plot all of the columns as Y data, without specifying each separate timeseries with a distinct +geom_line(aes(y="columnname"). Any suggestions on either problem would be greatly appreciated! ~Ali -------------------- Alison Macalady Ph.D. Candidate University of Arizona School of Geography and Development & Laboratory of Tree Ring Research
2010 Aug 23
2
change order of plot panels in faceted ggplot/qplot
Hi, I have a 5-paneled figure that i made using the facet function in qplot (ggplot). I've managed to arrange the panels into two rows/ three columns, but for the sake of easy visual comparisons between panels in my particular dataset, I want to have the two plots on the bottom align on the right hand side of the figure instead of the left. Here's an example: m <-
2008 Aug 22
2
Combining multiple datasets
Hi, I've tried to figure this out using Intro to R and help(), to no avail - I am new at this. I'm trying to write a script that will read multiple files from a directory and then merge them into a single new data frame. The original data are in a tree-ring specific format, and so I've first used a function (read.rwl) from the dplR package to read each file, translate each into a
2010 Aug 21
2
t.tests on a data.frame using an apply-type function
I have a data.frame with ~250 observations (rows) in each of ~50 categories (columns). I would like to perform t.tests on subsets of observations within each column, with the subsets according to index vectors contained in other columns of the data.frame. My data.frame looks something like this: x<-data.frame(matrix(rnorm(200,mean=5,sd=.5),nrow=20)) colnames(x)<-c("site",
2010 Aug 24
0
mlm for within subject design
...ali at kmhome.org Date: Mon, 23 Aug 2010 13:07:08 -0700 Subject: Re: [R] change order of plot panels in faceted ggplot/qplot This is easy to do in xyplot (latice package) via the index.cond and skip arguments. Don't know about ggplot though. -- Bert On Mon, Aug 23, 2010 at 11:02 AM, Alison Macalady wrote: > Hi, > > I have a 5-paneled figure that i made using the facet function in qplot > (ggplot). I've managed to arrange the panels into two rows/three columns, > but for the sake of easy visual comparisons between panels in my particular > dataset, I want to have the tw...