fpgrid | R Documentation |
Computes the different combinations of p usefull for evaluating two-order fractional polynomials.
fpgrid(p = c(-2, -1, -0.5, 0, 0.5, 1, 2, 3))
p |
a numeric vector with the coefficient to be combined. |
A data.frame with the different combinations of p.
Alessio Crippa, alessio.crippa@ki.se
Royston, Patrick, and Douglas G. Altman. "Regression using fractional polynomials of continuous covariates: parsimonious parametric modelling." Applied Statistics (1994): 429-467.
grd <- fpgrid()
head(grd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.