BKIDENTIFY procedure
Identifies specimens using a key (R.W. Payne).
Options
Parameter
Description
BKIDENTIFY identifies specimens using an identification key, as constructed by the BKEY procedure. The key can be saved from BKEY as a GenStat tree structure (using the KEY option of BKEY), and supplied to BKIDENTIFY using its own KEY option. Alternatively, BKIDENTIFY will ask you for the identifier of the key if you do not specify KEY when running interactively.
The characteristics of the specimens can be specified by using the CHARACTER parameter. This must be set to a list of factors with names (and levels) identical to those used originally to construct the key. If you do not set CHARACTER when running interactively, BKIDENTIFY will ask you to examine the characters in turn, as required by the key.
The PRINT option controls printed output, with settings:
If you do not set PRINT in an interactive run, BKIDENTIFY will ask what you would like to print. In batch, the default is to print the identifications.
The IDENTIFICATION option allows you to save the identifications (in a text), and the TERMINALNODE option allows you to save a variate containing the numbers of the terminal nodes that the specimens reached in the key.
Options: PRINT, KEY, IDENTIFICATION, TERMINALNODE.
Parameter: CHARACTER.
Method
BKIDENTIFY works its way through the key using the standard tree functions, BNBRANCHES and BNEXT. The QUESTION directive is used to obtain any information that is required in an interactive run.
Action with
RESTRICT
BKIDENTIFY takes account of any restrictions on the CHARACTER factors.