Open dnacombo opened 3 years ago
Hi,
Yes I can. There is an unpublished version of the package that solves the problems with the predict method. I will publish it asap, but it stil requires some work to be acceptable on the CRAN. I’m attaching the package to this email, please be sure to load this instead of the one from CRAN. Verify with:
packageVersion("ordinalCont") [1] ‘2.0.5’
For reasons, currently the predict method needs a data frame with the same variables as in the one used in the fit. You will need to add the variable Passage_of_Time to g (pls note, it won’t be used to predict values of the response variable, so you can use any value, eg 50):
g$Passage_of_Time = rep(50,31)
After this, your command works:
em <- predict(m, newdata = g)
Kind regards, Maurizio
On 21 Sep 2021, at 2:03 pm, Maximilien Chaumon @.***> wrote:
em <- predict(m, newdata = g)
Did this fix the issue? If so, can I also have the unpublished version of the package? I am on 2.0.2 right now.
Hi, I haven't published the new version yet. If you contact me privately, I can send a copy to you. My email should be visible on github.
Hi, I'd be happy to use your package but I'm having the following difficulty:
I'm using ocm on a dataset where I try to predict a VAS [0-100] in different sessions. My model is as simple as Passage_of_Time ~ ClockDuration with the following df test.csv
Now
It seems like this is not implemented. Can you help?