View source: R/summary.frfast.R
summary.frfast | R Documentation |
frfast
classTakes a fitted frfast
object produced by frfast()
and produces various useful summaries from it.
## S3 method for class 'frfast' summary(object = model, ...)
object |
a fitted |
... |
additional arguments affecting the predictions produced. |
print.frfast
tries to be smart about summary.frfast
.
summary.frfast
computes and returns a list of summary
information for a fitted frfast
object.
model |
type of model: nonparametric or allometric. |
smooth |
type of smoother: kernel or splines. |
h |
the kernel bandwidth smoothing parameter. |
dp |
degree of the polynomial. |
nboot |
number of bootstrap repeats. |
kbin |
number of binning nodes over which the function is to be estimated. |
n |
sample size. |
fmod |
factor's levels. |
coef |
if |
Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.
Sestelo, M. (2013). Development and computational implementation of estimation and inference methods in flexible regression models. Applications in Biology, Engineering and Environment. PhD Thesis, Department of Statistics and O.R. University of Vigo.
Sestelo, M., Villanueva, N.M., Meira-Machado, L., Roca-Pardinas, J. (2017). npregfast: An R Package for Nonparametric Estimation and Inference in Life Sciences. Journal of Statistical Software, 82(12), 1-27.
library(npregfast) data(barnacle) # Nonparametric regression without interactions fit <- frfast(DW ~ RC, data = barnacle, nboot = 100) fit summary(fit) # Nonparametric regression with interactions fit2 <- frfast(DW ~ RC : F, data = barnacle, nboot = 100) fit2 summary(fit2) # Allometric model fit3 <- frfast(DW ~ RC, data = barnacle, model = "allo", nboot = 100) fit3 summary(fit3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.