LMEoptimizeGets {lme4} | R Documentation

## Optimize linear mixed-effects

### Description

Update the parameters in an object by using an optimizer such as `optim` or `nlm` to maximize the log-likelihood.

### Usage

    LMEoptimize(x) <- value

### Arguments

`x` | An object of a suitable class, such as `reStruct` to be optimized
`value` | A list that contains components `msMaxIter`, a non-negative integer specifying the maximum number of iterations, `msVerbose`, a logical value that, when `TRUE`, requests verbose output, `msTol`, a numeric tolerance for declaring convergence, and `optimizer`, a character vector whose first element is `"optim"` or `"nlm"`

### Value

The object `x`, updated.

### See Also

`reStruct-class`, `lmeControl`

[Package Contents]