# \donttest{
# Example usage:
GCM_model <- fitGCM(
data = symptoms,
outvar = paste("sx", seq(from = 0, to = 24, by = 6), sep = "_"),
catvar = FALSE,
idvar = "id",
starting_val = 500,
polynomial = 3,
timescores = seq(from = 0, to = 24, by = 6),
timescores_indiv = FALSE,
output = c("TECH1", "SAMPSTAT", "STANDARDIZED"),
plot = "PLOT3",
save = "FSCORES",
wd = file.path("Results", "Trajectories")
)
# }
Run the code above in your browser using DataLab