Vectors, data frames, and lists (R Tidyverse)

preview_player
Показать описание

Learn the basics of the three basic objects in R: vectors, data frames, and lists
Рекомендации по теме
Комментарии
Автор

Tried to follow this tutorial and got an error code on the first step - I tried to do "as_data_frame" and got the error message "Warning message:
`as_data_frame()` is deprecated as of tibble 2.0.0.
Please use `as_tibble()` instead.
The signature and semantics have changed, see `?as_tibble`."

What does this mean?

bluelightsaberondesk
Автор

I’d always use names for my list items:
my_list <- list(name1 = x, name2 = y)

you can than access in a df manner: my_list$name1

fmri