library(tidyverse)
ostit <- list( raw_data = tibble(valid = TRUE, #Messwert = rnorm(10, mean = 100, sd = 10), #Messwert = rt(n = 1000, df = 5, ncp = 0), Messwert = rchisq(n = 1000, df = 2, ncp = 50), Kommentar = ""), p_min = 0.99, power = 0.8 ) ostit$raw_data %>% ggplot(aes(x = Messwert)) + geom_density() + stat_function(fun = dnorm, color = "red", args = list(mean = mean(ostit$raw_data$Messwert), sd = sd(ostit$raw_data$Messwert))) + expand_limits(x = 0) saveRDS(ostit, file = "~/Desktop/example_data.rda")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.