search for: robgriffin247

Displaying 10 results from an estimated 10 matches for "robgriffin247".

2012 May 04
1
ANOVA problem
...00*G's, 2*S's, 40*L's, and 2*R's so hand writing an ANOVA for each G is not preferred... Here is a twitter link to a crudely drawn illustration of the aim illustrated (using 3 Ls) in case I have confused you with words (through my own poor understanding): https://twitter.com/#!/robgriffin247/status/198446041316593666/photo/1/large https://twitter.com/#!/robgriffin247/status/198446041316593666/photo/1/large Thanks in advance for your time, Rob (please save my weekend...) -- View this message in context: http://r.789695.n4.nabble.com/ANOVA-problem-tp4609062.html Sent from the R help ma...
2011 Dec 02
1
Graphics - Axis Labels overlap window edges
Hi, I am trying to put larger axis labels on my graphs (using cex.axis and cex.label) but when I do this the top of the text on the Y axis goes outside of the window which you can see in this picture -http://twitter.com/#!/robgriffin247/status/142642881436450816/photo/1 - (if you click on the picture it opens a larger version so it is easier to see the problem) is there anyway I can get R to not cut the top off the letters? Thanks, Rob -- View this message in context: http://r.789695.n4.nabble.com/Graphics-Axis-Labels-overlap-wi...
2011 Oct 26
2
New column of data filled with the larger value from 2 columns
Hi, I'm sure there is a pretty simple answer to this but I have had my head buried in the R book and on help pages for a while now and I've not made any progress. In simple terms: I have 2 columns of data, column A and column B. I want to create a new column (C) and fill it with the largest value from of A or B on each row. So I want C to contain A if B>A and C to contain B if
2011 Nov 15
1
averaging between rows with repeated data
*The situation (or an example at least!)* example<-data.frame(rep(letters[1:10])) colnames(example)[1]<-("Letters") example$numb1<-rnorm(10,1,1) example$numb2<-rnorm(10,1,1) example$numb3<-rnorm(10,1,1)
2012 Apr 16
2
Survival Curves
Hello I'm trying to make survival curves for some longevity data - 100 males and 100 females, some of which are still living (not dead at the end of survey) I would like to make sex specific survival curves as time on the X axis, proportion alive on the Y, and a line for each sex (two lines) Data looks like this: Focal DOB DOD Longevity Sex 1 89-04-20 na
2011 Nov 16
3
create list of names where two df contain == values
Hello again... sorry to be posting yet again, but I hadn't anticipated this problem. I am trying to now put the names found in one column in data frame 1 (lets call it df.1[,1]) in to a list from the rows where the values in df.1[,2] match values in a column of another dataframe (df.2[3]) I tried to write this function so that it put the list of names (called Iffy) where the 2 criteria
2012 Aug 07
1
Save & reload list objects
Hi, I think this is probably (& hopefully) very easy but I the ideas I have tried don't work. Simply, I have 2 very large lists in my workspace which take an awfully long time to make, each containing the information from 12500+ lmer models. I would like to now save these lists as files (txt, csv... whatever suits best) on to my computer/usb. Then I would like to be able to reload them in
2012 Jul 18
3
Mean of matched data
Hi I think/hope there will be a simple solution to this but google-ing has provided no answers (probably not using the right words) I have a long data frame of >2 000 000 rows, and 6 columns. Across this there are 24 000 combinations of gene in a column (n=12000) and gender in a column (n=2... obviously). I want to create 2 new columns in the data frame that on each row gives, in one column
2011 Nov 14
1
correlations between columns for each row
Hello fellow R-users, I’ve been mulling this problem over for some time now and have decided it is something I have to deal with but can’t, so here goes: I have a dataset (called maindata, it is 271 columns *13890 rows so I wont post the entire thing here, I’ll just explain the situation!) I am trying to calculate inter-environment correlation (rF = cov A,B / sq.root(varA * varB ) for each row
2012 May 14
1
Extract Variance Components
Hi, I'm still having problems putting the variance components of my model in to a data frame, it is a continuation of this discussion, http://r.789695.n4.nabble.com/ANOVA-problem-td4609062.html, but now focussed on the problem of extracting variance components. I have got my mixed effects model now /narrow$line<-as.factor(narrow$line) rg.lmer <- lapply(split(narrow,