p-value calculation for each iteration of cross validation.
cv.pval(yvar, censorvar = NULL, trtvar = NULL, data, type = "s")p-value based on response and prediction vector for each iteration.
response variable name.
censor-variable name.
treatment variable name. For prognostic case trtvar=NULL.
dataset containing response and predicted output.
data type - "c" - continuous , "b" - binary, "s" - time to event - default = "c".
p-value calculation for each iteration of cross validation.