Learn R Programming

⚠️There's a newer version (1.9.7) of this package.Take me there.

nlraa: R package for Nonlinear Regression for Agricultural

Applications

Documentation

NOTE: the vignettes (nlraa-Oddi-LFMC and nlraa-AgronJ-paper) that used to be distributed with the package have been moved to the documentation above because of CRAN size limits.

Nonlinear Models (video) - part I

Nonlinear Models (video) - part II

Nonlinear Models (video) - part III

To install

library(remotes)
remotes::install_github("femiguez/nlraa")
library(nlraa)

This package supports the following publications:

  1. Archontoulis, S. V., and F. E. Miguez. 2015. Nonlinear Regression Models and Applications in Agricultural Research. Agron. J. 107:786-798.
    https://doi.org/10.2134/agronj2012.0506

  2. Miguez, F., S. Archontoulis, H. Dokoohaki 2018. Chapter 15: Nonlinear Regression Models and Applications. In: B. Glaz, K. M. Yeater, editors, Applied Statistics in Agricultural, Biological, and Environmental Sciences, ASA, CSSA, and SSSA, Madison, WI. p. 401-448.
    https://doi.org/10.2134/appliedstatistics.2016.0003

  3. Oddi et. al. (2019). A nonlinear mixed-effects modelling approach for ecological data: Using temporal dynamics of vegetation moisture as an example. Ecology and Evolution.
    https://doi.org/10.1002/ece3.5543

Recent publications which cite this package:

8. Topographic effects on soil microclimate and surface cover crop residue decomposition in rolling cropland. Sam J. Leuthold, Dan Quinn, Fernando Miguez, Ole Wendroth, Monsterrat Salmerón, Hanna Poffenbarger. Agriculture, Ecosystems & Environment, Volume 320, 2021. https://doi.org/10.1016/j.agee.2021.107609.

7. Long-term no-till increases soil nitrogen mineralization but does not affect optimal corn nitrogen fertilization practices relative to inversion tillage. Lucas Pecci Canisares, John Grove, Fernando Miguez and Hanna Poffenbarger. Soil and Tillage Research. Volume 213. 2021. 105080. https://doi.org/10.1016/j.still.2021.105080.

6. Rotating maize reduces the risk and rate of nitrate leaching. Heather Randolph Pasley, Nichols Virginia, Michael J Castellano, Matthew J Helmers, Mitchell E Baum, Eileen J Kladivko and Sotirios Archontoulis. 2021. Environmental Research Letters. https://doi.org/10.1088/1748-9326/abef8f

5. Abendroth, L.J., Miguez, F.E., Castellano, M.J., Carter, P.R., Messina, C.D., Dixon, P.M. and Hatfield, J.L. (2021), Lengthening of maize maturity time is not a widespread climate change adaptation strategy in the US Midwest. Glob Change Biol. https://doi.org/10.1111/gcb.15565

4. Interactive effect of glyphosate-based herbicides and organic soil layer thickness on growth and reproduction of the tropical earthworm Pontoscolex corethrurus (Müller, 1857). Garcia-Perez et al. (2020). https://doi.org/10.1016/j.apsoil.2020.103648

3. Cuando la variabilidad varía: Heterocedasticidad y funciones de varianza. Oddi, F. J., Miguez, F. E., Benedetti, G. G., & Garibaldi, L. A. (2020). Ecología Austral; 30; 438-453.

2. Short-term effects of integrated tillage systems and cover crop on agronomic response and soil health in North Central Iowa. Alex Cleveringa. 2020. MS Thesis. Iowa State University.

1. The Effects of Agronomic Management and 40 Years of Variety Release on Soybean Seed Fill and Yield Components. Kathryn Graf. 2018. MS thesis. Purdue University.

Other publications where we have used nonlinear mixed models:

  1. Fernando E. Miguez, María Bonita Villamil, Stephen P. Long, Germán A. Bollero, Meta-analysis of the effects of management factors on Miscanthus × giganteus growth and biomass production, Agricultural and Forest Meteorology, Volume 148, Issues 8–9, 2008, Pages 1280-1292, ISSN 0168-1923,
    https://doi.org/10.1016/j.agrformet.2008.03.010.
    Supporting information:
    http://miguezlab.agron.iastate.edu/OldWebsite/Research/Miscanthus/MetaMiscan.tar.gz

  2. Eichenberger, S., F. Miguez, J. Edwards, and A. Knapp. 2015. Changes in Kernel Filling with Selection for Grain Yield in a Maize Population. Crop Sci. 55:521-526.
    https://doi.org/10.2135/cropsci2014.07.0462

  3. Stein, M., F. Miguez, and J. Edwards. 2016. Effects of Plant Density on Plant Growth before and after Recurrent Selection in Maize. Crop Sci. 56:2882-2894.
    https://doi.org/10.2135/cropsci2015.09.0599

Talks:

2008 ACS meeting.

Slides:
http://miguezlab.agron.iastate.edu/OldWebsite/Research/Talks/ASA_Miguez.pdf

Data and code:
http://miguezlab.agron.iastate.edu/OldWebsite/Research/Talks/Barley.zip

Copy Link

Version

Install

install.packages('nlraa')

Monthly Downloads

698

Version

0.98

License

GPL-3

Maintainer

Fernando Miguez

Last Published

August 18th, 2021

Functions in nlraa (0.98)

SSbell

self start for a bell-shaped curve
SSbgf

self start for Beta Growth Function
SSbg4rp

self start for the reparameterized Beta growth function with four parameters
SSblin

self start for a bilinear Function
SSdlf

self start for Declining Logistic Function
Lob.bt.pe

object for confidence bands vignette Lob.bt.pe
SSbeta5

self start for Beta 5-parameter function
SSexplin

self start for the exponential-linear growth equation
SShill

self start for Hill Function
SSpexpf

self start for plateau-exponential function
SSpquad

self start for plateau-quadratic function
R2M

R-squared for nonlinear mixed models
boot_lm

Bootstrapping for linear models
SSplin

self start for plateau-linear function
fmm1.bt

object for confidence bands vignette fmm1.bt
barley

Barley response to nitrogen fertilizer
fm2.Lob.bt

object for confidence bands vignette fm2.Lob.bt
simulate_lm

boot_nls

Bootstrapping for nonlinear models
SSpquad3

self start for plateau-quadratic function
SSprofd

self start for profile decay function
fm1.P.bt.ft

object for confidence bands vignette fm1.P.bt.ft
SSquadp

self start for quadratic-plateau function
fm1.P.bt

object for confidence bands vignette fm1.P.bt
simulate_lme

fm1.P.at.x.0.4

object for confidence bands vignette fm1.P.at.x.0.4
var_cov

Variance Covariance matrix of for g(n)ls and (n)lme models
SSlinp

self start for linear-plateau function
IA_tab

Indexes of Agreement Table
SSlogis5

self start for five-parameter logistic function
IC_tab

Information Criteria Table
SSbgrp

self start for the reparameterized Beta growth function
SSbgf4

self start for Beta growth function with four parameters
nlraa.env

Environment to store options and data for nlraa
SSmoh

self start for modified hyperbola (photosynthesis)
SSnrh

self start for non-rectangular hyperbola (photosynthesis)
boot_lme

Bootstraping for linear mixed models
boot_nlme

Bootstraping for generalized nonlinear models and nonlinear mixed models
predict_gam

Modified prediciton function based on predict.gam
nlsLMList

Create a list of nls objects with the option of using nlsLM in addition to nls
simulate_nlme

Simulate samples from a nonlinear mixed model from fixed effects
predict_nlme

Average predictions from several (non)linear models based on IC weights
simulate_nlme_one

SStemp3

self start for Collatz temperature response
SSsharp

self start for temperature response
SSricker

self start for Ricker Function
lfmc

Live fuel moisture content
SStrlin

self start for a trilinear Function
predict_nls

Average predictions from several (non)linear models based on IC weights
SSexpf

self start for an exponential function
simulate_gam

simulate_nls

maizeleafext

Maize leaf extension rate as a response to temperature
swpg

Water limitations for Soybean growth
summary_simulate

Summarize a matrix of simulations by their mean (median), sd (mad), and quantiles
sm

Sorghum and Maize growth in Greece
SSexpfp

self start for an exponential-plateau function
SSratio

self start for a rational curve
SSquadp3

self start for quadratic-plateau function
nlsLMList.formula

Formula method for nls 'LM' list method
predict2_nls

Prediction Bands for Nonlinear Regression
simulate_gnls

simulate_gls