Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
932 changes: 466 additions & 466 deletions .Rhistory

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion R/binom.test.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ setMethod(
{
if (is.null(data)) {
if (! is.null(n)) stop("Improper `n'; did you forget `data = ' perhaps?", call. = FALSE)
data <- rlang::fn_env(x)
data <- environment(x)
}

formula <- mosaic_formula_q(x, groups = NULL, max.slots = 1)
Expand Down
5 changes: 2 additions & 3 deletions R/do.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require(compiler)
require(rlang)
parallel::detectCores()
NA


#' Set seed in parallel compatible way
#'
Expand Down Expand Up @@ -270,7 +269,7 @@ print.repeater <- function(x, ...)
# if each element is a data frame, combine them with bind_rows
if ( all( sapply( l, is.data.frame ) ) ) {
return(
lapply(l, function(x) {mutate(x, .row= 1:n())}) %>%
parallel::mclapply(l, function(x) {mutate(x, .row= 1:n())}) %>%
dplyr::bind_rows() %>%
mutate(.index = c(1, 1 + cumsum( diff(.row) != 1 )))
)
Expand Down Expand Up @@ -573,4 +572,4 @@ setMethod(
attr(result, "lazy") <- e2_lazy
if (out.mode == "data.frame") attr(result, "culler") <- cull
return(result)
})
})
24 changes: 24 additions & 0 deletions RBuildIgnore/Do Profile with Speedup.Rprofvis

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions RBuildIgnore/Do Profile.Rprofvis

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions man/mPlotting.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions vignettes/Resampling.Rnw
Original file line number Diff line number Diff line change
Expand Up @@ -480,14 +480,6 @@ quantiles <- qdata(~ cor, c(.025, .975), data = Mustangs.cor.boot)
quantiles
@

<<cor, fig.width=4, fig.height=2, tidy=FALSE>>=
Mustangs.hist <- mutate(Mustangs.cor.boot,
colorval = cut(cor, c(-Inf, quantiles$quantile, Inf),
labels = c("Lower", "Middle", "Upper")))
gf_histogram(~ cor, data = Mustangs.hist, fill = ~ colorval, n = 50)
confint(Mustangs.cor.boot)
@




Expand Down
Binary file added vignettes/figure/bwplot-1.pdf
Binary file not shown.
Binary file added vignettes/figure/coins-hist-1.pdf
Binary file not shown.
Binary file added vignettes/figure/densityplot-1.pdf
Binary file not shown.
Binary file added vignettes/figure/dot-1.pdf
Binary file not shown.
Binary file added vignettes/figure/flips-1.pdf
Binary file not shown.
Binary file added vignettes/figure/hist-1.pdf
Binary file not shown.
Binary file added vignettes/figure/pbinom-1.pdf
Binary file not shown.
Binary file added vignettes/figure/price-mileage-graph-1.pdf
Binary file not shown.
Binary file added vignettes/figure/sleep-1.pdf
Binary file not shown.
Binary file added vignettes/figure/unnamed-chunk-13-1.pdf
Binary file not shown.
Binary file added vignettes/figure/unnamed-chunk-23-1.pdf
Binary file not shown.
Binary file added vignettes/figure/unnamed-chunk-24-1.pdf
Binary file not shown.
Binary file added vignettes/figure/unnamed-chunk-25-1.pdf
Binary file not shown.
Binary file added vignettes/figure/unnamed-chunk-45-1.pdf
Binary file not shown.
Binary file added vignettes/figure/unnamed-chunk-46-1.pdf
Binary file not shown.