-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hello everyone,
Just wanted to follow up on our recent meeting. I would like to try organizing our models in consistent way and was hoping you could assist me by providing the model object that you have produced. For example, when you used msm() call to estimate the model you probably use the code similar to the following:
model <- msm(state~age, subject=id, data=data, center=FALSE,
qmatrix=Q, death=TRUE, covariates=~age+ybirth,
censor= -2, censor.states=c(1,2), method="BFGS",
control=list(trace=1, REPORT=1, maxit=1000, fnscale=100000))
This call creates an object called "model" in your RStudio environment. To save this object to hard drive pleas use:
saveRDS(model, "./msm-model-STUDY.rds")
that would save the object into your root directory. Please replace the string "STUDY" by the name of your study (no blanks). After it is saved, please upload it to (link to follow)