Displaying 1 result from an estimated 1 matches for "t1frq".
Did you mean:
t1freq
2006 Jun 18
1
how to successfully remove missing values for a repeated measures analysis
...outlined below (#). Any assistance
is appreciated in relation to how to remove the missing values so the
analysis is run. Feedback regarding the prior steps is also welcomed .
Bob Green
#Step 1
study1dat <- read.csv("c:\\study1.csv",header=T)
attach (study1dat)
outcome <- c(t1frq, t2frq,t3frq,t4frq)
grp <- factor( rep(group, 2,length=368) )
time <- gl(4,92,length=368)
subject <- gl(92,1,length=368)
data.frame(subject, grp, time, outcome)
# there are 3 missing values in $outcome
#Step 2 - create a new data frame removing missing values from variable
$outcome
d...