fpgrid: Grid with combinations of p for two-order fractional...

Description Usage Arguments Value Author(s) References Examples

Description

Computes the different combinations of p usefull for evaluating two-order fractional polynomials.

Usage

1
fpgrid(p = c(-2, -1, -0.5, 0, 0.5, 1, 2, 3))

Arguments

p

a numeric vector with the coefficient to be combined.

Value

A data.frame with the different combinations of p.

Author(s)

Alessio Crippa, alessio.crippa@ki.se

References

Royston, Patrick, and Douglas G. Altman. "Regression using fractional polynomials of continuous covariates: parsimonious parametric modelling." Applied Statistics (1994): 429-467.

Examples

1
2
grd <- fpgrid()
head(grd)

dosresmeta documentation built on May 2, 2019, 6:30 a.m.