Learn R Programming

clinsig (version 1.2)

hist.clinsig: Plot a histogram of a clinsig list

Description

Displays a histogram of the result of the clinsig function.

Usage

"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.

Value

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.

See Also

clinsig