python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How can I extract model summary from multiple tidymodels objects using purrr::map functions in R?
I want to use purrr::map_* functions to extract info from multiple models involving linear regression method. I am first creating some random dataset. The dataset has three dependent variables, and on...
Eva
Votes: 0
Answers: 1
do() superseded! Alternative is to use across(), nest_by(), and summarise, how?
I'm doing something quite simple. Given a dataframe of start dates and end dates for specific periods I want to expand/create a full sequence for each period binned by week (with the factor for each r...
Dasr
Votes: 0
Answers: 5
Plot derivations of multiple logistical curves with ggplot and purrr
The rows of data frame "pars" hold the two parameters defining logistical curves:
library(ggplot2)
library(purrr)
pars <- data.frame(
diff = c(-1.5, 2.5),
disc = c(1.2, 2.5)
)
These...

MaVe
Votes: 0
Answers: 2
How to combine filter(across(starts_with("foo"), ~ . logical-condition)) with mutate(bar = map2(...))?
I want to use dplyr's filter() in combination with selection helpers such as starts_with().
The current post is a follow-up on this answer, but in a bit more sophisticated data structure that involves...
Emman
Votes: 0
Answers: 2