search for: probtyp

Displaying 1 result from an estimated 1 matches for "probtyp".

Did you mean: probtype
2002 Sep 14
0
p.s. regarding stripchart missing-data report (PR#2019)
...ie, #pc.had,denial,qs,sf12,stai), file="hrp2.csv",sep=",", row.names=F) qs <- array(qs,c(ns,24,4)) # subjects, items, cancers cancer <- as.vector(qs[,1,]) cancer[cancer>4] <- 4 # correct some js error cancer <- as.factor(cancer) # like "cat" in Systat probtype <- as.factor(as.vector(floor(qs[,2,]/4))) subj <- as.factor(rep(1:ns,4)) # ---- this makes one array where the third argument is the condition # conditions are 1-4=verbal, 5-8=percent, 9-12 fraction # 1-4 are the four cancers, also 5-8 and 9-12 qsall <- array(NA,c(ns,24,12)) for (i in 1...