Answers for "how to bootstrap in r with resampling"

C
0

how to bootstrap in r with resampling

# Resample 100 times, and find the mean of each
data_frame(num = 1:100) %>% 
    group_by(num) %>% 
    mutate(means = mean(sample(x, replace = TRUE))) %>% 
    ggplot(aes(x = means)) +
    geom_freqpoly()
Posted by: Guest on November-25-2021

Code answers related to "C"

Browse Popular Code Answers by Language