search for: latticparseformula

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

Did you mean: latticeparseformula
2003 Apr 11
1
lattice bug? (PR#2765)
...("superpose.symbol"), 1:4), columns = 4) ) This fails with the error: Error in 1:ncol(x) : NA/NaN argument I traced this to the line in the splom function: for (j in 1:ncol(x)) id.na <- id.na | is.na(x[, j]) but the root of the problem actually seems to be earlier, when latticParseFormula is called. form <- if (inherits(formula, "formula")) latticeParseFormula(formula, data) x <- as.data.frame(form$right) This seems not to work properly if data=parent.frame(). Should it? Apologies if this is something known, or if I'm doing something wrong! I'...