Skip to content

Commit

Permalink
unit tests and prepping for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinfife committed Feb 26, 2020
1 parent 9d8ca5f commit 3d9ea12
Show file tree
Hide file tree
Showing 29 changed files with 3,201 additions and 101 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ README_files/
tests/
^doc$
^Meta$
jasp_documentation/
paranormal.csv
EJ notes.rtf
R/flexplota.b.R
# stuff to ignore jasp when doing CMD check
Expand Down
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Imports: cowplot,
forcats,
purrr,
plyr,
R6
R6,
ggplot2
Suggests: jmvcore (>= 0.8.5),
vdiffr,
knitr,
Expand Down
4 changes: 0 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ export(bf.bic)
export(compare.fits)
export(estimates)
export(flexplot)
export(flexplot_jasp2)
export(flip_data)
export(geom_jitterd)
export(glinmod)
export(glinmod_jasp)
export(linmod_jasp)
export(make.formula)
export(mixed.mod.visual)
export(mixedmod_jasp)
export(model.comparison)
export(position_jitterd)
export(position_jitterdodged)
Expand Down
2 changes: 1 addition & 1 deletion R/flexplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ flexplot = function(formula, data=NULL, related=F,
sample=Inf,
prediction = NULL, suppress_smooth=F, alpha=.99977, plot.string=F, silent=F,
third.eye=NULL,
plot.type = c("histogram", "qq", "density", "boxplot", "violin")){
plot.type = c("histogram")){

#data = exercise_data
##### use the following to debug flexplot
Expand Down
2 changes: 1 addition & 1 deletion R/glinmod.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
##' glinmod(weight.loss~gender, data=exercise_data)
##' ## pass parameters to flexplot
##' glinmod(weight.loss~gender + motivation, data=exercise_data,
##' se=FALSE, method="lm")
##' method="lm")
glinmod = function(f, data, plot=TRUE, ...){

#### run the lm
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ A more complete manual for flexplot can be found at the [Psych Arxiv](https://ps
# install the stable version
devtools::install_github("dustinfife/flexplot")
# install the development version
devtools::install_github("dustinfife/flexplot", repo="development")
devtools::install_github("dustinfife/flexplot", ref="development")
```


Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Arxiv](https://psyarxiv.com/kh9c3)
# install the stable version
devtools::install_github("dustinfife/flexplot")
# install the development version
devtools::install_github("dustinfife/flexplot", repo="development")
devtools::install_github("dustinfife/flexplot", ref="development")
```

## Usage
Expand Down Expand Up @@ -143,7 +143,7 @@ model.comparison(full.mod, reduced.mod)
#>
#> $pred.difference
#> 0% 25% 50% 75% 100%
#> 0.003 0.040 0.084 0.158 0.585
#> 0.033 0.460 0.962 1.814 6.736
```

## Getting help
Expand Down
Binary file modified README_files/figure-gfm/unnamed-chunk-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified README_files/figure-gfm/unnamed-chunk-3-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion man/flexplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 0 additions & 22 deletions man/flexplot_jasp2.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion man/glinmod.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 0 additions & 22 deletions man/glinmod_jasp.Rd

This file was deleted.

22 changes: 0 additions & 22 deletions man/linmod_jasp.Rd

This file was deleted.

22 changes: 0 additions & 22 deletions man/mixedmod_jasp.Rd

This file was deleted.

Loading

0 comments on commit 3d9ea12

Please sign in to comment.