powered by
This function activates one of the data levels of an egor dataset, so that the dplyr verbs know which level to execute on.
# S3 method for egor activate(.data, what)
The egor dataset.
egor
Character naming the level to activate, this can be "ego", "alter" or "aatie".
Character
e <- make_egor(5,50) e %>% activate("aatie") %>% mutate(weight2 = 2 + weight) %>% activate("alter") %>% mutate(age.years = age.years^3)
Run the code above in your browser using DataLab