From 8a0e79d11b82863fda5fd54ae05c119d4a31df8a Mon Sep 17 00:00:00 2001 From: Jacob Long Date: Sat, 7 Sep 2024 16:40:49 -0400 Subject: [PATCH] Add JOSS citation --- README.Rmd | 1 + README.md | 104 ++++++++++++++++++++++++++------------------------ inst/CITATION | 13 ++++--- 3 files changed, 63 insertions(+), 55 deletions(-) diff --git a/README.Rmd b/README.Rmd index 7fca1125..f96bc44c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -29,6 +29,7 @@ library(jtools) [![R-CMD-check](https://github.com/jacob-long/jtools/workflows/R-CMD-check/badge.svg)](https://github.com/jacob-long/jtools/actions) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/jacob-long/JTools?branch=master&svg=true)](https://ci.appveyor.com/project/jacob-long/JTools) [![codecov](https://codecov.io/gh/jacob-long/jtools/branch/master/graph/badge.svg)](https://app.codecov.io/gh/jacob-long/jtools) +[![DOI](https://joss.theoj.org/papers/10.21105/joss.06610/status.svg)](https://doi.org/10.21105/joss.06610) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0) diff --git a/README.md b/README.md index b1b17921..3dd7607d 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Practices](https://bestpractices.coreinfrastructure.org/projects/2527/badge)](ht [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/jacob-long/JTools?branch=master&svg=true)](https://ci.appveyor.com/project/jacob-long/JTools) [![codecov](https://codecov.io/gh/jacob-long/jtools/branch/master/graph/badge.svg)](https://app.codecov.io/gh/jacob-long/jtools) +[![DOI](https://joss.theoj.org/papers/10.21105/joss.06610/status.svg)](https://doi.org/10.21105/joss.06610) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0) @@ -85,7 +86,7 @@ summ(fit) #> R² = 0.09 #> Adj. R² = 0.08 #> - #> Standard errors: OLS + #> Standard errors:OLS #> -------------------------------------------------- #> Est. S.E. t val. p #> ----------------- ------- -------- -------- ------ @@ -122,7 +123,7 @@ summ(fit, scale = TRUE, vifs = TRUE, part.corr = TRUE, confint = TRUE, pvals = F #> R² = 0.09 #> Adj. R² = 0.08 #> - #> Standard errors: OLS + #> Standard errors:OLS #> ------------------------------------------------------------------------------ #> Est. 2.5% 97.5% t val. VIF partial.r part.r #> ----------------- ------- ------- ------- -------- ------ ----------- -------- @@ -132,7 +133,7 @@ summ(fit, scale = TRUE, vifs = TRUE, part.corr = TRUE, confint = TRUE, pvals = F #> year 0.05 -1.18 1.28 0.08 1.24 0.00 0.00 #> ------------------------------------------------------------------------------ #> - #> Continuous predictors are mean-centered and scaled by 1 s.d. + #> Continuous predictors are mean-centered and scaled by 1 s.d. The outcome variable remains in its original units. Cluster-robust standard errors: @@ -181,7 +182,7 @@ coef_names <- c("Budget" = "log(budget)", "US Gross" = "log(us_gross)", export_summs(fit, fit_b, fit_c, robust = "HC3", coefs = coef_names) ``` - +
@@ -200,7 +201,7 @@ Model 3 - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Budget @@ -214,88 +215,88 @@ Budget
+ + (0.44)    + (0.62)    + (0.67)   
+ US Gross +         + 3.96 \*\*\* + 3.85 \*\*\*
+ +         + (0.51)    + (0.48)   
+ Runtime (Hours) +         +         + 14.29 \*\*\*
+ +         +         + (1.63)   
+ Constant + 105.29 \*\*\* + 81.84 \*\*\* + 83.35 \*\*\*
+ (7.65)    @@ -308,7 +309,7 @@ Constant
+ N @@ -393,10 +394,12 @@ variable alongside the observed data. effect_plot(fit_c, pred = runtime, interval = TRUE, plot.points = TRUE) ``` - #> Using data movies from global environment. This could cause incorrect results if movies has been altered since the model was fit. - #> You can manually provide the data to the "data =" argument. + #> Using data movies from global environment. This could cause incorrect + #> results if movies has been altered since the model was fit. You can + #> manually provide the data to the "data =" argument. - #> Warning: Removed 10 rows containing missing values (geom_point). + #> Warning: Removed 10 rows containing missing values or values outside the scale range + #> (`geom_point()`). ![](man/figures/unnamed-chunk-9-1.png) @@ -408,8 +411,9 @@ after accounting for effects of control variables. effect_plot(fit_c, pred = runtime, interval = TRUE, partial.residuals = TRUE) ``` - #> Using data movies from global environment. This could cause incorrect results if movies has been altered since the model was fit. - #> You can manually provide the data to the "data =" argument. + #> Using data movies from global environment. This could cause incorrect + #> results if movies has been altered since the model was fit. You can + #> manually provide the data to the "data =" argument. ![](man/figures/unnamed-chunk-10-1.png) @@ -420,20 +424,20 @@ much more are supported. There are several other things that might interest you. -- `gscale()`: Scale and/or mean-center data, including `svydesign` - objects -- `scale_mod()` and `center_mod()`: Re-fit models with scaled and/or - mean-centered data -- `wgttest()` and `pf_sv_test()`, which are combined in - `weights_tests()`: Test the ignorability of sample weights in - regression models -- `svycor()`: Generate correlation matrices from `svydesign` objects -- `theme_apa()`: A mostly APA-compliant `ggplot2` theme -- `theme_nice()`: A nice `ggplot2` theme -- `add_gridlines()` and `drop_gridlines()`: `ggplot2` theme-changing - convenience functions -- `make_predictions()`: an easy way to generate hypothetical predicted - data from your regression model for plotting or other purposes. +- `gscale()`: Scale and/or mean-center data, including `svydesign` + objects +- `scale_mod()` and `center_mod()`: Re-fit models with scaled and/or + mean-centered data +- `wgttest()` and `pf_sv_test()`, which are combined in + `weights_tests()`: Test the ignorability of sample weights in + regression models +- `svycor()`: Generate correlation matrices from `svydesign` objects +- `theme_apa()`: A mostly APA-compliant `ggplot2` theme +- `theme_nice()`: A nice `ggplot2` theme +- `add_gridlines()` and `drop_gridlines()`: `ggplot2` theme-changing + convenience functions +- `make_predictions()`: an easy way to generate hypothetical predicted + data from your regression model for plotting or other purposes. Details on the arguments can be accessed via the R documentation (`?functionname`). There are now vignettes documenting just about diff --git a/inst/CITATION b/inst/CITATION index 27f1a851..1ab62fde 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,10 +1,13 @@ bibentry( - bibtype = "Manual", + bibtype = "Article", title = "jtools: Analysis and Presentation of Social Scientific Data", + journal = "Journal of Open Source Software", author = person(c("Jacob","A."), "Long", email = "jacob.long@sc.edu", role = c("aut", "cre")), - year = "2022", - note = "R package version 2.2.0", - url = "https://cran.r-project.org/package=jtools", - key = "jtools" + year = "2024", + key = "jtools", + doi = "10.21105/joss.06610", + volume = "9", + number = "101", + pages = "6610" )