tladeras’s avatartladeras’s Twitter Archive—№ 5,192

  1. TIL: nest() and nest_by() do not give you the same kind of nested tibble (thanks @erictleung!) I was trying to use map() with mutate() on a list column in a nested tibble and I couldn't understand why it was throwing an error. #tidyverse #rstats
    1. …in reply to @tladeras
      @erictleung This wont work on a nested tibble made with nest_by(), since it is a rowwise tibble: nested_penguins %>% mutate(model = map(data, lm(x ~ y, data=data))