calib_data_frame {MiMIR} | R Documentation |
helper function that creates a data.frame with the Platt Calibrations
calib_data_frame(calibrations, bin_phenotypes, bin_pheno_available)
calibrations |
list result of calibration_surro |
bin_phenotypes |
data.frame with binary phenotypes resulting form binarize_all_pheno |
bin_pheno_available |
string with the names of the binarize clinical variables available in the dataset |
data.frame with the calibrated surrogates