Create boxplot for two groups.
More...
Go to the source code of this file.
Create boxplot for two groups.
Specification for chart:
- two overlayed boxplots, one per group, the two plots shall be slightly offset for readability.
- boxplot for the smaller value of &group has gray color with dashed median line
- boxplot for the greater value of &group has black color with continuous median line
- lower border of boxes are at 25th percentile, higher border at 75th percentile
- whiskers shall be drawn from maximum and minimum value
- labels for variables &x und &y shall be written to the axes
- there shall be a legend for the group variable
- report format ist PDF
- Version
- $Revision: 315 $
- Author
- $Author: klandwich $
- Date
- $Date: 2014-02-28 10:25:18 +0100 (Fr, 28 Feb 2014) $
- See Also
- For further information please refer to SASUnit User's Guide
-
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/example/saspgm/boxplot.sas $
- Copyright
- Copyright 2010, 2012 HMS Analytical Software GmbH. This file is part of SASUnit, the Unit testing framework for SAS(R) programs. For terms of usage under the GPL license see included file readme.txt or https://sourceforge.net/p/sasunit/wiki/readme.v1.2/.
- Parameters
-
data | input data sets |
x | variable for x axis, must be numeric and equidistant und must have at least two values, missing values are not allowed |
y | variable for y axis, must be numeric |
group | variable for grouping, must be dichotomous, missing values are not allowed |
report | output report file (file name extension must be pdf) |
Definition in file boxplot.sas.