getCurves: Generate y values in increments of a given x range.

Description Usage Arguments Value Examples

Description

Generate y values in increments of a given x range.

Usage

1
getCurves(range, fit, logrange = TRUE, npoint = 100)

Arguments

range

A 2-element numeric vector giving the x range.

fit

An object of class drc fit with drm().

logrange

Logical. If TRUE increments are in log space.

npoint

Numeric. The number of increments in the x range.

Value

A data frame of x and y values.

Examples

1
2
3
fit <- drc::drm(disp~wt, data=mtcars, fct=drc::LL.4())
curve <- getCurves(range(mtcars$wt), fit, logrange = F)
plot(ys~xs, data=curve)

stevehoang/assayr documentation built on May 24, 2019, 7:20 a.m.