Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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.

Example:
library("glm")
stitle="make your choice"
sitems="1"|"2"|"3"
atitle="make ONE choice"
no=select1item(stitle,sitems,atitle)
no

Result:
Your chosen number.



Author: M. Mueller, 20010228
(C) MD*TECH Method and Data Technologies, 05.02.2006