thej022214 / OUwie

Estimates and compares rate differences of continuous character evolution under Brownian motion and a new set of Ornstein-Uhlenbeck (OU) models that allow the strength of selection and drift to vary across selective regimes.
9 stars 3 forks source link

what does this error mean? "Error in getStateMat4Dat(data, model, dual, collapse) : unused argument (collapse)" #17

Open jamie-thompson opened 1 year ago

jamie-thompson commented 1 year ago

I am receiving an error when running the hOUwie command like this out_1 <- hOUwie(tree, data, 1, "ER", "OUM", nSim = 25, diagn_msg = TRUE, ub_continuous_model = c(1e10, 1e10, 1e10)):

"Error in getStateMat4Dat(data, model, dual, collapse) : unused argument (collapse)"

My data is structured as the example data "tworegime", with species as a factor, the discrete trait and continuous trait. The command getStateMat4Dat" works with this data.