From ca84a96cb0c78137a077b062ff3b4ab245f719b0 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Mon, 9 Aug 2021 13:31:07 -0400 Subject: [PATCH] Update inf_for_categorical_data.Rmd (#98) the app wasn't showing on the website without the results=TRUE argument --- 06_inf_for_categorical_data/inf_for_categorical_data.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06_inf_for_categorical_data/inf_for_categorical_data.Rmd b/06_inf_for_categorical_data/inf_for_categorical_data.Rmd index 7b8f2b1..5880f19 100644 --- a/06_inf_for_categorical_data/inf_for_categorical_data.Rmd +++ b/06_inf_for_categorical_data/inf_for_categorical_data.Rmd @@ -133,7 +133,7 @@ However, when $np$ and $n(1-p)$ reaches 10 the sampling distribution is sufficie You can investigate the interplay between $n$ and $p$ and the shape of the sampling distribution by using simulations. Play around with the following app to investigate how the shape, center, and spread of the distribution of $\hat{p}$ changes as $n$ and $p$ changes. -```{r sf-app, echo=FALSE, eval=TRUE} +```{r sf-app, echo=FALSE, eval=TRUE, results=TRUE} inputPanel( numericInput("n", label = "Sample size:", value = 300),