Learn R Programming

ecotoxicology (version 1.0.1)

TSK: Trimmed Spearman-Karber method, as per Hamilton and EPA

Description

Returns the Trimmed Spearman-Karber (TSK) method, as per Hamilton and EPA

Usage

TSK(x, r, n, A = 0, conf = 0.95)

Arguments

x
numeric vector
r
numeric vector
n
numeric vector
A
numeric vector
conf
numeric vector

Value

mu=mu,gsd=gsd,left=left,right=right

References

Hamilton,M.A.,Russo,R.L.,Thurston,R.V.,1977. Trimmed Spearman–Karber method for estimating median lethal concentrations. Environ. Sci. Tech. 11,714–719.

Examples

Run this code
x<-c(15.54,20.47,27.92,35.98,55.52)
n1<-c(20,20,20,19,20)
r<-c(0,0,0,5.26,100)/100*n1
n<-c(20,20,20,19,20)
TSK(x,r,n)

Run the code above in your browser using DataLab