Skip to content

Commit

Permalink
set empirical to false - leads to errors for more complex designs. Fi…
Browse files Browse the repository at this point in the history
…rst test extensively before using. Not even used atm.
  • Loading branch information
Lakens committed Apr 4, 2019
1 parent 6c3c5e5 commit 9cf22bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ANOVA_design.R
Expand Up @@ -79,7 +79,7 @@ ANOVA_design <- function(string, n, mu, sd, r = 0, labelnames){
df <- as.data.frame(mvrnorm(n=n,
mu=mu2,
Sigma=sigmatrix_2,
empirical = TRUE))
empirical = FALSE))
df$subject<-as.factor(c(1:n)) #create temp subject variable just for merging
#Melt dataframe
df <- melt(df,
Expand Down

0 comments on commit 9cf22bb

Please sign in to comment.