search for: gnm_function

Displaying 1 result from an estimated 1 matches for "gnm_function".

Did you mean: gene_function
2009 Apr 30
0
Categorical variable in a custom nonlin function with gnm
...*** LithologyE 1.699259 0.007617 223.10 <2e-16 *** LithologyF 1.505159 0.009932 151.54 <2e-16 *** This gives the same result as putting in the original categorical Lithology variable. But something goes wrong when I create the same model using a custom nonlin function: > gnm_function<- function(B1, B2, B3, B4, B5){ + list( + predictors = list(B1=1, B2=1, B3=1, B4=1, B5=1), + variables = list(substitute(LithologyB), substitute(LithologyC), substitute(LithologyD), substitute(LithologyE), substitute(LithologyF)), + term = function(predLabels, varLabels) { + paste( + predLabels[...