Learn R Programming

toxboot (version 0.2.0)

gnls_curve: Gain Loss Curve.

Description

gnls_curve is used calculate response values given gnls parameters.

Usage

gnls_curve(top, ga, gw, la, lw, lconc)

Arguments

top

Numeric, gnls top parameter.

ga

Numeric, gnls gain AC50 parameter.

gw

Numeric, gnls gain coefficient parameter.

la

Numeric, gnls loss AC50 parameter.

lw

Numeric, gnls loss coefficient parameter.

lconc

Numeric, concentration (in log uM) to calculate the response.

Value

y Numeric, the calculated response value at lconc.

Details

Given input values for the gnls parameters and a concentration, this function returns the response value at the given concentration. Used to plot the gnls equation resulting from a given fit.

Examples

Run this code
# NOT RUN {
gnls_curve(top = 100, ga = 0.5, gw = 1, la = 1.5, lw = 8, lconc = 0)
# }

Run the code above in your browser using DataLab