Hi, I'm 22 years old, I'm a tech geek, because I started learning programming and stuff on youtube and other sites. I created this GitHub account to learn things like: html & css & javascript & Bootstrap & sass & react &Web server hacker, white hat hacker, server virtualization and computer network monitoring expert
I love rubik's cube or board games like chess, checkers and other games, by the way, I create things about this, like the CanUseTimer app, it's my best project for a while.
You can install the rempsyc
package directly from CRAN:
install.packages("rempsyc")
Or the development version from the r-universe (note that there is a 24-hour delay with GitHub):
install.packages("rempsyc", repos = c( rempsyc = "https://rempsyc.r-universe.dev", CRAN = "https://cloud.r-project.org"))
Or from GitHub, for the very latest version:
"rempsyc/rempsyc"
You can load the package and open the help file, and click “Index” at the bottom. You will see all the available functions listed.
library(rempsyc) ?rempsyc
library(rempsyc) nice_t_test(data = mtcars, response = c("mpg", "disp", "drat", "wt"), group = "am") -> t.tests t.tests #> Dependent Variable t df p d CI_lower #> 1 mpg -3.767123 18.33225 0.001373638333 -1.477947 -2.2659731 #> 2 disp 4.197727 29.25845 0.000230041299 1.445221 0.6417834 #> 3 drat -5.646088 27.19780 0.000005266742 -2.003084 -2.8592770 #> 4 wt 5.493905 29.23352 0.000006272020 1.892406 1.0300224 #> CI_upper #> 1 -0.6705686 #> 2 2.2295592 #> 3 -1.1245498 #> 4 2.7329218
# Format t-test results t_table <- nice_table(t.tests) t_table
contrasts <- nice_contrasts( data = mtcars, response = c("mpg", "disp"), group = "cyl", covariates = "hp") contrasts #> Dependent Variable Comparison df t p d #> 1 mpg 4 - 8 28 3.663188 0.001028617005 3.587739 #> 2 mpg 6 - 8 28 1.290359 0.207480642577 1.440495 #> 3 mpg 4 - 6 28 3.640418 0.001092088865 2.147244 #> 4 disp 4 - 8 28 -6.040561 0.000001640986 -4.803022 #> 5 disp 6 - 8 28 -4.861413 0.000040511099 -3.288726 #> 6 disp 4 - 6 28 -2.703423 0.011534398020 -1.514296 #> CI_lower CI_upper #> 1 2.7233152 4.5444020 #> 2 0.7636356 1.9983921 #> 3 1.3463241 3.0909832 #> 4 -5.8742386 -3.8249073 #> 5 -4.3364754 -2.2536315 #> 6 -2.2348783 -0.8642249