[R] lmList function in lme4

From: Nathan Leon Pace, MD, MStat <n.l.pace_at_utah.edu>
Date: Mon, 08 Oct 2007 14:25:20 -0600


I donıt understand the following error message in lme4.

> lmList(formula = oaas.bin ~ oaas.prob | subject, data =
inductionPropRemiAll.df, family = binomial) Error in FUN(X[[1L]], ...) :
  unused argument(s) (family = function (link = "logit")
> lmList(formula = oaas.bin ~ oaas.prob | subject, data =
inductionPropRemiAll.df, family = binomial()) Error in FUN(X[[1L]], ...) :
  unused argument(s) (family = list(family = "binomial", link = "logit", linkfun = function (mu)
> lmList(formula = oaas.bin ~ oaas.prob | subject, data =
inductionPropRemiAll.df, family = binomial(link = 'logit')) Error in FUN(X[[1L]], ...) :
  unused argument(s) (family = list(family = "binomial", link = "logit", linkfun = function (mu)

Thanks,

Nathan

Iım running 2.6.0 in Mac OS 10.4.10.

> sessionInfo()

R version 2.6.0 (2007-10-03)
i386-apple-darwin8.10.1

locale:
en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:

[1] splines   stats     graphics  grDevices utils     datasets  methods
base     

other attached packages:
[1] lme4_0.99875-8 Matrix_0.999375-2 lattice_0.16-5 Design_2.1-1 survival_2.32 Hmisc_3.4-2

loaded via a namespace (and not attached): [1] cluster_1.11.9 grid_2.6.0

The data frame is:

> inductionPropRemiAll.df

    subject induction oaas.time oaas.score ce.prop ce.remi oaas.prob oaas.bin
1 7 1 659 5 0.72450 1.12 0.010721002 0
2 7 1 685 4 0.98376 1.38 0.051126624 0
3 7 1 700 4 1.14330 1.52 0.106323802 0
4 7 1 720 4 1.35730 1.69 0.227804907 0
5 7 1 751 1 1.67500 1.92 0.475538419 1
6 7 1 766 1 1.83040 2.03 0.594371679 1
7 8 5 1395 4 0.34661 7.59 0.036424715 0
8 8 5 1415 4 0.40429 8.54 0.081124863 0
9 8 5 1438 2 0.47520 9.61 0.177295166 0
10 8 5 1457 2 0.51673 10.19 0.254997221 0
11 8 5 1474 1 0.57059 10.91 0.372794063 1
12 8 5 1492 1 0.60971 11.40 0.462005480 1
13 9 4 1007 4 0.15276 7.92 0.006894987 0
14 9 4 1028 4 0.21580 8.58 0.018283445 0
15 9 4 1050 3 0.29592 9.31 0.049820468 0
16 9 4 1074 2 0.37863 9.96 0.113240288 0
17 9 4 1094 1 0.44509 10.43 0.192349103 1
18 9 4 1112 1 0.49452 10.75 0.266086698 1
19 10 3 1583 4 1.17120 4.85 0.453884896 0
20 10 3 1610 2 1.31930 5.18 0.615334207 0
21 10 3 1625 2 1.38970 5.33 0.680855328 0
22 10 3 1644 2 1.47960 5.51 0.751025427 0
23 10 3 1665 1 1.56500 5.68 0.804946216 1
24 10 3 1686 1 1.64590 5.84 0.845746425 1
25 11 1 981 4 1.34930 1.99 0.256608329 0
26 11 1 1005 3 1.60010 2.25 0.469413804 0
27 11 1 1032 2 1.84380 2.48 0.660046801 0
28 11 1 1047 2 1.98560 2.60 0.745138116 0
29 11 1 1070 1 2.21320 2.79 0.842674556 1
30 11 1 1100 1 2.47070 2.99 0.908386988 1
31 12 2 1571 2 2.17230 5.88 0.950154291 0
32 12 2 1592 2 2.28560 6.07 0.962640320 0
33 12 2 1613 2 2.37060 6.21 0.969716688 0
34 12 2 1632 2 2.45070 6.34 0.975029952 0
35 12 2 1651 1 2.50780 6.43 0.978162770 1
36 12 2 1670 1 2.58010 6.55 0.981556986 1
37 13 5 911 2 0.68866 12.63 0.648476065 0
38 13 5 930 2 0.71706 12.94 0.697239772 0
39 13 5 951 2 0.76189 13.41 0.762661091 0
40 13 5 973 2 0.79557 13.75 0.803057888 0
41 13 5 992 1 0.82738 14.07 0.835347575 1
42 13 5 1010 1 0.85005 14.29 0.854980768 1
43 14 4 1198 2 1.92600 11.39 0.985190294 0
44 14 4 1220 2 1.95740 11.48 0.986491120 0
45 14 4 1240 2 2.01050 11.56 0.988185829 0
46 14 4 1258 2 2.08310 11.64 0.990047518 0
47 14 4 1280 1 2.17000 11.72 0.991813916 1
48 14 4 1300 1 2.26690 11.79 0.993337618 1
49 15 3 1158 2 1.59200 9.47 0.944603214 0
50 15 3 1177 2 1.67570 9.70 0.957790449 0
51 15 3 1201 2 1.77400 9.98 0.969142595 0
52 15 3 1222 2 1.84780 10.18 0.975378499 0
53 15 3 1241 1 1.91750 10.37 0.980011609 1
54 15 3 1258 1 1.96710 10.51 0.982739753 1
55 16 3 718 3 1.06960 6.28 0.515608444 0
56 16 3 734 3 1.16130 6.68 0.636189669 0
57 16 3 757 2 1.24910 7.03 0.729779959 0
58 16 3 780 2 1.35300 7.44 0.814048325 0
59 16 3 796 2 1.41230 7.66 0.849970652 0
60 16 3 816 1 1.48780 7.94 0.886018521 1
61 16 3 835 1 1.55920 8.20 0.911889961 1
62 17 5 1253 2 0.42320 10.05 0.152536400 0
63 17 5 1272 2 0.48134 10.65 0.244315189 0
64 17 5 1290 2 0.52403 11.07 0.324560098 0
65 17 5 1311 2 0.59297 11.72 0.464566602 0
66 17 5 1331 1 0.64585 12.19 0.568097112 1
67 17 5 1354 1 0.69651 12.63 0.656985426 1
68 18 2 850 4 1.47590 4.82 0.689216152 0
69 18 2 862 3 1.55410 4.98 0.748879149 0
70 18 2 875 2 1.60470 5.09 0.782565135 0
71 18 2 884 2 1.65410 5.19 0.811004660 0
72 18 2 898 2 1.72570 5.33 0.845797309 0
73 18 2 918 2 1.81700 5.51 0.881208336 0
74 18 2 940 1 1.90330 5.67 0.906716685 1
75 18 2 961 1 2.00460 5.86 0.929558294 1
76 19 5 3268 2 1.21720 16.70 0.974581765 0
77 19 5 3287 2 1.23390 16.85 0.976588460 0
78 19 5 3309 1 1.26030 17.10 0.979471494 1
79 19 5 3328 2 1.28020 17.28 0.981354503 0
80 19 5 3349 1 1.29900 17.46 0.982995477 1
81 19 5 3369 1 1.31700 17.63 0.984411475 1
82 20 2 1112 4 1.37570 4.30 0.562594271 0
83 20 2 1133 4 1.52970 4.54 0.696008673 0
84 20 2 1156 2 1.71480 4.80 0.809903391 0
85 20 2 1181 2 1.89070 5.03 0.879041983 0
86 20 2 1200 1 2.02440 5.20 0.913777757 1
87 20 2 1218 1 2.12040 5.31 0.931773499 1
88 21 3 917 4 0.70994 5.91 0.154712924 0
89 21 3 936 4 0.83345 6.29 0.284970086 0
90 21 3 964 2 0.98574 6.73 0.479773411 0
91 21 3 980 2 1.10450 7.04 0.621489742 0
92 21 3 1001 1 1.21960 7.32 0.731937481 1
93 21 3 1020 1 1.33060 7.58 0.811235273 1
94 22 1 1103 5 0.94678 1.23 0.038905709 0
95 22 1 1122 5 1.16260 1.43 0.107988155 0
96 22 1 1144 4 1.38030 1.61 0.232819062 0
97 22 1 1170 2 1.65000 1.82 0.443463856 0
98 22 1 1190 1 1.86130 1.97 0.605172664 1
99 22 1 1210 1 2.06660 2.10 0.729807171 1
100 23 1 919 4 1.80630 1.91 0.562528034 0
101 23 1 938 4 2.07760 2.07 0.731517603 0
102 23 1 961 3 2.34360 2.22 0.839489021 0
103 23 1 985 1 2.66550 2.37 0.912520202 1
104 23 1 1016 1 3.03280 2.54 0.954632319 1
105 24 4 985 4 0.31172 5.30 0.008426433 0
106 24 4 1007 2 0.39203 6.11 0.025756406 0
107 24 4 1027 2 0.45615 6.72 0.054283965 0
108 24 4 1048 2 0.51930 7.29 0.101551687 0
109 24 4 1066 1 0.58094 7.83 0.170816650 1
110 24 4 1086 1 0.64066 8.33 0.259369394 1
111 25 4 1225 2 0.93251 10.99 0.766922926 0
112 25 4 1246 2 0.96524 11.26 0.802080782 0
113 25 4 1266 1 0.99611 11.52 0.830992789 1
114 25 4 1284 2 1.02520 11.76 0.854382958 0
115 25 4 1306 2 1.05270 11.99 0.873686113 0
116 25 4 1326 1 1.07730 12.20 0.888908024 1
117 25 4 1344 1 1.10180 12.39 0.901768682 1
118 26 2 1094 4 1.92380 5.05 0.887910307 0
119 26 2 1109 4 1.99750 5.24 0.910263837 0
120 26 2 1130 4 2.09380 5.47 0.932232919 0
121 26 2 1162 3 2.23330 5.78 0.954086016 0
122 26 2 1175 1 2.30030 5.92 0.961625793 1
123 26 2 1192 1 2.36540 6.05 0.967601303 1
124 27 1 2043 4 1.50260 2.38 0.415837434 0
125 27 1 2062 4 1.64570 2.47 0.532478176 0
126 27 1 2084 3 1.87230 2.61 0.690836682 0
127 27 1 2108 3 2.11620 2.74 0.808915734 0
128 27 1 2126 1 2.26350 2.81 0.857385280 1
129 27 1 2146 1 2.46840 2.90 0.904290262 1

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 08 Oct 2007 - 20:32:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 25 Oct 2007 - 11:32:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.