4
我的工作流程曾經與do
,failwith
和lmer
一起使用。現在它似乎被打破了。 我在做什麼與lm
一起工作,所以我不知道它是一個錯誤還是我需要改變一些東西。dplyr :: failwith不能與lme4 :: lmer一起使用,但可以使用lm
這工作:
library(dplyr)
library(lme4)
lmer( Yield ~ 1|Batch, Dyestuff, REML = FALSE)
lm( Yield ~ Batch, Dyestuff)
但是,這並不爲lmer
但確實爲lm
:
lmer_fw <- failwith(NULL,lmer ,quiet=TRUE)
lm_fw <- failwith(NULL,lm , quiet=TRUE)
lmer_fw(Yield ~ 1|Batch, Dyestuff, REML = FALSE)
lm_fw( Yield ~ Batch, Dyestuff)
nest::possible
具有相同的行爲。
任何想法?
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lme4_1.1-12 Matrix_1.2-7.1 dplyr_0.5.0 RevoUtilsMath_8.0.3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.7 lattice_0.20-34 assertthat_0.1 MASS_7.3-45 grid_3.3.1 R6_2.1.3 nlme_3.1-128 DBI_0.5-1
[9] magrittr_1.5 minqa_1.2.4 nloptr_1.0.4 splines_3.3.1 RevoUtils_10.0.1 tools_3.3.1 tibble_1.2
謝謝!這解決了它。 –