Skip to content

Commit

Permalink
devtools::build_readme()
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Jul 22, 2024
1 parent ff2e6d2 commit 8bb084a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

## Warning: le package 'jtools' a été compilé avec la version R 4.3.3

# interactions <img src="man/figures/logo.png" alt="interactions" height="250px" align="right" />

<!-- badges: start -->

[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version-ago/interactions)](https://cran.r-project.org/package=interactions)
[![GitHub
tag](https://img.shields.io/github/tag/jacob-long/interactions.svg?label=Github)](https://github.com/jacob-long/interactions)
[![Total
Downloads](https://cranlogs.r-pkg.org/badges/grand-total/interactions)](https://cran.r-project.org/package=interactions)
[![Build
Status](https://github.com/jacob-long/interactions/workflows/R-CMD-check/badge.svg)](https://github.com/jacob-long/interactions/actions)
[![R-CMD-check](https://github.com/jacob-long/interactions/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jacob-long/interactions/actions/workflows/R-CMD-check.yaml)
[![AppVeyor Build
status](https://ci.appveyor.com/api/projects/status/qfyn5cwomufqxath?svg=true)](https://ci.appveyor.com/project/jacob-long/interactions)
[![codecov](https://codecov.io/gh/jacob-long/interactions/branch/master/graph/badge.svg)](https://codecov.io/gh/jacob-long/interactions)
Expand All @@ -18,6 +21,7 @@ state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![MIT
License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://opensource.org/licenses/MIT)
<!-- badges: end -->

This package consists of a number of tools for the analysis and
interpretation of statistical interactions in regression models. Some of
Expand All @@ -27,9 +31,9 @@ when done “by hand.”

Quick rundown of features:

- simple slopes analysis
- calculation of Johnson-Neyman intervals
- visualization of predicted and observed values using `ggplot2`
- simple slopes analysis
- calculation of Johnson-Neyman intervals
- visualization of predicted and observed values using `ggplot2`

All of these are implemented in a consistent interface designed to be as
simple as possible with tweaks and guts available to advanced users.
Expand Down Expand Up @@ -80,15 +84,15 @@ fiti <- lm(mpg ~ hp * wt, data = mtcars)
sim_slopes(fiti, pred = hp, modx = wt, jnplot = TRUE)
```

#> JOHNSON-NEYMAN INTERVAL
#> JOHNSON-NEYMAN INTERVAL
#>
#> When wt is OUTSIDE the interval [3.69, 5.90], the slope of hp is p < .05.
#>
#> Note: The range of observed values of wt is [1.51, 5.42]

![](man/figures/j-n-plot-1.png)<!-- -->

#> SIMPLE SLOPES ANALYSIS
#> SIMPLE SLOPES ANALYSIS
#>
#> Slope of hp when wt = 2.238793 (- 1 SD):
#>
Expand Down

0 comments on commit 8bb084a

Please sign in to comment.