hist.clinsig {clinsig}R Documentation

Plot a histogram of a clinsig list

Description

Displays a histogram of the result of the ‘⁠clinsig⁠’ function.

Usage

 ## S3 method for class 'clinsig'
hist(x,breaks=NA,main="",xlab="Score",ylab="Frequency",
  xlim=NA,ylim=NA,col=2:3,border=par("fg"),only.pairs=FALSE,...)

Arguments

x

a clinsig table produced by clinsig

breaks

The breaks to be used in categorizing scores.

main

The title for the plot.

xlab, ylab

The labels for the axes.

xlim, ylim

The limits for the plot.

col

The colors of the paired bars, pre- first, post- second.

border

The border color for the bars.

only.pairs

Whether to display counts only for clients with both pre and post scores.

...

additional arguments passed to ‘⁠plot⁠’.

Details

⁠hist.clinsig⁠’ displays a histogram of the counts of scores in the categories defined by ‘⁠breaks⁠’ and other information in the object returned by ‘⁠clinsig⁠’.

The default is to display all pre and post scores. This may lead to plots that look wrong because the measures of central tendency were calculated for pairs rather than all scores. Setting ‘⁠only.pairs⁠’ will display only the pairs of scores.

Value

nil

Author(s)

Jim Lemon

See Also

clinsig


[Package clinsig version 1.2 Index]