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: glmest doglm list append delete

Quantlet: glmopt
Description: glmopt defines a list with optional parameters in glm functions. The list is either created or new options are appended to an existing list. Note that glmopt does accept _any_ values for the parameters without validity.

Link:
Usage: opt = glmopt(s0,v0{,s1,v1{,...{,opt0}}})
Input:
s0,s1,... string, name of the component to add. Allowed are "code" (model code), "wx" (weights), "weights" (weights type), "off" (offset), "norepl" (no search for replications), "shf" (show iteration process), "miter" (maximal number of iterations), "cnv" (convergence criterion), "fscor" (Fisher scoring) "pow" (power) "nbk" (parameter k for negative binomial). For glmout, the parameters "nopic" (no picture), "name" (output name), "xvars" (variable names) "title" (output title) are possible as well. The model selection functions know also "shm" (show selection process), "fix" (keep variables fix) and "crit" (for AIC or BIC). See "doglm", "glmfit", "glmest", "glmout" and glmselect", "glmforward", "glmbackward" for the meaning of these components.
v1,v2,... object, value of the corresponding component to add.
opt0 optional, name of list where the component(s) should be added.
Output:
opt resulting list of options.

Example:
library("glm")
opt=glmopt("cnv",0.001,"miter",20,"title","MyExample")
opt

Result:
Contents of opt.cnv
[1,]    0.001
Contents of opt.miter
[1,]       20
Contents of opt.title
[1,] MyExample



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