Default INPROCreg plotting (see details)
## S3 method for class 'INPROCreg' plot(x, ask = TRUE, ...)
an object of class
a logical value. If TRUE, the default, the user is asked for confirmation, before a new figure is drawn.
further arguments passed to or from other methods.
The function produces the following plots:
the estimated regression and variance functions in both the healthy and diseased populations.
the covariate-specific ROC curve and AUC.
the covariate-adjusted ROC curve (AROC).
(optionally) the Youden Index (YI) or the value for which the TPF and the TNF coincides (EQ).
(optionally) the optimal thresholds based on these criteria (TH).
Maria Xose Rodriguez-Alvarez and Javier Roca-Pardinas
data(endosim) # Evaluate the effect of age on the accuracy of the body mass index for males m0.men <- INPROCreg(marker = "bmi", covariate = "age", group = "idf_status", tag.healthy = 0, data = subset(endosim, gender == "Men"), ci.fit = FALSE, test = FALSE, accuracy = c("EQ","TH"), accuracy.cal="AROC", control=controlINPROCreg(p=1,kbin=30,step.p=0.01), newdata = data.frame(age = seq(18,85,l=50))) summary(m0.men) plot(m0.men)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.