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

A method for obtaining 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.


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.

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")

News

This file documents software changes since the previous edition.

npregfast 1.0.1 (2015-11-16)

  • the srand function of the fortran code has been deleted. Now it call the R one.

npregfast 1.2.0 (2016-02-10)

  • the random numbers generation (for the bootstrap) has been changed reducing the computational time.
  • the plots are now obtained by means of the ggplot2.

npregfast 1.2.1 (2016-02-16)

  • corrected bug at globaltest function (random numbers problem)

npregfast 1.3.0 (2016-04-29)

  • the argument smooth has been incorporated to the functions. Users can select now the type of smoother: kernel (by default) or splines.

npregfast 1.4.0 (2016-11-18)

  • the plotting functions have been changed. Users can choose between the plot.frfast function, used for base graphics, and the autoplot.frfast function, which is appropriate for ggplot2-type plot and returns objects of the ggplot class.
  • we have merged the plottdiff function of the previous version of the package with plot.frfast and with autoplot.frfast by means of the new argument diffwith. This new argument lets users visualize the differences between two factor’s levels.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("npregfast")

1.5.0 by Marta Sestelo, a month ago


Report a bug at http://github.com/sestelo/npregfast/issues


Browse source code at https://github.com/cran/npregfast


Authors: Marta Sestelo [aut, cre], Nora M. Villanueva [aut], Javier Roca-Pardinas [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports graphics, stats, utils, shiny, doParallel, foreach, mgcv, sfsmisc, shinyjs, wesanderson, ggplot2

Suggests gridExtra


See at CRAN