Learn R Programming

npregfast: Nonparametric Estimation of Regression Models with Factor-by-Curve Interactions

npregfast is an R package for obtain nonparametric estimates of regression models with or without factor-by-curve interactions using local polynomial kernel smoothers or splines. Additionally, a parametric model (allometric model) can be estimated. Particular features of the package are facilities for fast smoothness estimation, and the calculation of their first and second derivative. Users can define the smoothers parameters. Confidence intervals calculation is provided by bootstrap methods. Binning techniques were applied to speed up computation in the estimation and testing processes.

You can view a live interactive demo to see part of its capabilities at http://sestelo.shinyapps.io/npregfast.

Installation

npregfast is available through both CRAN and GitHub.

Get the released version from CRAN:

install.packages("npregfast")

Or the development version from GitHub:

# install.packages("devtools")
devtools::install_github("sestelo/npregfast")

Copy Link

Version

Install

install.packages('npregfast')

Monthly Downloads

262

Version

1.5.2

License

MIT + file LICENSE

Maintainer

Marta Sestelo

Last Published

September 2nd, 2022

Functions in npregfast (1.5.2)

autoplot.frfast

Visualization of frfast objects with ggplot2 graphics
localtest

Testing the equality of critical points
barnacle

Barnacle dataset.
frfast

Fitting nonparametric models
critical

Critical points of the regression function
globaltest

Testing the equality of the M curves specific to each level
allotest

Bootstrap based test for testing an allometric model
children

Children dataset.
plot.frfast

Visualization of frfast objects with the base graphics
criticaldiff

Differences between the critical points for two factor's levels
summary.frfast

Summarizing fits of frfast class
runExample

Run npregfast example
reexports

Objects exported from other packages
predict.frfast

Prediction from fitted frfast model