Open guilherme-pantanal opened 4 months ago
I get the same error, so you're not doing anything wrong. I'll fix this, but am currently on vacation so this will have to wait until I get back.
Thank you. Good vacations. Guilherme
Em qua., 19 de jun. de 2024 às 14:25, Patrick Breheny < @.***> escreveu:
I get the same error, so you're not doing anything wrong. I'll fix this, but am currently on vacation so this will have to wait until I get back.
— Reply to this email directly, view it on GitHub https://github.com/pbreheny/visreg/issues/127#issuecomment-2179281490, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJKFINFZSK25N37HB272FWTZIHEJTAVCNFSM6AAAAABJSQRB2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGI4DCNBZGA . You are receiving this because you authored the thread.Message ID: @.***>
--
Aviso de confidencialidade
Esta mensagem da Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), empresa publica federal regida pelo disposto na Lei Federal no. 5.851, de 7 de dezembro de 1972, e enviada exclusivamente a seu destinatario e pode conter informacoes confidenciais, protegidas por sigilo profissional. Sua utilizacao desautorizada e ilegal e sujeita o infrator as penas da lei. Se voce a recebeu indevidamente, queira, por gentileza, reenvia-la ao emitente, esclarecendo o equivoco.
Confidentiality note
This message from Empresa Brasileira de Pesquisa Agropecuaria (Embrapa), a government company established under Brazilian law (5.851/72), is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you are not the addressee, please send it back, elucidating the failure.
I am trying to run the example provide in http://pbreheny.github.io/visreg/articles/web/mixed.html: library(visreg); library(lme4, quietly=TRUE)
data(Milk, package="nlme")
ctrl <- lmerControl(optCtrl=list(xtol_rel=1e-6)) # Warning otherwise
fit <- lmer(protein ~ Diet + Time + (Time|Cow), Milk, control=ctrl)
v <- visreg(fit, "Time", by="Cow", re.form=~(Time|Cow), plot=FALSE)
However, it is not working and I receive the following message error (translated from Portuguese): 'Error in h(simpleError(msg, call)) : error evaluating argument 'x' when selecting method for function 'rowSums': 'non-conformable arguments'
What's going wrong?
Obs: I am using the package ‘lme4’ built under R version 4.3.3; package ‘Matrix’ built under R version 4.3.1; ‘visreg’ version 2.7.0 and Windows 11 Pro 22H2