View source: R/get_what-methods.R
| get_what.logreg_screenr | R Documentation | 
logreg_screenr Objectsget_what.logreg_screenr extracts components from logreg_screenr-class
objects.
## S3 method for class 'logreg_screenr'
get_what(
  from = NULL,
  what = c("ModelFit", "ROCci", "cvROC", "isROC"),
  ...,
  conf_level = 0.95,
  bootreps = 4000,
  se_min = 0.8
)
from | 
 the   | 
what | 
 the (character) name of the component to extract. Valid values are
  | 
... | 
 optional arguments to   | 
conf_level | 
 (optional) confidence level for   | 
bootreps | 
 the number of bootstrap replications for estimation of
confidence intervals for   | 
se_min | 
 minimum value of sensitivity printed for
  | 
get_what is provided to enable easy extraction of components for those
who wish to perform computations that are not provided by the coef,
plot, predict, print or summary methods.
The following values of what return:
"ModelFit"the entire glm-class object produced by
by glm.
ROCcia data frame containing cross-validated sensitivities, specificities and their confidence limits, and thresholds.
"cvROC"the roc-class object produced by roc
containing the k-fold cross-validated receiver-operating characteristic.
"isROC"the roc-class object produced by roc
containing the in-sample (overly optimistic) receiver-operating characteristic.
get_what.logreg_screenr returns (invisibly) the object specified
by what.
## Not run: 
attach(uniobj2)
## Get and print cross-validated sensitivities and specificities at
##   thresholds for the local maxima of the ROC curve
myROCci <- get_what(from = uniobj2, what = "ROCci")
print(myROCci)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.