Learn R Programming

glmBfp (version 0.0-60)

bfp: Mark a covariate for transformation with fractional polynomials

Description

Using this function, you can mark a covariate for transformation with fractional polynomials in the formula for glmBayesMfp.

Using this function, you can mark a covariate or a group of combined covariates for joint variable selection (“uncertain covariate fixed form covariate groups”) in the formula for glmBayesMfp.

Usage

bfp(x, max = 2, scale = TRUE, rangeVals = NULL)

uc(x)

Arguments

x

the covariate name

max

maximum degree for this FP

scale

use pre-transformation shifting and scaling to avoid numerical problems?

rangeVals

extra numbers if the shifting and scaling should consider values in this range

Value

name of the provided covariate, with the other function parameters as attached attributes

Just the name of the provided covariate