multidplyr Questions
1
I am trying to parallelise a pipe.
In the pipe there is a tidyr command ("tidyr::complete"). This breaks down the code once run in parallel, as the object class is not recognised.
Is ther...
Vrablik asked 24/6, 2020 at 11:17
1
Solved
Consider a standard grouped operation on a data.frame:
library(plyr)
library(doMC)
library(MASS) # for example
nc <- 12
registerDoMC(nc)
d <- data.frame(x = c("data", "more data"), g = c("...
Coati asked 1/12, 2017 at 16:42
1
Solved
I'm trying to use multidplyr to speed up getting residuals from a regression fit. I've created a function that fits the regression model to get the residuals, which in addition to the data, gets tw...
Palette asked 8/11, 2017 at 19:19
1
Solved
I have the following dataframe and my intention is to find all the IDs, that have different USAGE but the same TYPE.
ID <- rep(1:4, each=3)
USAGE <- c("private","private","private","private"...
Lampion asked 30/7, 2017 at 11:35
1
© 2022 - 2024 — McMap. All rights reserved.