<div><span style="color: #0000ff; font-size: medium;">Quando eu tento rodar, reclama que não acha a função lme, precisa de alguma biblioteca para ele?</span></div>
<div><span style="color: #0000ff;"> </span></div>
<div> </div>
<div dir="ltr">
<div class="gmail_default" style="font-family: trebuchet ms,sans-serif;">Na minha versão da multicomp no Ubuntu 16.04 com R não deu warnings.<br /><br /><span style="font-family: monospace,monospace;">> modeloPARSUBlme <- lme(PRODLEIT ~ BLOCO + PASTO * MINERAL,<br />+ random = ~1 | PARCELA,<br />+ data = PARCSUB)<br />> <br />> compara <- glht(modeloPARSUBlme, linfct = mcp(PASTO = "Tukey"))<br />Warning message:<br />In mcp2matrix(model, linfct = linfct) :<br /> covariate interactions found -- default contrast might be inappropriate<br />> summary(compara)<br /><br /> Simultaneous Tests for General Linear Hypotheses<br /><br />Multiple Comparisons of Means: Tukey Contrasts<br /><br /><br />Fit: lme.formula(fixed = PRODLEIT ~ BLOCO + PASTO * MINERAL, data = PARCSUB, <br /> random = ~1 | PARCELA)<br /><br />Linear Hypotheses:<br /> Estimate Std. Error z value Pr(>|z|) <br />2 - 1 == 0 0.3333 1.4829 0.225 0.99600 <br />3 - 1 == 0 1.0000 1.4829 0.674 0.90684 <br />4 - 1 == 0 4.6667 1.4829 3.147 0.00899 **<br />3 - 2 == 0 0.6667 1.4829 0.450 0.96973 <br />4 - 2 == 0 4.3333 1.4829 2.922 0.01821 * <br />4 - 3 == 0 3.6667 1.4829 2.473 0.06416 . <br />---<br />Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1<br />(Adjusted p values reported -- single-step method)<br /><br />> <br />> packageVersion("multcomp")<br />[1] ‘1.4.6’<br />> R.version.string<br />[1] "R version 3.3.1 (2016-06-21)"<br />> <br />> browseURL("<a href="https://cran.r-project.org/web/packages/multcomp/index.html" target="_blank">https://cran.r-project.org/web/packages/multcomp/index.html</a>")<br /></span><br />À disposição.</div>
<div class="gmail_default"><span style="font-family: trebuchet ms,sans-serif;">Walmes. <br /></span></div>
<span style="font-family: trebuchet ms,sans-serif;"></span></div>