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

Description Usage Arguments Value Author(s) References Examples

Description

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

Usage

1
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

Author(s)

Jose Gama

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

1
2
3
4
5
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)

Example output

$mu
[1] 43.89387

$gsd
       x 
1.017758 

$left
       x 
42.40538 

$right
      x 
45.4346 

ecotoxicology documentation built on May 2, 2019, 6:10 p.m.