Closed Fabiola-Eto closed 4 months ago
@Fabiola-Eto (apologies for delay in responding to this) were you able to find the solution to your problem? If not, could you please try to prepare a minimal reproducible example ? Thanks!
Will close this issue since no reproducible example given, but please do re-open if you run into something similar again.
I'm running a
mstate
model with a 17-by-17 transition matrix. The matrix makes sense and the numbers of events (frequencies and percentages) are correct. I ran themsprep()
function smoothly as well. The issue I get stuck with is when I try to run the functionexpand.covs()
. This error message pops out:I checked that my data is an object of class
msdata
as required. The covariates have no missing data, and their length is the same length as themstata
object. I tried different types of covariates (integer, numeric, factor), but the error message persisted regardless. I couldn't find a similar error for users of themstate
package, nor could find a possible explanation in the vignette.I appreciate it if you could help me find the cause of the error. Thanks.