[R] Confirmatory Factor Analysis

2013-04-09 Thread Laura Thomas
appreciated. Many Thanks, Laura Laura Thomas PhD Student- Sport and Exercise Psychology Department of Sport and Exercise Penglais Campus Aberystywth University Aberystwyth 01970621947 l...@aber.ac.uk www.aber.ac.uk/en/sport-exercise/ __ R-help@r

[R] Confirmatory Factor Analysis

2013-04-09 Thread Laura Thomas
Thanks, Laura Laura Thomas PhD Student- Sport and Exercise Psychology Department of Sport and Exercise Penglais Campus Aberystywth University Aberystwyth 01970621947 l...@aber.ac.uk www.aber.ac.uk/en/sport-exercise/ __ R-help@r-project.org mailing

[R] Path Diagram

2013-04-16 Thread Laura Thomas
mp1"]; "SMP" -> "item4" [label="smp2"]; "SMP" -> "item6" [label="smp3"]; "SMP" -> "item8" [label="smp4"]; "SMP" -> "item10" [label="smp5"]; "SMP"

[R] Calculating Mean

2013-06-03 Thread Laura Thomas
Hi All, Sorry about this quite basic, but I am very new to R. I have a data file which has a dependent variable (reaction time) and a couple of independent variables, one of which is coded 1-8; I want to calculate the reaction time for each of the 8 codes of the independent variable. Thanks fo

Re: [R] Calculating Mean

2013-06-03 Thread Laura Thomas
is an example using ?aggregate, with fake data. > > > dat <- data.frame(X = rnorm(100), A = sample(8, 100, TRUE)) > > aggregate(X ~ A, data = dat, FUN = mean) > > > Hope this helps, > > Rui Barradas > > Em 03-06-2013 10:15, Laura Thomas escreveu: &g

[R] Exporting aggregate summary

2014-01-28 Thread Laura Thomas
Hi All, I am trying to manipulate my data in R. I have used the following code [aggregate(latency~participant+condition+state, data=data, FUN=mean)] which produces a summary of the variable I am interested in. However, I need to export the crated variable into excel. Can anyone help with this p

[R] Multilevel Modelling

2014-03-27 Thread Laura Thomas
Hi All, I am using R for the purpose of multilevel modelling for the first time. I am trying to examine individuals interpersonal changes in the dependent variable over time and how this varies between groups. I am using the following code: treat.lme1<-lme(DependentVariable~Treatment*I(Time-1),