Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (3.1-168) of this package.
Take me there.
nlme (version 3.1-161)
Linear and Nonlinear Mixed Effects Models
Description
Fit and compare Gaussian linear and nonlinear mixed-effects models.
Copy Link
Link to current version
Version
Version
3.1-168
3.1-167
3.1-166
3.1-164
3.1-163
3.1-162
3.1-161
3.1-160
3.1-159
3.1-158
3.1-157
3.1-155
3.1-153
3.1-152
3.1-151
3.1-150
3.1-149
3.1-148
3.1-147
3.1-145
3.1-144
3.1-143
3.1-142
3.1-141
3.1-140
3.1-139
3.1-138
3.1-137
3.1-131.1
3.1-131
3.1-130
3.1-129
3.1-128
3.1-127
3.1-126
3.1-125
3.1-124
3.1-123
3.1-122
3.1-121
3.1-120
3.1-119
3.1-118
3.1-117
3.1-116
3.1-115
3.1-114
3.1-113
3.1-112
3.1-111
3.1-110
3.1-109
3.1-108
3.1-107
3.1-106
3.1-105
3.1-104
3.1-103
3.1-102
3.1-101
3.1-100
3.1-99
3.1-98
3.1-97
3.1-96
3.1-95
3.1-94
3.1-93
3.1-92
3.1-91
3.1-90
3.1-89
3.1-88
3.1-87
3.1-86
3.1-85
3.1-84
3.1-83
3.1-82
3.1-81
3.1-80
3.1-79
3.1-78
3.1-77
3.1-76
3.1-75
3.1-74
3.1-73
3.1-72
3.1-71
3.1-70
3.1-69
3.1-68.1
3.1-66
3.1-65
3.1-64
3.1-63
3.1-62
3.1-61
3.1-60
3.1-58
3.1-57
3.1-56
3.1-55
3.1-53
3.1-52
3.1-51
3.1-50
3.1-48
3.1-45
3.1-44
3.1-43
3.1-42
3.1-41
3.1-40
3.1-39
3.1-38
3.1-37
3.1-36
3.1-35
3.1-34
3.1-33
3.1-32
3.1-31
3.1-30
3.1-29
3.1-28
3.1-27
3.1-24
3.1-23
3.1-22
3.1-21
3.1-19
3.1-18
3.1-17
3.1-16
3.1-13
3.1-10
3.1-8
3.1-7
3.1-6
3.1-5
3.1-4
3.1-3
3.1-2 (1999/12/23)
3.1-1
Install
install.packages('nlme')
Monthly Downloads
85,005
Version
3.1-161
License
GPL (>= 2)
Maintainer
R-core R-core@R-project.org
Last Published
December 15th, 2022
Functions in nlme (3.1-161)
Search all functions
BodyWeight
Rat weight over time for different diets
Covariate.varFunc
Assign varFunc Covariate
Assay
Bioassay on Cell Culture Plate
ACF.lme
Autocorrelation Function for lme Residuals
Coef
Assign Values to Coefficients
Alfalfa
Split-Plot Experiment on Varieties of Alfalfa
Cefamandole
Pharmacokinetics of Cefamandole
ACF.gls
Autocorrelation Function for gls Residuals
Covariate
Assign Covariate Values
ACF
Autocorrelation Function
Dim
Extract Dimensions from an Object
Dim.corSpatial
Dimensions of a corSpatial Object
Dialyzer
High-Flux Hemodialyzer
Dim.pdMat
Dimensions of a pdMat Object
Gasoline
Refinery yield of gasoline
Glucose
Glucose levels over time
Dim.corStruct
Dimensions of a corStruct Object
Earthquake
Earthquake Intensity
Initialize.glsStruct
Initialize a glsStruct Object
Gun
Methods for firing naval guns
Glucose2
Glucose Levels Following Alcohol Ingestion
Initialize.reStruct
Initialize reStruct Object
Fatigue
Cracks caused by metal fatigue
Initialize.corStruct
Initialize corStruct Object
[.pdMat
Subscript a pdMat Object
Initialize.varFunc
Initialize varFunc Object
Initialize.lmeStruct
Initialize an lmeStruct Object
LDEsysMat
Generate system matrix for LDEs
Matrix.pdMat
Assign Matrix to a pdMat or pdBlocked Object
MathAchSchool
School demographic data for MathAchieve
MathAchieve
Mathematics achievement scores
Nitrendipene
Assay of nitrendipene
Oxboys
Heights of Boys in Oxford
Oats
Split-plot Experiment on Varieties of Oats
Machines
Productivity Scores for Machines and Workers
IGF
Radioimmunoassay of IGF-I Protein
Muscle
Contraction of heart muscle sections
Matrix
Assign Matrix Values
Initialize
Initialize Object
Ovary
Counts of Ovarian Follicles
Orthodont
Growth curve data on an orthdontic measurement
Matrix.reStruct
Assign reStruct Matrices
Meat
Tenderness of meat
Relaxin
Assay for Relaxin
Oxide
Variability in Semiconductor Manufacturing
Names
Names Associated with an Object
Milk
Protein content of cows' milk
PBG
Effect of Phenylbiguanide on Blood Pressure
Phenobarb
Phenobarbitol Kinetics
Spruce
Growth of Spruce Trees
Variogram
Calculate Semi-variogram
VarCorr
Extract variance and correlation components
Soybean
Growth of soybean plants
Names.pdBlocked
Names of a pdBlocked Object
RatPupWeight
The weight of rat pups
Names.formula
Extract Names from a formula
Rail
Evaluation of Stress in Railway Rails
Variogram.corSpher
Calculate Semi-variogram for a corSpher Object
Variogram.corSpatial
Calculate Semi-variogram for a corSpatial Object
Tetracycline1
Pharmacokinetics of tetracycline
Variogram.corRatio
Calculate Semi-variogram for a corRatio Object
Remifentanil
Pharmacokinetics of Remifentanil
Variogram.corLin
Calculate Semi-variogram for a corLin Object
Pixel
X-ray pixel intensities over time
Quinidine
Quinidine Kinetics
Variogram.lme
Calculate Semi-variogram for Residuals from an lme Object
as.matrix.corStruct
Matrix of a corStruct Object
Tetracycline2
Pharmacokinetics of tetracycline
Variogram.gls
Calculate Semi-variogram for Residuals from a gls Object
anova.lme
Compare Likelihoods of Fitted Objects
Variogram.default
Calculate Semi-variogram
Wheat
Yields by growing conditions
coef.lmList
Extract lmList Coefficients
coef.gnls
Extract gnls Coefficients
Variogram.corExp
Calculate Semi-variogram for a corExp Object
anova.gls
Compare Likelihoods of Fitted Objects
asOneFormula
Combine Formulas of a Set of Objects
Variogram.corGaus
Calculate Semi-variogram for a corGaus Object
balancedGrouped
Create a groupedData object from a matrix
asTable
Convert groupedData to a matrix
Names.reStruct
Names of an reStruct Object
Wheat2
Wheat Yield Trials
augPred
Augmented Predictions
allCoef
Extract Coefficients from a Set of Objects
coef.lme
Extract lme Coefficients
Names.pdMat
Names of a pdMat Object
as.matrix.reStruct
Matrices of an reStruct Object
coef.modelStruct
Extract modelStruct Object Coefficients
Wafer
Modeling of Analog MOS Circuits
corAR1
AR(1) Correlation Structure
comparePred
Compare Predictions
as.matrix.pdMat
Matrix of a pdMat Object
bdf
Language scores
coef.pdMat
pdMat Object Coefficients
compareFits
Compare Fitted Objects
corClasses
Correlation Structure Classes
corCompSymm
Compound Symmetry Correlation Structure
coef.reStruct
reStruct Object Coefficients
collapse.groupedData
Collapse a groupedData Object
corFactor.corStruct
Factor of a corStruct Object Matrix
corGaus
Gaussian Correlation Structure
corExp
Exponential Correlation Structure
corFactor
Factor of a Correlation Matrix
collapse
Collapse According to Groups
corARMA
ARMA(p,q) Correlation Structure
coef.corStruct
Coefficients of a corStruct Object
coef.varFunc
varFunc Object Coefficients
corCAR1
Continuous AR(1) Correlation Structure
corMatrix.pdMat
Extract Correlation Matrix from a pdMat Object
corMatrix.corStruct
Matrix of a corStruct Object
corSpatial
Spatial Correlation Structure
corMatrix
Extract Correlation Matrix
corSpher
Spherical Correlation Structure
corRatio
Rational Quadratic Correlation Structure
corNatural
General correlation in natural parameterization
corSymm
General Correlation Structure
corMatrix.reStruct
Extract Correlation Matrix from Components of an reStruct Object
corLin
Linear Correlation Structure
fdHess
Finite difference Hessian
formula.pdMat
Extract pdMat Formula
ergoStool
Ergometrics experiment with stool types
formula.pdBlocked
Extract pdBlocked Formula
fixed.effects
Extract Fixed Effects
fixef.lmList
Extract lmList Fixed Effects
getData.gls
Extract gls Object Data
getData.lmList
Extract lmList Object Data
fitted.glsStruct
Calculate glsStruct Fitted Values
fitted.lme
Extract lme Fitted Values
getGroups.corStruct
Extract corStruct Groups
getCovariateFormula
Extract Covariates Formula
getData
Extract Data from an Object
getData.lme
Extract lme Object Data
getGroups
Extract Grouping Factors from an Object
fitted.lmList
Extract lmList Fitted Values
getGroupsFormula
Extract Grouping Formula
getGroups.varFunc
Extract varFunc Groups
gnlsControl
Control Values for gnls Fit
glsControl
Control Values for gls Fit
getGroups.lme
Extract lme Object Groups
getResponse
Extract Response Variable from an Object
gnls
Fit Nonlinear Model Using Generalized Least Squares
getCovariate
Extract Covariate from an Object
glsStruct
Generalized Least Squares Structure
getCovariate.corStruct
Extract corStruct Object Covariate
fitted.nlmeStruct
Calculate nlmeStruct Fitted Values
gapply
Apply a Function by Groups
fitted.gnlsStruct
Calculate gnlsStruct Fitted Values
fitted.lmeStruct
Calculate lmeStruct Fitted Values
glsObject
Fitted gls Object
getCovariate.varFunc
Extract varFunc Covariate
formula.reStruct
Extract reStruct Object Formula
getCovariate.data.frame
Extract Data Frame Covariate
gls
Fit Linear Model Using Generalized Least Squares
gls-internal
Auxiliary functions used by gls
gnlsObject
Fitted gnls Object
getGroups.data.frame
Extract Groups from a Data Frame
gnlsStruct
Generalized Nonlinear Least Squares Structure
groupedData
Construct a groupedData Object
intervals.lmList
Confidence Intervals on lmList Coefficients
lmList
List of lm Objects with a Common Model
isInitialized
Check if Object is Initialized
intervals.gls
Confidence Intervals on gls Parameters
getResponseFormula
Extract Formula Specifying Response Variable
gsummary
Summarize by Groups
getGroups.lmList
Extract lmList Object Groups
getVarCov
Extract variance-covariance matrix
isBalanced
Check a Design for Balance
getGroups.gls
Extract gls Object Groups
intervals.lme
Confidence Intervals on lme Parameters
intervals
Confidence Intervals on Coefficients
lmList.groupedData
lmList Fit from a groupedData Object
logDet.corStruct
Extract corStruct Log-Determinant
lmeControl
Specifying Control Values for lme Fit
lme.groupedData
LME fit from groupedData Object
lme
Linear Mixed-Effects Models
lmeObject
Fitted lme Object
logDet.reStruct
Extract reStruct Log-Determinants
logLik.reStruct
Calculate reStruct Log-Likelihood
logLik.gnls
Log-Likelihood of a gnls Object
lme.lmList
LME fit from lmList Object
logLik.glsStruct
Log-Likelihood of a glsStruct Object
logDet
Extract the Logarithm of the Determinant
logLik.varFunc
Extract varFunc logLik
lmeStruct
Linear Mixed-Effects Structure
logLik.corStruct
Extract corStruct Log-Likelihood
logLik.lme
Log-Likelihood of an lme Object
logDet.pdMat
Extract Log-Determinant from a pdMat Object
logLik.lmeStruct
Log-Likelihood of an lmeStruct Object
logLik.gnlsStruct
Log-Likelihood of a gnlsStruct Object
nlmeObject
Fitted nlme Object
logLik.lmList
Log-Likelihood of an lmList Object
nlsList
List of nls Objects with a Common Model
nlsList.selfStart
nlsList Fit from a selfStart Function
nlmeStruct
Nonlinear Mixed-Effects Structure
nlme
Nonlinear Mixed-Effects Models
needUpdate.modelStruct
Check if a modelStruct Object Needs Updating
needUpdate
Check if Update is Needed
model.matrix.reStruct
reStruct Model Matrix
nlme.nlsList
NLME fit from nlsList Object
nlmeControl
Control Values for nlme Fit
pdConstruct
Construct pdMat Objects
pairs.compareFits
Pairs Plot of compareFits Object
pdDiag
Diagonal Positive-Definite Matrix
pdClasses
Positive-Definite Matrix Classes
pdCompSymm
Positive-Definite Matrix with Compound Symmetry Structure
pdBlocked
Positive-Definite Block Diagonal Matrix
pairs.lme
Pairs Plot of an lme Object
pdConstruct.pdBlocked
Construct pdBlocked Objects
pdFactor
Square-Root Factor of a Positive-Definite Matrix
plot.ACF
Plot an ACF Object
phenoModel
Model function for the Phenobarb data
pdIdent
Multiple of the Identity Positive-Definite Matrix
pairs.lmList
Pairs Plot of an lmList Object
pdNatural
General Positive-Definite Matrix in Natural Parametrization
pdMatrix.reStruct
Extract Matrix or Square-Root Factor from Components of an reStruct Object
pdMatrix
Extract Matrix or Square-Root Factor from a pdMat Object
pdSymm
General Positive-Definite Matrix
pdFactor.reStruct
Extract Square-Root Factor from Components of an reStruct Object
pdMat
Positive-Definite Matrix
pdLogChol
General Positive-Definite Matrix
plot.intervals.lmList
Plot lmList Confidence Intervals
plot.nfnGroupedData
Plot an nfnGroupedData Object
plot.lme
Plot an lme or nls object
plot.nffGroupedData
Plot an nffGroupedData Object
plot.augPred
Plot an augPred Object
plot.gls
Plot a gls Object
plot.compareFits
Plot a compareFits Object
plot.nmGroupedData
Plot an nmGroupedData Object
plot.Variogram
Plot a Variogram Object
plot.lmList
Plot an lmList Object
predict.lme
Predictions from an lme Object
predict.lmList
Predictions from an lmList Object
predict.gls
Predictions from a gls Object
plot.ranef.lmList
Plot a ranef.lmList Object
predict.nlme
Predictions from an nlme Object
pooledSD
Extract Pooled Standard Deviation
print.summary.pdMat
Print a summary.pdMat Object
predict.gnls
Predictions from a gnls Object
print.varFunc
Print a varFunc Object
plot.ranef.lme
Plot a ranef.lme Object
ranef.lmList
Extract lmList Random Effects
qqnorm.gls
Normal Plot of Residuals from a gls Object
reStruct
Random Effects Structure
recalc.modelStruct
Recalculate for a modelStruct Object
recalc.corStruct
Recalculate for corStruct Object
recalc
Recalculate Condensed Linear Model Object
qqnorm.lme
Normal Plot of Residuals or Random Effects from an lme Object
ranef.lme
Extract lme Random Effects
random.effects
Extract Random Effects
quinModel
Model function for the Quinidine data
residuals.lmeStruct
Calculate lmeStruct Residuals
simulate.lme
Simulate Results from
lme
Models
residuals.lme
Extract lme Residuals
residuals.nlmeStruct
Calculate nlmeStruct Residuals
recalc.reStruct
Recalculate for an reStruct Object
residuals.glsStruct
Calculate glsStruct Residuals
recalc.varFunc
Recalculate for varFunc Object
residuals.gls
Extract gls Residuals
splitFormula
Split a Formula
solve.reStruct
Apply Solve to an reStruct Object
summary.corStruct
Summarize a corStruct Object
solve.pdMat
Calculate Inverse of a Positive-Definite Matrix
summary.gls
Summarize a Generalized Least Squares
gls
Object
summary.lmList
Summarize an lmList Object
residuals.lmList
Extract lmList Residuals
residuals.gnlsStruct
Calculate gnlsStruct Residuals
summary.lme
Summarize an lme Object
summary.modelStruct
Summarize a modelStruct Object
varFixed
Fixed Variance Function
varComb
Combination of Variance Functions
update.modelStruct
Update a modelStruct Object
summary.pdMat
Summarize a pdMat Object
update.varFunc
Update varFunc Object
summary.nlsList
Summarize an nlsList Object
varClasses
Variance Function Classes
varConstPower
Constant Plus Power Variance Function
varConstProp
Constant Plus Proportion Variance Function
varExp
Exponential Variance Function
summary.varFunc
Summarize "varFunc" Object
varFunc
Variance Function Structure
varWeights.glsStruct
Variance Weights for glsStruct Object
varWeights
Extract Variance Function Weights
varWeights.lmeStruct
Variance Weights for lmeStruct Object
varPower
Power Variance Function
varIdent
Constant Variance Function