proportion_of_values_in_vector(
values = 2:3, vector = c(rep(1:3, each = 10), rep(NA, 10))
)
proportion_of_values_in_vector(
values = 2:3, vector = c(rep(1:3, each = 10), rep(NA, 10)),
output_type = "se"
)
proportion_of_values_in_vector(
values = 2:3, vector = c(rep(1:3, each = 10), rep(NA, 10)),
conf.level = 0.99
)
proportion_of_values_in_vector(
values = c(2:3, NA), vector = c(rep(1:3, each = 10), rep(NA, 10)),
na.exclude = FALSE
)
Run the code above in your browser using DataLab