blob: 749e6991115668483cfcfc92c38f04411c8da58b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
R : Copyright 2006, The R Foundation for Statistical Computing
Version 2.3.1 beta (2006-05-18 r38119)
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(drfit)
Loading required package: MASS
Loading required package: RODBC
> data(XY)
> rXY <- drfit(XY,logit=TRUE,weibull=TRUE,chooseone=FALSE)
Control: Fitting data...
Substance X: Fitting data...
Waiting for profiling to be done...
Waiting for profiling to be done...
Substance Y: Fitting data...
> print(rXY,digits=5)
Substance ndl n lld lhd mtype logED50 2.5% 97.5% unit sigma
1 Control 1 6 -Inf -Inf inactive NA NA NA mg/L NA
2 Substance X 4 12 1 3 probit 2.1619 2.1059 2.2144 mg/L 0.041317
3 Substance X 4 12 1 3 logit 2.1609 2.1122 2.2079 mg/L 0.037587
4 Substance X 4 12 1 3 weibull 2.1744 NA NA mg/L 0.057239
5 Substance Y 4 12 1 3 active NA NA NA mg/L NA
a b
1 NA NA
2 2.1619 0.50613
3 2.1609 0.29914
4 3.0096 2.03624
5 NA NA
>
|