robustify_drc: Make a robust DRC estimate using a method based on Nguyen et...

Description Usage Arguments Examples

View source: R/sigmoid.R

Description

Make a robust DRC estimate using a method based on Nguyen et al. 2014

Usage

1
2
robustify_drc(object, form, conv = 0.01, maxits = 100,
  verbose = FALSE, drm_error = FALSE)

Arguments

object

An object of class drc fit with drm() and the argument fct = LL.4().

form

A formula associated with the object.

conv

Numeric value representing the convergence criterion (manhattan distance between weight vectors).

maxits

Numeric value representing maximum number of iterations.

verbose

Logical. If TRUE reports the manhattan distance for each iteration.

drm_error

Logical. Determines if drc() convergence failure results in a error (TRUE) or warning (FALSE)

Examples

1
2
3
4
mtcars2 <- mtcars
mtcars2$wt[c(10:12)] <- mtcars2$wt[c(10:12)] * 2
object <- drc::drm(disp~wt, data=mtcars2, fct=drc::LL.4())
robustify_drc(object, disp ~ wt, verbose = TRUE)

hemoshear/assayr2 documentation built on Nov. 8, 2019, 6:13 p.m.