-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplotSubsets.Rd
40 lines (33 loc) · 1.99 KB
/
plotSubsets.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% File man/plotSubsets.Rd
% Part of the DEVISE package, https://github.com/cwendorf/DEVISE
\name{plotSubsets}
\alias{plotSubsets}
\alias{plotMeanSubsets}
\title{Plot Subsets}
\description{Provides the plot of the mean subsets and mean contrast confidence intervals.}
\usage{
\method{plotSubsets}{data.frame}(frame, contrast, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, labels=NULL, ylim=NULL, digits=3)
\method{plotSubsets}{formula}(formula, contrast, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, labels=NULL, ylim=NULL, digits=3)
\method{plotSubsets}{wsm}(moments, corrs, contrast, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, labels=NULL, ylim=NULL, digits=3)
\method{plotSubsets}{bsm}(moments, contrast, ylab="Outcome", xlab="", mu=0, conf.level=.95, rope=NULL, values=TRUE, main=NULL, labels=NULL, ylim=NULL, digits=3)
}
\arguments{
\item{frame}{a set of (non-empty) numeric vectors of data values}
\item{formula}{a formula of the form \code{lhs ~ rhs} where \code{lhs} is a numeric variable giving the data values and \code{rhs} a factor giving the corresponding groups}
\item{moments}{a matrix/frame of descriptive/summary statistics}
\item{corrs}{a matrix/frame of correlations among the measures}
\item{contrast}{a vector of codes for the contrast among all means}
\item{mu}{a number indicating the true/hypothesized value of the mean contrast}
\item{conf.level}{confidence level of the interval}
\item{main}{a custom title for the graph}
\item{labels}{custom labels for the subsets}
\item{ylim}{custom limits for the y axis}
\item{digits}{the specified number of decimal places}
}
\value{
The returned plot contains the following components:
\item{Est}{the subset means for the variables or groups}
\item{LL}{the lower limit of the confidence interval of the subset means}
\item{UL}{the upper limit of the confidence interval of the subset means}
\item{mu}{a horizontal line for the true/hypothesized value}
}