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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
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(IM1xIPC81)
> rIM1xIPC81 <- drfit(IM1xIPC81,linlogit=TRUE)
IM13 BF4: Fitting data...
IM14 BF4: Fitting data...
Error in nls(response ~ linlogitf(dose, 1, f, logED50, b), data = tmp, :
singular gradient
Error in numericDeriv(form[[3]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
In addition: Warning message:
NaNs produced in: pnorm(q, mean, sd, lower.tail, log.p)
IM15 BF4: Fitting data...
IM16 BF4: Fitting data...
IM17 BF4: Fitting data...
Waiting for profiling to be done...
Error in numericDeriv(form[[3]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
In addition: Warning message:
NaNs produced in: pnorm(q, mean, sd, lower.tail, log.p)
IM18 BF4: Fitting data...
Waiting for profiling to be done...
Error in numericDeriv(form[[3]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
In addition: Warning message:
NaNs produced in: pnorm(q, mean, sd, lower.tail, log.p)
IM19 BF4: Fitting data...
Waiting for profiling to be done...
Error in numericDeriv(form[[3]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
In addition: Warning message:
NaNs produced in: pnorm(q, mean, sd, lower.tail, log.p)
IM1-10 BF4: Fitting data...
Waiting for profiling to be done...
> print(rIM1xIPC81,digits=5)
Substance ndl n lld lhd mtype logED50 2.5% 97.5% unit
1 IM13 BF4 9 81 0.591760 3.0000 inactive NA NA NA 然
2 IM14 BF4 20 216 -0.010300 3.1761 no fit NA NA NA 然
3 IM15 BF4 9 135 0.591760 3.0000 inactive NA NA NA 然
4 IM16 BF4 9 108 0.591760 3.0000 inactive NA NA NA 然
5 IM17 BF4 9 81 0.591760 3.0000 linlogit 2.5786 2.50572 2.66174 然
6 IM18 BF4 9 135 0.591760 3.0000 linlogit 1.6806 1.62298 1.74189 然
7 IM19 BF4 9 81 0.591760 3.0000 linlogit 1.6496 1.59848 1.70315 然
8 IM1-10 BF4 11 162 -0.010300 3.0000 linlogit 0.7697 0.68701 0.85442 然
sigma a b c
1 NA NA NA NA
2 NA NA NA NA
3 NA NA NA NA
4 NA NA NA NA
5 0.23759 2.5786 2.3002 0.014680
6 0.23249 1.6806 2.2373 0.057193
7 0.14527 1.6496 1.9770 0.109561
8 0.29877 0.7697 1.9363 0.458086
>
|