Generate example data for illustrating subtyper

generateSubtyperData(
  n = 100,
  groupmeansbytime = c(1, 3, 8, 0.95, 3.5, 12, 1.05, 4, 20)
)

Arguments

n

numer of subjects

groupmeansbytime

a 9-vector for each group by time mean for cognition. the cognitive data is simulated from these mean values. Group 3 changes more rapidly, by default.

Value

data frame

Author

Avants BB

Examples


mydf = generateSubtyperData( 5 )