plot.INPROCreg {npROCRegression}R Documentation

Default INPROCreg plotting

Description

Default INPROCreg plotting (see details)

Usage

## S3 method for class 'INPROCreg'
plot(x, ask = TRUE, ...)

Arguments

x

an object of class INPROCreg as produced by INPROCreg().

ask

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.

Details

The function produces the following plots:

(a)

the estimated regression and variance functions in both the healthy and diseased populations.

(b)

the covariate-specific ROC curve and AUC.

(c)

the covariate-adjusted ROC curve (AROC).

(d)

(optionally) the Youden Index (YI) or the value for which the TPF and the TNF coincides (EQ).

(e)

(optionally) the optimal thresholds based on these criteria (TH).

Author(s)

Maria Xose Rodriguez-Alvarez and Javier Roca-Pardinas

See Also

See Also INPROCreg.

Examples

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)						

[Package npROCRegression version 1.0-7 Index]