Selects an adequate set of points from a data set for obtaining predictions or plots.
Selects an adequate set of points from a data set to be used as a default dataset for obtaining predictions or plots.
Data set from which the new set of covariate values is obtained.
Character vector with the names of the covariates to be included in the new data set.
A character string with the name of the variable in the original data set that distinguishes healthy from diseased individuals.
a data frame containing selected values of all needed covariates. For those that are continuous, 30 different values are selected.
Maria Xose Rodriguez - Alvarez and Javier Roca-Pardinas
1 2 3 4 5 6 7 8 9 10 11 12 13
data(endosim) # Fit a model including the interaction between age and gender. m0 <- DNPROCreg(marker = "bmi", formula.h = "~ gender + s(age) + s(age, by = gender)", formula.ROC = "~ gender + s(age) + s(age, by = gender)", group = "idf_status", tag.healthy = 0, data = endosim, control = list(card.P=50, kbin=30, step.p=0.02), ci.fit = FALSE, test.partial = NULL, newdata = NULL) summary(m0) plot(m0)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.