Simple Proc Print trick for grouped data

This post was kindly contributed by SAS Learning Post - go there to comment and to read the full post.

Here’s a Proc Print trick for grouped data. Suppose your data is divided into groups, such as males and females. You could sort by the grouping variable before printing, like this: Suppose you want to better emphasize the groups. You could add a BY statement, like this: OK, but, personally, […]

The post Simple Proc Print trick for grouped data appeared first on SAS Learning Post.

This post was kindly contributed by SAS Learning Post - go there to comment and to read the full post.