PatientLevelPrediction icon indicating copy to clipboard operation
PatientLevelPrediction copied to clipboard

Error in obtaining the PlpData with the getPlpData() function:

Open malihamashkoor123 opened this issue 8 months ago • 7 comments

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:

Capture1

The code that I am using to obtain the plpData is as follow:

image

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:

image

Additionally, on the other hand if I provide the covaraiteSettings in the following way:

image

Then the code is hanging:

image

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:

image

malihamashkoor123 avatar Jun 19 '24 08:06 malihamashkoor123