curve_4PL: 4PL model voltage curve

Description Usage Arguments Value

View source: R/device_models.R

Description

Model voltage curve based on the 4PL model. The first derivatives with respect to each parameter can also be calculated. NOTE: Here the data is shifted >> 0 in x, as the raw curve is not designed to handle x values of less than zero.

Usage

1
curve_4PL(x, param)

Arguments

x

a range of values for which the model curve is evaluated

param

list consisting of 4 parameters for the curve function:

theta_1

Value of y at the curve minimum

theta_2

Value of y at the curve maximum

theta_3

Value of x (+100) at the point of inflection

theta_4

A measure of the steepness of the curve

Value

A range of values, corresponding to the value of the 4PL curve for the given parameters, over the provided range of x values.


csgillespie/voltagefit documentation built on May 14, 2019, 12:23 p.m.