summary.frfast: Summarizing fits of 'frfast' class

Description Usage Arguments Details Value Author(s) References Examples

View source: R/summary.frfast.R

Description

Takes a fitted frfast object produced by frfast() and produces various useful summaries from it.

Usage

1
2
## S3 method for class 'frfast'
summary(object = model, ...)

Arguments

object

a fitted frfast object as produced by frfast().

...

additional arguments affecting the predictions produced.

Details

print.frfast tries to be smart about summary.frfast.

Value

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 model = "allo", coefficients of the model.

Author(s)

Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.

References

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.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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)


npregfast documentation built on May 19, 2017, 10:25 a.m.
Search within the npregfast package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.