Hello.
I am now conducting research using [PatientLevelPrediction] package.
I made my prediction model, and to externally validate the model, I am following the instructions of “Book of ohdsi”, which I attatched above.
As written in the book, I loaded my plpmodel, plpdata, and create new study population, but the “applyModel” function is no longer available in patientLevelPrediction package.
Can anyone can tell me which function I have to use to externally validate my model?
Hi,
For the first error (‘ckeckInClass’) you have to load this function prior to executing externalValidateDbPlp. This function is in the PatientLevelPrediction package, however, it seems that is not exported through the package. I think it will work normally after sourcing this script.