PatientLevelPrediction
PatientLevelPrediction copied to clipboard
Error in obtaining the PlpData with the getPlpData() function:
I am trying to obtain the cohort covariates with the createCohortCovariateSettings() function from the PatientLevelPrediction package. However, I am running into the following error when I execute the getPlpData() function:
The code that I am using to obtain the plpData is as follow:
I am supplying the covaraiteSettings as a list of default covariates and cohort covariates obtained by the functions createCovariateSettings() and createCohortCovariateSettings(), in the following way:
Additionally, on the other hand if I provide the covaraiteSettings in the following way:
Then the code is hanging:
Can you pls let me know how can I resolve the above errors and how should I provide the covaraiteSettings object so that I am able to execute my code and obtain the PlpData object?
My session info is as follow: