Usage Note 23358: In ODS HTML output, how can I stack the columns within a cell?
This is controlled by the grouping of the COLUMN statement.
The below COLUMN statement places the statistics SUM and MEANS in
one column (the header being the one for SUM), and MIN and
MAX height in one column (the header being the one for MIN).
View output.
proc template;
edit Base.Summary;
notes "Summary table for MEANS and SUMMARY";
column class nobs id type ways
(varname) (label) (min max) (range)
(n) (nmiss) (sumwgt) (sum mean) (uss)
(css) (var) (stddev) (cv) (stderr)
(t) (probt) (lclm) (uclm) (skew) (kurt)
(median) (mode) (q1) (q3)
(qrange) (p1) (p5) (p10) (p25) (p50) (p75)
(p90) (p95) (p99);
edit min;
define header hmin;
text "Min/Max";
end;
header = hmin;
generic;
end;
edit sum;
header = "Sum/Mean";
end;
run;
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | Base SAS | All | n/a | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
| Date Modified: | 2003-09-22 11:32:31 |
| Date Created: | 2003-08-08 17:04:26 |