Description Usage Arguments Value
Funció que avalua la calibració i la dicriminació d'un model logístic
1 2 3 4  | 
model | 
 a logistic model (an object of class "glm", usually, a result of a call to glm).  | 
nOutcome | 
 names of the outcome (should be the same than in the original dataset).  | 
calibration | 
 logical. Should be the Hosmer-Lemeshow test for calibration performed? Default is TRUE.  | 
roc | 
 logical. Should be discrimination assessed? Default is TRUE.  | 
g | 
 numerical. Number of groups for the Hosmer-Lemeshow test. Default value is g = 10. Only needed if calibration is TRUE.  | 
cal.plot | 
 logical. Should be the calibration plot obtained? Default is TRUE.  | 
cal.title | 
 string. Title to be included in the calibration plot. Default is NULL (no title is included).  | 
roc.plot | 
 logical. Should be the ROC curve plotted? Default is TRUE.  | 
roc.title | 
 string. Title to be included in the ROC plot. Default is NULL (no title is included).  | 
cal.name | 
 string. Name for the file to save the calibration plot. Should be specified if calibration and cal.plot are TRUE.  | 
roc.name | 
 string. Name for the file to save the ROC plot. Should be specified if roc and roc.plot are TRUE.  | 
save | 
 logical. Should be the plots saved at disk? Default is FALSE.  | 
path | 
 Local directory to save the plots. Default is getwd().  | 
A list with all results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.