coef.dr4pl: Obtain coefficients of a 4PL model

Description Usage Arguments Value Examples

View source: R/auxiliary.R

Description

This function obtains the coefficients of a 4PL model. Estimates of the four parameters, the upper asymptote, IC50, slope and lower asymptote, are returned.

Usage

1
2
## S3 method for class 'dr4pl'
coef(object, ...)

Arguments

object

A 'dr4pl' object

...

arguments passed to coef

Value

A vector of parameters

Examples

1
2
3
4
5
obj.dr4pl <- dr4pl(Response ~ Dose, data = sample_data_2)  # Fit a 4PL model to data
coef(obj.dr4pl)  # Print parameter estimates

obj.dr4pl <- dr4pl(Response ~ Dose, data = sample_data_3)  # Fit a 4PL model to data
coef(obj.dr4pl)  # Print parameter estimates

jtlandis/dr4pl.dev documentation built on May 25, 2019, 12:43 a.m.