get.S1: Compute a measure of distance between two curves.

Description Usage Arguments Details Value Examples

Description

abc criterion is area between curves divivded by the width of t.range. S1 criterion between two curves is defined as the integrated squared distance divivded by the width of t.range. S2 is relative bias divivded by the width of t.range.

Usage

1
2
3
4
get.abc(p1, p2, t.range)
get.S1(p1, p2, t.range)
get.S2(p1, p2, t.range)
get.abs.dev(p1, p2, t.range, y.range)

Arguments

p1

a vector of coefficients specify the first curve

p2

a vector of coefficients specify the second curve

t.range

a vector two real numbers. The range of log standard concentrations. The first one is the minimum t and the second one is the maximum t

y.range

Details

p1 and p2 can be in either classical or gh parameterization.

Value

a real number

Examples

1
2
3
4
get.abc(p.eotaxin[1,], p.eotaxin[2,], t.range=log(c(0.51,1e4)))
get.S1(p.eotaxin[1,], p.eotaxin[2,], t.range=log(c(0.51,1e4)))
get.S2(p.eotaxin[1,], p.eotaxin[2,], t.range=log(c(0.51,1e4)))
get.abs.dev(p.eotaxin[1,], p.eotaxin[2,], t.range=log(c(0.51,1e4)), y.range=c(5,6))


Search within the nCal package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.