create_triangle_field: Create Statistical Significance

Description Usage Arguments Details Value

View source: R/create_triangle_field.R

Description

Create a star indicator based on the p.value.

Usage

1

Arguments

df

The data frame containing 'p.value' and 'effect_size'.

Details

Statistical tests return p-values (in a column called p.value - if you use the 'broom' package) and we also create 'effect_size' using the 'lsr' package. this creates the variable 'triangle' that shows both the direction, the statistical significance and the effect size.

Value

The data frame with a 'significance' column added.


sechilds/surveyetl documentation built on June 3, 2020, 5:04 p.m.