Skip to content

Commit

Permalink
Merge pull request #31 from arcaldwell49/ancova_shieh_2021
Browse files Browse the repository at this point in the history
ANCOVA addition
  • Loading branch information
arcaldwell49 authored Dec 9, 2021
2 parents 5624ae3 + b485b94 commit 62e0b5c
Show file tree
Hide file tree
Showing 98 changed files with 5,592 additions and 301 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
^build/js$
^temp$
^.*\.jmo$
^Validaion$
^Validation$
^NEWS\.Rmd$
^jmvpower$
^ANCOVA$
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ jobs:
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
- uses: r-lib/actions/check-r-package@v1

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ temp
inst/doc

.DS_Store
NUL
tests/testthat/Rplots.pdf
9 changes: 5 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Superpower
Title: Simulation-Based Power Analysis for Factorial Designs
Version: 0.1.2
Version: 0.2.0
Authors@R: c(person(given = "Aaron",
family = "Caldwell",
role = c("aut", "cre"),
Expand All @@ -26,7 +26,7 @@ URL: https://aaroncaldwell.us/SuperpowerBook/
BugReports: https://github.com/arcaldwell49/Superpower/issues
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
Imports:
mvtnorm,
MASS,
Expand All @@ -39,14 +39,15 @@ Imports:
dplyr,
magrittr,
tidyselect,
Hmisc,
tidyr
Suggests:
knitr,
rmarkdown,
pwr,
testthat,
covr,
jmvcore
jmvcore,
spelling
VignetteBuilder:
knitr
Language: en-US
15 changes: 14 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ S3method(confint,sim_result)
S3method(emmeans_power,data.frame)
S3method(emmeans_power,emmGrid)
S3method(emmeans_power,summary_em)
S3method(plot,ancova_power)
S3method(plot,design_aov)
S3method(plot,opt_alpha)
S3method(plot,sim_result)
S3method(print,ancova_power)
S3method(print,design_aov)
S3method(print,opt_alpha)
S3method(print,sim_result)
export(ANCOVA_analytic)
export(ANCOVA_contrast)
export(ANOVA_compromise)
export(ANOVA_design)
export(ANOVA_exact)
Expand All @@ -25,12 +29,12 @@ export(optimal_alpha)
export(p_standardized)
export(plot_power)
export(power.ftest)
export(power_oneway_ancova)
export(power_oneway_between)
export(power_oneway_within)
export(power_standardized_alpha)
export(power_threeway_between)
export(power_twoway_between)
import(Hmisc)
import(emmeans)
import(ggplot2)
importFrom(MASS,mvrnorm)
Expand All @@ -50,7 +54,14 @@ importFrom(magrittr,"%>%")
importFrom(magrittr,'%>%')
importFrom(reshape2,melt)
importFrom(stats,as.formula)
importFrom(stats,contr.sum)
importFrom(stats,contrasts)
importFrom(stats,dbeta)
importFrom(stats,df)
importFrom(stats,dt)
importFrom(stats,median)
importFrom(stats,model.matrix)
importFrom(stats,optim)
importFrom(stats,optimize)
importFrom(stats,p.adjust)
importFrom(stats,pf)
Expand All @@ -61,7 +72,9 @@ importFrom(stats,pt)
importFrom(stats,qf)
importFrom(stats,qnorm)
importFrom(stats,qt)
importFrom(stats,qtukey)
importFrom(stats,sd)
importFrom(stats,terms)
importFrom(stats,uniroot)
importFrom(tidyr,expand_grid)
importFrom(tidyselect,matches)
Expand Down
Loading

0 comments on commit 62e0b5c

Please sign in to comment.