brinley: Modified Brinley's plots

Description Usage Arguments Author(s) References Examples

Description

Examining within-subject effects using a modified Brinley plot (Blampied, 2017).

Usage

1
brinley(data, formula, facet = NULL, colour = NULL, background = TRUE)

Arguments

data

A dataframe containing all relevant variables

formula

A simple formula of the form y ~ x (nb: with only one predictor)

facet

A facet... (should be set to NULL otherwise)

colour

A colour... (should be set to NULL otherwise)

background

Should the whole dataset be plotted in background ?

Author(s)

Ladislas Nalborczyk <ladislas.nalborczyk@gmail.com>

References

Blampied, N. M. (2017). Analyzing Therapeutic Change Using Modified Brinley Plots: History, Construction, and Interpretation. Behavior Therapy, 48, 115-117.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data(brinley_data)

brinley(
brinley_data, formula = outcome ~ session, facet = "condition", colour = "pain",
background = FALSE)

data(dominance)
brinley(data = dominance, formula = value ~ group, facet = "exp")

## End(Not run)

lnalborczyk/LNmisc documentation built on May 31, 2019, 2:49 p.m.