medrm: Mixed effects dose-response curves

Description Usage Arguments Details Value See Also

Description

Implements drc nonlinear functions into the nlme framework for mixed effects dose-response modelling.

Usage

1
2
medrm(form, curveid = NULL, data, fct, random, correlation = NULL,
  weights = NULL, control = NULL, start = NULL, REML = FALSE)

Arguments

form

Formula describing the dose-response relationship

curveid

Formula with parameter names on the left hand side (divided by +) and a column name in data, denoting a factor, to estimate separate parameters per factor-level. If NULL only fixed effects for a single curve will be estimated.

data

a data.frame object

fct

a function of the drc package

random

a list or one-sided formula describing the random effects

correlation

additional corClasses object

weights

additional varClasses object

control

list with nlme control arguments

start

optional list with initial values for the fixed components. If NULL the initial values will be found automatically.

REML

logical value. If TRUE the model is fit by maximizing the restricted log-likelihood, if FALSE log-likelihood is maximized.

Details

An application of medrm is shown on the help pages of data broccoli. EDx and selectivity indices can be calculated with functions ED and EDcomp. Model-averaged ED can be computed by function mmaED. Marginal EDx and corresponding function are implemented in functions EDmarg, using numerical integration conditional on the etimated variance components.

Value

An object of class medrc

See Also

drm, nlme


DoseResponse/medrc documentation built on May 28, 2019, 12:36 p.m.