mutate

    5ısı

    1cevap

    library(dplyr) tib <- tibble(a = c(1,2,3)) aşağıdaki işin içine toplamı: tib %>% mutate(b = a^2, c = sqrt(b)) # A tibble: 3 x 3 a b c <dbl> <dbl> <dbl> 1 1 1 1 2 2 4 2 3 3