Displaying 3 results from an estimated 3 matches for "mckibben".
2009 Sep 26
1
renaming intercept column when retrieving coeficients from lme using coef function
...umn?
toy<-data.frame(ID=c(1,1,1,2,2,2,3,3,3,4,4,4), x=rnorm(12), y=rnorm(12))
> model.toy<-lme(y~1, random=~1|ID, data=toy)
> coef.y<-("ind.y"=coef(model.toy))
> coef.y
(Intercept)
1 0.52065015
2 0.04066776
3 0.29793571
4 0.11213693
Thanks,
Eric McKibben
Doctoral Candidate
I-O Psychology
Clemson University
[[alternative HTML version deleted]]
2009 May 19
2
Using while statements to insert rows in a dataframe
...141 -1
2008 2 7 194556 6 25 264 19
2008 2 7 194556 6 26 380 17
2008 2 7 194556 6 27 240 21
2008 2 7 194556 6 28 127 -1
2008 2 7 194556 6 29 232 92
2008 2 7 194556 6 30 205 95
2008 2 7 194556 6 31 185 96
2008 2 7 194556 6 32 319 61
2008 2 7 194556 6 33 101 -1
2008 2 8 143056 6 -32767 0 NA
Eric S McKibben
Industrial-Organizational Psychology Graduate Student
Clemson University
Clemson, SC
[[alternative HTML version deleted]]
2009 May 18
1
error in importing text files
...e column into 4 separate columns (year, month, day, time). Finally, I would like the code to stack the 32 responses during each measurement occasion so that I have 32 columns of reponses plus columns for year, month, day, and latency, but leave each measurment occasion unstacked.
Thanks!
Eric S McKibben
Industrial-Organizational Psychology Graduate Student
Clemson University
Clemson, SC
[[alternative HTML version deleted]]