gg_daniel | R Documentation |
ggplot implementation for the Daniel probability plot
gg_daniel(tb, alpha = 0.05)
tb |
a data frame containing the output of the table2kunrep function |
alpha |
significance level for Lenth's method |
the Daniel probability plot.
library(planex)
library(tidyverse)
data(filtragem)
filtragem <- filtragem %>%
mutate_at(
c("temperatura", "pressao", "concentracao", "agitacao"),
as.factor2k) %>%
rename(
A = temperatura,
B = pressao,
C = concentracao,
D = agitacao
)
mod <- lm(filtragem ~ A*B*C*D, data=filtragem)
tb <- table2kunrep(mod)
gg_daniel(tb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.