interp_ED50: Starting value calculation for ED50 parameter

View source: R/interp_ED50.R

interp_ED50R Documentation

Starting value calculation for ED50 parameter

Description

Calculates cheap starting parameter for the ED50 parameter of a 2pLL model by interpolation. This function is used in get_starting_values.

Usage

interp_ED50(data = NULL)

Arguments

data

(numeric data.frame())
A data frame with columns dose for the dose values and mean_resp as (mean) response for a given dose value. of mean response data at given dose level.

Details

The function assumes that the mean response values lay within 0 and 100, i.e. have percent units. It also assumes a downward trend of the ED50 with dose. If the lowest mean_resp value is already above 50, the function returns the maximal dose.

Value

Returns the numeric ED50_interp.


jcduda/td2pLL documentation built on May 14, 2022, 6:48 p.m.