search for: namx

Displaying 3 results from an estimated 3 matches for "namx".

Did you mean: name
2003 Oct 27
2
problem using do.call and substitute for predict.glm using poly()
...ot;Alk1" not 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 t...
2005 Aug 03
1
deparse(substitute(x)) and S3 methods
...ot;symmetric"), reg.method = c("simpls", "eigen"), weights = NULL, n.axes = NULL, symmetric = FALSE, ...) { ##some checking code here removed### nam.dat <- list(namY = deparse(substitute(y)), namX = deparse(substitute(x))) method <- match.arg(method) if(method == "predictive") { reg.method <- match.arg(reg.method) retval <- switch(reg.method, simpls = predcoca.simpls(y, x, R0 = weights, n.axe...
2023 Jan 18
9
remove most callers of write_one_page v3
Hi all, this series removes most users of the write_one_page API. These helpers internally call ->writepage which we are gradually removing from the kernel. Changes since v2: - more minix error handling fixes Changes since v1: - drop the btrfs changes (queue up in the btrfs tree) - drop the finaly move to jfs (can't be done without the btrfs patches) - fix the existing minix code to