View source: R/test_chisq_one.R
test_chisq_one | R Documentation |
Chi-squared One Sample
test_chisq_one(data, x)
data |
data |
x |
x |
results
data <- tibble::tribble(~fruit, ~count, "Apple" , 29, "Banana" , 24, "Cucumber" , 22, "Dragon Fruit" , 19 ) data <- data |> tidyr::uncount(weights = count) |> tibble::rowid_to_column("id") test_chisq_one(data, fruit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.