search for: tasgn

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

Did you mean: tasan
2003 Oct 27
2
problem using do.call and substitute for predict.glm using poly()
...found When trying to evaluate the following code: pAsgn <- paste("predList[[i]][[n]] <- try(predict(resList$Y$X, newdata = data.frame(X = predData$X), type = 'response', se = TRUE))") pAsgn <- parse(text = pAsgn)[[1]] for (i in namY) { for (n in namX) { TAsgn <- do.call("substitute", list(pAsgn, list(n = n, i = i, X = as.name(n), Y = as.name(i)))) eval(TAsgn) } } Alk1 is used above as an example, all 23 predictors are 'not found' depending on which part of the loop I'm in. Investigation of the predList objec...