| PACKAGE | |STAT Data Manipulation and Analysis, by Gary Perlman |
|---|---|
| NAME | features - tabulate features of items |
| USAGE | features [-h] [-c col-delim] [-f inputfile] [-i itemwidth] [-l leader] [-n no-str] [-p pagesize] [-w featwidth] [-y yes-str] feature[=width] [feature[=width] ...] |
| WEB FORM | features can be run from an online web form. |
| DESCRIPTION | Think of this program as a consumer product comparison checklist tool. For each item, there are features that you would like the product to have, and for some features, several values are possible. |
| OPTIONS |
The following standard help options are supported. The program exits after displaying the help.
|
| EXAMPLES |
Product Comparisons
Suppose you want to buy a toaster with a bunch of features like inexpensive, reliable, wood-grain and one that holds four slices of bread. These features might be: price (L=low, M=medium, H=high), reliability (yes, no), finish (M=metal, W=wood-grain, O=other), and capacity (number of slices of bread). A set of toasters (items) might be described by a list of features: BrandX price=Med reliable finish=Wood capacity=4 BrandY price=High finish=Metal capacity=2 BrandZ price=Low finish=Wood capacity=4The above input, along with the feature labels: Price Reliable Finish Capacityin the command: features -c " | " Price=4 Reliable Finish=6 Capacitywill display:
| Price
| | Reliable
| | | Finish
| | | | Capacity
BrandX_________ | Med | # | Wood | 4 |
BrandY_________ | High | | Metal | 2 |
BrandZ_________ | Low | | Wood | 4 |
Another command shows how the same information can be viewed differently. features -l. -c" " -h -nNo -yYes Price=6 Reliable=10 Finish=6 Capacity=10
Price Reliable Finish Capacity
BrandX......... Med Yes Wood 4
BrandY......... High No Metal 2
BrandZ......... Low No Wood 4
Other Uses
The program has been useful for organizing lists of publications by the topics they cover and for listing the research interests of faculty in a large Midwest computer science department. |
| SEE ALSO | ptx (permuted index), sort |
| WARNINGS | Try to avoid similar feature names, especially ones that begin with the same characters. |
| UPDATED | March 10, 1989 |