Displaying 1 result from an estimated 1 matches for "adhdcbin".
2007 Apr 16
1
My First Function: cryptic error message
...,
replace = FALSE)
# now I want a logical vector telling me which sample to put the
# subjects in:
#training_true <- probands$id %in% ids
training <- subset(probands, probands$id %in% ids)
testing <- subset(probands, ! probands$id %in% ids)
# formula for the rpart model
adhdcbin <- factor(probands$adhdcbin, ordered = TRUE,
labels = cbind("Control","ADHD" ))
cbs38s <- as.formula(paste("adhdcbin ~",
paste(names(probands[grep("cbs38_..*",names(probands))]),
collaps...