calibration_surro
helper function that calculates the Platt Calibrations for all the surrogates
calibration_surro( bin_phenotypes, surrogates, bin_names, bin_pheno_available, pl = FALSE, nbins = 10 )
bin_phenotypes
: data.frame with binary phenotypes resulting form binarize_all_phenosurrogates
: data.frame with surrogates resulting from calculate_surrogate_scoresbin_names
: string with the names of the binarize clinical variablesbin_pheno_available
: string with the names of the binarize clinical variables available in the datasetpl
: TRUE/FALSE. If TRUE creates the calibration plotsnbins
: number of bins for the plotslist with the calibrated surrogates
plattCalibration
Useful links