Package: nlme 3.1-166

R Core Team

nlme: Linear and Nonlinear Mixed Effects Models

Fit and compare Gaussian linear and nonlinear mixed-effects models.

Authors:José Pinheiro [aut], Douglas Bates [aut], Saikat DebRoy [ctb], Deepayan Sarkar [ctb], EISPACK authors [ctb], Siem Heisterkamp [ctb], Bert Van Willigen [ctb], Johannes Ranke [ctb], R Core Team [aut, cre]

nlme_3.1-166.tar.gz
nlme_3.1-166.tar.gz(r-4.5-noble)nlme_3.1-166.tar.gz(r-4.4-noble)
nlme_3.1-166.tgz(r-4.4-emscripten)nlme_3.1-166.tgz(r-4.3-emscripten)
nlme.pdf |nlme.html
nlme/json (API)

# Install 'nlme' in R:
install.packages('nlme', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • Alfalfa - Split-Plot Experiment on Varieties of Alfalfa
  • Assay - Bioassay on Cell Culture Plate
  • BodyWeight - Rat weight over time for different diets
  • Cefamandole - Pharmacokinetics of Cefamandole
  • Dialyzer - High-Flux Hemodialyzer
  • Earthquake - Earthquake Intensity
  • Fatigue - Cracks caused by metal fatigue
  • Gasoline - Refinery yield of gasoline
  • Glucose - Glucose levels over time
  • Glucose2 - Glucose Levels Following Alcohol Ingestion
  • Gun - Methods for firing naval guns
  • IGF - Radioimmunoassay of IGF-I Protein
  • Machines - Productivity Scores for Machines and Workers
  • MathAchSchool - School demographic data for MathAchieve
  • MathAchieve - Mathematics achievement scores
  • Meat - Tenderness of meat
  • Milk - Protein content of cows' milk
  • Muscle - Contraction of heart muscle sections
  • Nitrendipene - Assay of nitrendipene
  • Oats - Split-plot Experiment on Varieties of Oats
  • Orthodont - Growth curve data on an orthdontic measurement
  • Ovary - Counts of Ovarian Follicles
  • Oxboys - Heights of Boys in Oxford
  • Oxide - Variability in Semiconductor Manufacturing
  • PBG - Effect of Phenylbiguanide on Blood Pressure
  • Phenobarb - Phenobarbitol Kinetics
  • Pixel - X-ray pixel intensities over time
  • Quinidine - Quinidine Kinetics
  • Rail - Evaluation of Stress in Railway Rails
  • RatPupWeight - The weight of rat pups
  • Relaxin - Assay for Relaxin
  • Remifentanil - Pharmacokinetics of Remifentanil
  • Soybean - Growth of soybean plants
  • Spruce - Growth of Spruce Trees
  • Tetracycline1 - Pharmacokinetics of tetracycline
  • Tetracycline2 - Pharmacokinetics of tetracycline
  • Wafer - Modeling of Analog MOS Circuits
  • Wheat - Yields by growing conditions
  • Wheat2 - Wheat Yield Trials
  • bdf - Language scores
  • ergoStool - Ergometrics experiment with stool types

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

fortran

12.58 score 6 stars 8.6k packages 12k scripts 100k downloads 3.3k mentions 109 exports 1 dependencies

Last updated 4 months agofrom:7b81c1d842. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 19 2024
R-4.5-linux-x86_64OKDec 19 2024

Exports:ACFallCoefanova.lmeasOneFormulaasTableaugPredbalancedGroupedcoef<-coefficients<-collapsecompareFitscomparePredcorAR1corARMAcorCAR1corCompSymmcorExpcorFactorcorGauscorIdentcorLincorMatrixcorNaturalcorRatiocorSpatialcorSphercorSymmcovariate<-DimfdHessfixed.effectsfixefgapplygetCovariategetCovariateFormulagetDatagetGroupsgetGroupsFormulagetResponsegetResponseFormulagetVarCovglsglsApVarglsControlglsEstimateglsStructgnlsgnlsControlgnlsStructgroupedDatagsummaryInitializeintervalsisBalancedisInitializedLDEsysMatlmelme.formulalme.lmListlmeControllmeStructlmListlmList.formulalogDetmatrix<-NamesNames<-needUpdatenfGroupedDatanlmenlme.formulanlme.nlsListnlmeControlnlmeStructnlsListnlsList.formulanmGroupedDatapdBlockedpdCompSymmpdConstructpdDiagpdFactorpdIdentpdLogCholpdMatpdMatrixpdNaturalpdSymmphenoModelplot.lmepooledSDquinModelrandom.effectsranefrecalcreStructsimulate.lmesplitFormulavarCombvarConstPowervarConstPropVarCorrvarExpvarFixedvarFuncvarIdentVariogramvarPowervarWeights

Dependencies:lattice

Readme and manuals

Help Manual

Help pageTopics
Subscript a pdMat Object[.pdBlocked [.pdMat [<-.pdMat
Autocorrelation FunctionACF
Autocorrelation Function for gls ResidualsACF.gls
Autocorrelation Function for lme ResidualsACF.lme
Split-Plot Experiment on Varieties of AlfalfaAlfalfa
Extract Coefficients from a Set of ObjectsallCoef
Compare Likelihoods of Fitted Objectsanova.gls
Compare Likelihoods of Fitted Objectsanova.lme print.anova.lme
Matrix of a corStruct Objectas.matrix.corStruct
Matrix of a pdMat Objectas.matrix.pdMat
Matrices of an reStruct Objectas.matrix.reStruct
Combine Formulas of a Set of ObjectsasOneFormula
Bioassay on Cell Culture PlateAssay
Convert groupedData to a matrixasTable asTable.groupedData
Augmented PredictionsaugPred augPred.gls augPred.lme augPred.lmList
Create a groupedData object from a matrixbalancedGrouped
Language scoresbdf
Rat weight over time for different dietsBodyWeight
Pharmacokinetics of CefamandoleCefamandole
Assign Values to Coefficientscoef<- coefficients<-
Coefficients of a corStruct Objectcoef.corAR1 coef.corARMAd coef.corCAR1 coef.corCompSymm coef.corHF coef.corLin coef.corNatural coef.corSpatial coef.corSpher coef.corStruct coef.corSymm coef.summary.nlsList coef<-.corAR1 coef<-.corARMA coef<-.corCAR1 coef<-.corCompSymm coef<-.corHF coef<-.corLin coef<-.corNatural coef<-.corSpatial coef<-.corSpher coef<-.corStruct coef<-.corSymm
Extract gnls Coefficientscoef.gnls
Extract lme Coefficientscoef.lme
Extract lmList Coefficientscoef.lmList
Extract modelStruct Object Coefficientscoef.modelStruct coef<-.modelStruct
pdMat Object Coefficientscoef.pdBlocked coef.pdCompSymm coef.pdDiag coef.pdIdent coef.pdMat coef.pdNatural coef.pdSymm coef<-.pdBlocked coef<-.pdMat
reStruct Object Coefficientscoef.reStruct coef<-.reStruct
varFunc Object Coefficientscoef.varComb coef.varConstPower coef.varConstProp coef.varExp coef.varFixed coef.varFunc coef.varIdent coef.varPower coef<-.varComb coef<-.varConstPower coef<-.varConstProp coef<-.varExp coef<-.varFixed coef<-.varIdent coef<-.varPower
Collapse According to Groupscollapse
Collapse a groupedData Objectcollapse.groupedData
Compare Fitted ObjectscompareFits print.compareFits
Compare PredictionscomparePred comparePred.gls comparePred.lme comparePred.lmList
AR(1) Correlation StructurecorAR1
ARMA(p,q) Correlation Structurecoef.corARMA corARMA
Continuous AR(1) Correlation StructurecorCAR1
Correlation Structure ClassescorClasses corStruct
Compound Symmetry Correlation StructurecorCompSymm
Exponential Correlation StructurecorExp
Factor of a Correlation MatrixcorFactor
Factor of a corStruct Object MatrixcorFactor.corAR1 corFactor.corARMA corFactor.corCAR1 corFactor.corCompSymm corFactor.corNatural corFactor.corSpatial corFactor.corStruct corFactor.corSymm
Gaussian Correlation StructurecorGaus
Linear Correlation StructurecorLin
Extract Correlation MatrixcorMatrix
Matrix of a corStruct ObjectcorMatrix.corAR1 corMatrix.corARMA corMatrix.corCAR1 corMatrix.corCompSymm corMatrix.corNatural corMatrix.corSpatial corMatrix.corStruct corMatrix.corSymm
Extract Correlation Matrix from a pdMat ObjectcorMatrix.pdBlocked corMatrix.pdCompSymm corMatrix.pdDiag corMatrix.pdIdent corMatrix.pdMat corMatrix.pdSymm
Extract Correlation Matrix from Components of an reStruct ObjectcorMatrix.reStruct
General correlation in natural parameterizationcorNatural print.corNatural
Rational Quadratic Correlation StructurecorRatio
Spatial Correlation StructurecorSpatial
Spherical Correlation StructurecorSpher
General Correlation StructurecorSymm
Assign Covariate Valuescovariate<-
Assign varFunc Covariatecovariate<-.varFunc
High-Flux HemodialyzerDialyzer
Extract Dimensions from an ObjectDim Dim.default
Dimensions of a corSpatial ObjectDim.corSpatial
Dimensions of a corStruct ObjectDim.corStruct
Dimensions of a pdMat ObjectDim.pdCompSymm Dim.pdDiag Dim.pdIdent Dim.pdMat Dim.pdNatural Dim.pdSymm
Earthquake IntensityEarthquake
Ergometrics experiment with stool typesergoStool
Cracks caused by metal fatigueFatigue
Finite difference HessianfdHess
Calculate glsStruct Fitted Valuesfitted.glsStruct
Calculate gnlsStruct Fitted Valuesfitted.gnlsStruct
Extract lme Fitted Valuesfitted.lme
Calculate lmeStruct Fitted Valuesfitted.lmeStruct
Extract lmList Fitted Valuesfitted.lmList
Calculate nlmeStruct Fitted Valuesfitted.nlmeStruct
Extract Fixed Effectsfixed.effects fixef
Extract lmList Fixed Effectsfixed.effects.lmList fixef.lmList
Extract pdBlocked Formulaformula.pdBlocked
Extract pdMat Formulaformula.pdMat
Extract reStruct Object Formulaformula.reStruct
Apply a Function by Groupsgapply
Refinery yield of gasolineGasoline
Extract Covariate from an ObjectgetCovariate
Extract corStruct Object CovariategetCovariate.corSpatial getCovariate.corStruct
Extract Data Frame CovariategetCovariate.data.frame
Extract varFunc CovariategetCovariate.varFunc
Extract Covariates FormulagetCovariateFormula
Extract Data from an ObjectgetData
Extract gls Object DatagetData.gls getData.gnls
Extract lme Object DatagetData.lme getData.nlme getData.nls
Extract lmList Object DatagetData.lmList
Extract Grouping Factors from an ObjectgetGroups
Extract corStruct GroupsgetGroups.corStruct
Extract Groups from a Data FramegetGroups.data.frame
Extract gls Object GroupsgetGroups.gls
Extract lme Object GroupsgetGroups.lme
Extract lmList Object GroupsgetGroups.lmList
Extract varFunc GroupsgetGroups.varFunc
Extract Grouping FormulagetGroupsFormula getGroupsFormula.default getGroupsFormula.gls getGroupsFormula.lme getGroupsFormula.lmList getGroupsFormula.reStruct
Extract Response Variable from an ObjectgetResponse getResponse.data.frame
Extract Formula Specifying Response VariablegetResponseFormula
Extract variance-covariance matrixgetVarCov getVarCov.gls getVarCov.lme print.VarCov
Fit Linear Model Using Generalized Least Squaresgls update.gls
Control Values for gls FitglsControl
Fitted gls ObjectglsObject
Generalized Least Squares StructureglsStruct
Glucose levels over timeGlucose
Glucose Levels Following Alcohol IngestionGlucose2
Fit Nonlinear Model Using Generalized Least Squaresgnls
Control Values for gnls FitgnlsControl
Fitted gnls ObjectgnlsObject
Generalized Nonlinear Least Squares StructuregnlsStruct Initialize.gnlsStruct
Construct a groupedData Objectas.data.frame.groupedData groupedData update.groupedData [.groupedData
Summarize by Groupsgsummary
Methods for firing naval gunsGun
Radioimmunoassay of IGF-I ProteinIGF
Initialize ObjectInitialize
Initialize corStruct ObjectInitialize.corAR1 Initialize.corARMA Initialize.corCAR1 Initialize.corCompSymm Initialize.corHF Initialize.corLin Initialize.corNatural Initialize.corSpatial Initialize.corSpher Initialize.corStruct Initialize.corSymm
Initialize a glsStruct ObjectInitialize.glsStruct
Initialize an lmeStruct ObjectInitialize.lmeStruct
Initialize reStruct ObjectInitialize.reStruct
Initialize varFunc ObjectInitialize.varComb Initialize.varConstPower Initialize.varConstProp Initialize.varExp Initialize.varFixed Initialize.varFunc Initialize.varIdent Initialize.varPower
Confidence Intervals on Coefficientsintervals
Confidence Intervals on gls Parametersintervals.gls print.intervals.gls
Confidence Intervals on lme Parametersintervals.lme print.intervals.lme
Confidence Intervals on lmList Coefficientsintervals.lmList print.intervals.lmList
Check a Design for BalanceisBalanced isBalanced.groupedData
Check if Object is InitializedisInitialized isInitialized.pdBlocked isInitialized.pdMat
Generate system matrix for LDEsLDEsysMat
Linear Mixed-Effects Modelslme lme.formula update.lme
LME fit from groupedData Objectlme.groupedData
LME fit from lmList Objectlme.lmList
Specifying Control Values for lme FitlmeControl
Fitted lme ObjectlmeObject
Linear Mixed-Effects StructurelmeStruct
List of lm Objects with a Common ModellmList lmList.formula print.lmList update.lmList
lmList Fit from a groupedData ObjectlmList.groupedData
Extract the Logarithm of the DeterminantlogDet
Extract corStruct Log-DeterminantlogDet.corStruct
Extract Log-Determinant from a pdMat ObjectlogDet.pdBlocked logDet.pdCompSymm logDet.pdDiag logDet.pdIdent logDet.pdMat logDet.pdNatural logDet.pdSymm
Extract reStruct Log-DeterminantslogDet.reStruct
Extract corStruct Log-LikelihoodlogLik.corStruct
Log-Likelihood of a glsStruct ObjectlogLik.glsStruct
Log-Likelihood of a gnls ObjectlogLik.gnls
Log-Likelihood of a gnlsStruct ObjectlogLik.gnlsStruct
Log-Likelihood of an lme ObjectlogLik.gls logLik.lme
Log-Likelihood of an lmeStruct ObjectlogLik.lmeStruct logLik.lmeStructInt
Log-Likelihood of an lmList ObjectlogLik.lmList
Calculate reStruct Log-LikelihoodlogLik.reStruct
Extract varFunc logLiklogLik.varComb logLik.varFunc
Productivity Scores for Machines and WorkersMachines
Mathematics achievement scoresMathAchieve
School demographic data for MathAchieveMathAchSchool
Assign Matrix Valuesmatrix<-
Assign Matrix to a pdMat or pdBlocked Objectmatrix<-.pdBlocked matrix<-.pdMat
Assign reStruct Matricesmatrix<-.reStruct
Tenderness of meatMeat
Protein content of cows' milkMilk
reStruct Model Matrixmodel.matrix.reStruct
Contraction of heart muscle sectionsMuscle
Names Associated with an ObjectNames Names<-
Extract Names from a formulaNames.formula Names.listForm
Names of a pdBlocked ObjectNames.pdBlocked Names<-.pdBlocked
Names of a pdMat ObjectNames.pdMat Names<-.pdMat
Names of an reStruct ObjectNames.reStruct Names<-.reStruct
Check if Update is NeededneedUpdate needUpdate.default needUpdate.varComb needUpdate.varIdent
Check if a modelStruct Object Needs UpdatingneedUpdate.corStruct needUpdate.modelStruct needUpdate.reStruct
Assay of nitrendipeneNitrendipene
Nonlinear Mixed-Effects Modelsnlme nlme.formula
NLME fit from nlsList Objectnlme.nlsList
Control Values for nlme FitnlmeControl
Fitted nlme ObjectnlmeObject
Nonlinear Mixed-Effects StructurenlmeStruct
List of nls Objects with a Common ModelnlsList nlsList.formula update.nlsList
nlsList Fit from a selfStart FunctionnlsList.selfStart
Split-plot Experiment on Varieties of OatsOats
Growth curve data on an orthdontic measurementOrthodont
Counts of Ovarian FolliclesOvary
Heights of Boys in OxfordOxboys
Variability in Semiconductor ManufacturingOxide
Pairs Plot of compareFits Objectpairs.compareFits
Pairs Plot of an lme Objectpairs.lme
Pairs Plot of an lmList Objectpairs.lmList
Effect of Phenylbiguanide on Blood PressurePBG
Positive-Definite Block Diagonal MatrixpdBlocked
Positive-Definite Matrix ClassespdClasses
Positive-Definite Matrix with Compound Symmetry StructurepdCompSymm
Construct pdMat ObjectspdConstruct pdConstruct.pdCompSymm pdConstruct.pdDiag pdConstruct.pdIdent pdConstruct.pdLogChol pdConstruct.pdMat pdConstruct.pdNatural pdConstruct.pdSymm
Construct pdBlocked ObjectspdConstruct.pdBlocked
Diagonal Positive-Definite MatrixpdDiag
Square-Root Factor of a Positive-Definite MatrixpdFactor pdFactor.pdBlocked pdFactor.pdCompSymm pdFactor.pdDiag pdFactor.pdIdent pdFactor.pdLogChol pdFactor.pdMat pdFactor.pdNatural pdFactor.pdSymm
Extract Square-Root Factor from Components of an reStruct ObjectpdFactor.reStruct
Multiple of the Identity Positive-Definite MatrixpdIdent
General Positive-Definite MatrixpdLogChol
Positive-Definite MatrixpdMat plot.pdMat
Extract Matrix or Square-Root Factor from a pdMat ObjectpdMatrix pdMatrix.pdBlocked pdMatrix.pdCompSymm pdMatrix.pdDiag pdMatrix.pdIdent pdMatrix.pdMat pdMatrix.pdNatural pdMatrix.pdSymm
Extract Matrix or Square-Root Factor from Components of an reStruct ObjectpdMatrix.reStruct
General Positive-Definite Matrix in Natural ParametrizationpdNatural
General Positive-Definite MatrixpdSymm
Phenobarbitol KineticsPhenobarb
Model function for the Phenobarb dataphenoModel
X-ray pixel intensities over timePixel
Plot an ACF Objectplot.ACF
Plot an augPred Objectplot.augPred
Plot a compareFits Objectplot.compareFits
Plot a gls Objectplot.gls
Plot lmList Confidence Intervalsplot.intervals.lmList
Plot an lme or nls objectplot.lme plot.nls
Plot an lmList Objectplot.lmList
Plot an nffGroupedData Objectplot.nffGroupedData
Plot an nfnGroupedData Objectplot.nfnGroupedData
Plot an nmGroupedData Objectplot.nmGroupedData
Plot a ranef.lme Objectplot.ranef.lme
Plot a ranef.lmList Objectplot.ranef.lmList
Plot a Variogram Objectplot.Variogram
Extract Pooled Standard DeviationpooledSD
Predictions from a gls Objectpredict.gls
Predictions from a gnls Objectpredict.gnls
Predictions from an lme Objectpredict.lme
Predictions from an lmList Objectpredict.lmList
Predictions from an nlme Objectpredict.nlme
Print a summary.pdMat Objectprint.summary.pdMat
Print a varFunc Objectprint.varComb print.varFunc
Normal Plot of Residuals from a gls Objectqqnorm.gls
Normal Plot of Residuals or Random Effects from an lme Objectqqnorm.lm qqnorm.lme qqnorm.lmList qqnorm.nls
Quinidine KineticsQuinidine
Model function for the Quinidine dataquinModel
Evaluation of Stress in Railway RailsRail
Extract Random Effectsprint.ranef random.effects ranef
Extract lme Random Effectsprint.ranef.lme random.effects.lme ranef.lme
Extract lmList Random Effectsrandom.effects.lmList ranef.lmList
The weight of rat pupsRatPupWeight
Recalculate Condensed Linear Model Objectrecalc
Recalculate for corStruct Objectrecalc.corAR1 recalc.corARMA recalc.corCAR1 recalc.corCompSymm recalc.corHF recalc.corNatural recalc.corSpatial recalc.corStruct recalc.corSymm
Recalculate for a modelStruct Objectrecalc.modelStruct
Recalculate for an reStruct Objectrecalc.reStruct
Recalculate for varFunc Objectrecalc.varFunc recalc.varIdent
Assay for RelaxinRelaxin
Pharmacokinetics of RemifentanilRemifentanil
Extract gls Residualsresiduals.gls residuals.gnls
Calculate glsStruct Residualsresiduals.glsStruct
Calculate gnlsStruct Residualsresiduals.gnlsStruct
Extract lme Residualsresiduals.lme
Calculate lmeStruct Residualsresiduals.lmeStruct
Extract lmList Residualsresiduals.lmList
Calculate nlmeStruct Residualsresiduals.nlmeStruct
Random Effects Structureprint.reStruct reStruct [.reStruct
Simulate Results from 'lme' Modelsplot.simulate.lme print.simulate.lme simulate.lme
Calculate Inverse of a Positive-Definite Matrixsolve.pdBlocked solve.pdDiag solve.pdIdent solve.pdLogChol solve.pdMat solve.pdNatural solve.pdSymm
Apply Solve to an reStruct Objectsolve.reStruct
Growth of soybean plantsSoybean
Split a FormulasplitFormula
Growth of Spruce TreesSpruce
Summarize a corStruct Objectsummary.corAR1 summary.corARMA summary.corCAR1 summary.corCompSymm summary.corExp summary.corGaus summary.corLin summary.corNatural summary.corRatio summary.corSpher summary.corStruct summary.corSymm
Summarize a Generalized Least Squares 'gls' Objectsummary.gls
Summarize an lme Objectprint.summary.lme summary.lme
Summarize an lmList Objectsummary.lmList
Summarize a modelStruct Objectsummary.modelStruct summary.reStruct
Summarize an nlsList Objectsummary.nlsList
Summarize a pdMat Objectsummary.pdBlocked summary.pdCompSymm summary.pdDiag summary.pdIdent summary.pdLogChol summary.pdMat summary.pdNatural summary.pdSymm
Summarize "varFunc" Objectsummary.varComb summary.varConstPower summary.varConstProp summary.varExp summary.varFixed summary.varFunc summary.varIdent summary.varPower
Pharmacokinetics of tetracyclineTetracycline1
Pharmacokinetics of tetracyclineTetracycline2
Update a modelStruct Objectupdate.corStruct update.modelStruct update.reStruct
Update varFunc Objectupdate.varComb update.varConstPower update.varConstProp update.varExp update.varExpon update.varFunc update.varPower
Variance Function ClassesvarClasses
Combination of Variance FunctionsvarComb
Constant Plus Power Variance FunctionvarConstPower
Constant Plus Proportion Variance FunctionvarConstProp
Extract variance and correlation componentsprint.VarCorr.lme VarCorr VarCorr.lme VarCorr.pdBlocked VarCorr.pdMat
Exponential Variance FunctionvarExp
Fixed Variance FunctionvarFixed
Variance Function StructurevarFunc
Constant Variance FunctionvarIdent
Calculate Semi-variogramVariogram
Calculate Semi-variogram for a corExp ObjectVariogram.corExp
Calculate Semi-variogram for a corGaus ObjectVariogram.corGaus
Calculate Semi-variogram for a corLin ObjectVariogram.corLin
Calculate Semi-variogram for a corRatio ObjectVariogram.corRatio
Calculate Semi-variogram for a corSpatial ObjectVariogram.corSpatial
Calculate Semi-variogram for a corSpher ObjectVariogram.corSpher
Calculate Semi-variogramVariogram.default
Calculate Semi-variogram for Residuals from a gls ObjectVariogram.gls
Calculate Semi-variogram for Residuals from an lme ObjectVariogram.lme
Power Variance FunctionvarPower
Extract Variance Function WeightsvarWeights varWeights.varComb varWeights.varFunc
Variance Weights for glsStruct ObjectvarWeights.glsStruct
Variance Weights for lmeStruct ObjectvarWeights.lmeStruct
Modeling of Analog MOS CircuitsWafer
Yields by growing conditionsWheat
Wheat Yield TrialsWheat2