Library: | glm |
See also: | glmest doglm list append delete |
Macro: | glmopt | |
Description: | glmopt defines a list with optional parameters in glm macros. 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. |
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 macros know also "shm" (show selection process), "fix" (keep variables fix) and "crit" (for AIC or BIC). See macros 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. |
library("glm") opt=glmopt("cnv",0.001,"miter",20,"title","MyExample") opt
Contents of opt.cnv [1,] 0.001 Contents of opt.miter [1,] 20 Contents of opt.title [1,] MyExample
Library: | glm |
See also: | glmest doglm list append delete |