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
)
list with the calibrated surrogates
data.frame with binary phenotypes resulting form binarize_all_pheno
data.frame with surrogates resulting from calculate_surrogate_scores
string with the names of the binarize clinical variables
string with the names of the binarize clinical variables available in the dataset
TRUE/FALSE. If TRUE creates the calibration plots
number of bins for the plots
plattCalibration