I don¹t understand an error message from a thielsen function call within a dplyr do function call.
by.CaseNo <- group_by(as.data.frame(MAP.dt), CaseNo) > MAP.thielsen <- by.CaseNo %>% + do(model = thielsen(noninvMAP ~ invMAP, symmetric = T, data = ., + x = T, y = T, model = T, nboot = 1000)) | | 1% ~40 m remaining Error in if (any(tied)) { : missing value where TRUE/FALSE needed This error does not occur and the function call completes if nboot = 0. Nathan > sessionInfo() R version 3.1.2 (2014-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) locale: [1] 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] stats graphics grDevices utils datasets methods base other attached packages: [1] boot_1.3-15 deming_1.0-1 dplyr_0.4.1 data.table_1.9.4 [5] lme4_1.1-7 Rcpp_0.11.4 Matrix_1.1-5 loaded via a namespace (and not attached): [1] assertthat_0.1 chron_2.3-45 DBI_0.3.1 grid_3.1.2 [5] lattice_0.20-30 lazyeval_0.1.10 magrittr_1.5 MASS_7.3-39 [9] minqa_1.2.4 nlme_3.1-120 nloptr_1.0.4 parallel_3.1.2 [13] plyr_1.8.1 R6_2.0.1 reshape2_1.4.1 splines_3.1.2 [17] stringr_0.6.2 tools_3.1.2 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.