calculate_df | R Documentation |
To be used in fit_mfp()
.
calculate_df(p)
p |
power of a variable. |
An example calculation: if p is the power(s) and p = c(1,2), then df = 4 but if x = NA then df = 0.
returns numeric value denoting the number of degrees of freedom (df).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.