Learn R Programming

mfp2 (version 1.0.0)

print_mfp_step: Function for verbose printing of function selection procedure (FSP)

Description

Function for verbose printing of function selection procedure (FSP)

Usage

print_mfp_step(xi, criterion, fit)

print_mfp_pvalue_step(xi, fit, criterion)

print_mfp_ic_step(xi, fit, criterion)

Arguments

xi

a character string indicating the name of the current variable of interest, for which the best fractional polynomial transformation is to be estimated in the current step.

criterion

a character string defining the criterion used to select variables and FP models of different degrees.

fit

intermediary model fit in mfp_step.

Functions

  • print_mfp_pvalue_step(): Helper for verbose printing based on p-value.

  • print_mfp_ic_step(): Helper for verbose printing based on information criterion.