I had this error while executing the testPhenotypeAlgorithm function. This is how my code looks like for this function
phenoResult <- PheValuator::testPhenotypeAlgorithm(connectionDetails = connectionDetails,
cutPoints = c("EV"),
evaluationOutputFileName = "C:/Users/test1/Desktop/DQD/Phevaluator/eval_output.rds",
phenotypeCohortId = 74,
phenotypeText = "T2DM",
modelText = ">= condes",
xSpecCohort = 104,
xSensCohort = 104,
prevalenceCohort = 104,
cdmShortName = "cdm", # i have just given the cdm schema name here
cohortDatabaseSchema = "results",
cohortTable = "cohort",
washoutPeriod = 0)
This is how the error message looks like
and produces a "NULL" file like below but no csv.
Is it due to the dataset again? can't be because I had around 985 cases in XSpec and Noisy Negatives. Hence model was built and everything. There was no warning message which would happen when we have low number cases. So I guess count shouldn't be the problem.
Hi,
I had this error while executing the
testPhenotypeAlgorithm
function. This is how my code looks like for this functionThis is how the error message looks like
and produces a "NULL" file like below but no csv.
Is it due to the dataset again? can't be because I had around 985 cases in XSpec and Noisy Negatives. Hence model was built and everything. There was no warning message which would happen when we have low number cases. So I guess count shouldn't be the problem.
Can help me know what's causing this issue?