pred_correction_core: Core prediction correction function

View source: R/calc_pred_corr_continuous.R

pred_correction_coreR Documentation

Core prediction correction function

Description

Perform pred-correction for predictions that were non-zero and were not missing observation. The latter can happen e.g. when censored data is set to NA in 'format_vpc_input_data()'.

Usage

pred_correction_core(data, pred_col, pred_corr_lower_bnd)

Arguments

data

dataset, either 'sim' or 'obs' data.frame

pred_col

cols$obs$pred

pred_corr_lower_bnd

lower bound for the prediction-correction

Value

data.frame


ronkeizer/vpc documentation built on May 11, 2023, 11:09 p.m.