This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Title" | |
author: | |
name: "{{< var author >}}" | |
url: "{{< var url >}}" | |
email: "{{< var email >}}" | |
orcid: "{{< var orcid >}}" | |
roles: "{{< var roles >}}" | |
affiliations: "{{< var affiliations >}}" | |
abstract: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: Your Title Here | |
author: | |
name: "First Last" | |
url: https://github.com/ # add your GitHub username | |
email: me@mail.com | |
orcid: "0000-0000-0000-0000" # add your ORCID | |
roles: "aut" | |
affiliations: "your company" | |
abstract: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set up including p-values and strata % | |
pvalue <- function(x, ...) { | |
# Construct vectors of data y, and groups (strata) g | |
y <- unlist(x) | |
g <- factor(rep(1:length(x), times=sapply(x, length))) | |
if (is.numeric(y)) { | |
# For numeric variables, perform ANOVA | |
### YOU MUST CHANGE THE DATASET NAMED BELOW!! ### |