## S3 method for class 'roc':
lines(x, ...)
## S3 method for class 'smooth.roc':
lines(x, ...)
## S3 method for class 'roc':
lines.roc(x, lwd=2, ...)
## S3 method for class 'formula':
lines.roc(x, data, ...)
## S3 method for class 'default':
lines.roc(x, predictor, ...)
## S3 method for class 'smooth.roc':
lines.roc(x, ...)
par
).lines
, and
especially type
(see plot.default
) and
arguments for par
roc
for more details.roc
, plot.roc
data(aSAH)
rocobj <- plot.roc(aSAH$outcome, aSAH$s100b, type="n")
lines(rocobj, type="b", pch=21, col="blue", bg="grey")
# Without using 'lines':
rocobj <- plot.roc(aSAH$outcome, aSAH$s100b, type="b", pch=21, col="blue", bg="grey")
Run the code above in your browser using DataLab