| Library: | glm |
| See also: | glmfit doglm |
| Quantlet: | select1item | |
| Description: | select1item is an item selector for glm. It allows exactly one item to be selected. |
| Usage: | no=select1item(stitle,sitems,atitle) | |
| Input: | ||
| stitle | string, menu title. | |
| sitems | string vector, menu items. | |
| atitle | optional, an alternative menu title if an error (no selection or more than 1 selection) occurred. | |
| Output: | ||
| no | number of selected item. | |
library("glm")
stitle="make your choice"
sitems="1"|"2"|"3"
atitle="make ONE choice"
no=select1item(stitle,sitems,atitle)
no
Your chosen number.
| Library: | glm |
| See also: | glmfit doglm |