Learn R Programming

dr4pl (version 2.0.0)

coef.dr4pl: Obtain coefficients of a 4PL model

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

# S3 method for dr4pl
coef(object, ...)

Arguments

object

A 'dr4pl' object

...

arguments passed to coef

Value

A vector of parameters

Examples

Run this code
# NOT RUN {
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

# }

Run the code above in your browser using DataLab