assess: Compare a given score to a parent population.

Description Usage Arguments Value Author(s) Examples

Description

Compare a given score to a parent population and draws a plot.

Usage

1
2
3
4
5
6
7
assess(score,
		mean=0,
		sd=1,
		distribution=NA,
		language="en",
		colour.line="#E91E63",
		colour.fill="#2196F3")

Arguments

score

The participant's score.

mean

The general population's mean.

sd

The general population's standart deviation.

distribution

Your own vector of parent distribution (if you feed in a vector, it will of course compute new values for the mean and sd).

language

"en" or "fr".

colour.line

The colour of the vertical line.

colour.fill

"The colour of the density plot.

Value

A ggplot2 plot.

Author(s)

Dominique Makowski

Examples

1
2
3
4
5
6
require(neuropsychology)

assess(3.4, mean=2.5, sd=1.2)

df <- personality
assess(24, distribution=df$Age)

neuropsychology/neuropsychology.R documentation built on May 23, 2019, 4:27 p.m.