Skip to content

dr4pl

2.0.0Package record

Dose Response Data Analysis using the 4 Parameter Logistic (4pl) Model

0packages depend
5.7Kdownloads / year
0.0%test coverage
11/13flavors OK

Overview

About

Models the relationship between dose levels and responses in a pharmacological experiment using the 4 Parameter Logistic model. Traditional packages on dose-response modelling such as 'drc' and 'nplr' often draw errors due to convergence failure especially when data have outliers or non-logistic shapes. This package provides robust estimation methods that are less affected by outliers and other initialization methods that work well for data lacking logistic shapes. We provide the bounds on the parameters of the 4PL model that prevent parameter estimates from diverging or converging to zero and base their justification in a statistical principle. These methods are used as remedies to convergence failure problems. Gadagkar, S. R. and Call, G. B. (2015) doi:10.1016/j.vascn.2014.08.006 Ritz, C. and Baty, F. and Streibig, J. C. and Gerhard, D. (2015) doi:10.1371/journal.pone.0146021.

Changes in 2.0.0

Main Reason for Major Update

  • A second derivative used in the Hessian Matrix (with respects to (theta_3)^2) has been updated to the correct value. Confidence intervals for theta_3 should be more accurate as a result of the correction. See
  • dr4pl's internals have changed to help improve clarity and consistency of the code. With this change, the API associated with the dr4pl call and its arguments have changed slightly. Many dr4pl internal functions now dispatch on this new dr4pl_param class.

General Changes

  • The dr4pl object has replaced 'parameters' with a new S3 object dr4pl_param. This class's main objective is to track of when the object is reparameterized internally. There is now a constructor function dr4pl_theta that will allow users to specify if their parameters are in the linear space or the log10 space when passing to init.parm argument.
  • dr4pl_param objects are converted to log10 space prior to optimization. To be consistent with previous version of dr4pl, reporting statistics will be on the reparameterized theta by default and will forgo any exponentiation to linear space. This is to increase clarity of which parameterization statistics like confidence intervals and standard errors refer to.
  • The following functions are new S3 generics:
  • augment
  • calculate
  • residuals
  • Many S3 methods that dispatch on a dr4pl object now have an optional parm argument. This can allow the user to specify a new dr4pl_theta object to evaluate in place of the theta parameter on the object. This applies to the following S3 generics:
  • calculate
Show all changes in 2.0.0Hide the rest of the changes in 2.0.0
  • residuals
  • summary
  • vcov
  • confint.dr4pl and vcov.dr4pl's parm argument now works as intended.
  • You are no longer required to specify all 4 parameters when passing to arguments upperl and lowerl. Specifying a named numeric vector in the form of lowerl = c(theta_2=.5, theta_4 = 0) will suffice.
  • More informative error messages have been included if initial parameter estimates are outside the specified constraints.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTERd filesr-oldrel-macos-arm64, r-oldrel-macos-x86_64
checkRd: (-1) confint.dr4pl.Rd:49: Escaped LaTeX specials: \&
checkRd: (-1) gof-dr4pl.Rd:40: Escaped LaTeX specials: \&
checkRd: (-1) vcov.dr4pl.Rd:61: Escaped LaTeX specials: \&

CRAN check page ↗

Slowest check: 3.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE8 OK, 6 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.0.0
READMEYes · 665 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2.0.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
39 (1 internal)includes a package overview page
Examples that run
96%26 run in a plain check · 1 never run
Exported functions with examples
20%
Documented parameters
100%
Return-value docs
90%
Help pages citing references
15% with a bibliography file

Downloads

5.7K
CRAN downloads in the past year
Rank #5,910 · ~16/day · ~475/mo
Daily download trend is not available in this view yet.
47130 days
1.4K90 days
5.7K1 year
Compare downloads with other packages →
Also on85 r2u7 autocran98 c2d4u

Repository

0Forks
0Open PRs
Last activity 2022-07-25
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only
PracticesBeta

Repository bitbucket.org/dittmerlab/dr4pl is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing dr4pl adds 21 packages (8 with compiled code, 15 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 3.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (6)
Author, Maintainer since 1.0.0 (2017)
Author
Author · added in 1.1.7.4
Author · added in 1.1.7.4
Contributor · added in 2.0.0
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.0Latest
    record
    2021-08-17 · current release · diff ↗ ·
    removed 1 export
    gof.dr4pl
    added 6 exports
    LogToParm, ParmToLog, augment, calculate, dr4pl_theta, gof
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.11
    record
    2019-10-07 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.8
    record
    2019-02-24 · diff ↗
  • unarchivedReturned to CRAN
    2019-01-28
  • 1.1.7.5
    record
    2019-01-28 · diff ↗
  • archivedRemoved from CRAN
    2019-01-24
    check issues were not corrected in time
  • 1.1.7.4
    record
    2018-12-03 · diff ↗
  • 1.1.7.1
    record
    2018-09-14 · diff ↗
Show 5 earlier eventsHide 5 earlier events
  • 1.1.6
    record
    2018-08-24 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.1
    record
    2018-03-21 · diff ↗ ·
    added 5 exports
    FindHillBounds, FindInitialParms, FindLogisticGrids, MeanResponse, OutlierDetection
  • 1.0.0
    record
    2017-10-22
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-10-22
Total releases
9 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.1.0
Bundled data
12 KB / 17 files
Download size
501 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dr4pl")
Landis, J. T., An, H., Bailey, A. G., Dittmer, D. P., Marron, J. S., & Peng, A. (2021). dr4pl: Dose Response Data Analysis using the 4 Parameter Logistic (4pl) Model (Version 2.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.dr4pl

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dr4pl version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy