na.action {PivotalR} | R Documentation |
NA
values in data'na.omit' returns the object with incomplete cases removed.
## S4 method for signature 'db.obj' na.omit(object, vars = NULL, ...)
object |
A |
vars |
An array of strings, default is |
... |
Further arguments, not implemented yet. |
A db.Rquery
object, which wraps the operation that filters the NA
values from the columns vars
in object
.
Author: Predictive Analytics Team at Pivotal Inc.
Maintainer: Frank McQuillan, Pivotal Inc. fmcquillan@pivotal.io
madlib.lm
, madlib.glm
for linear and logistic regressions.
## Not run: ## set up the database connection ## Assume that .port is port number and .dbname is the database name cid <- db.connect(port = .port, dbname = .dbname, verbose = FALSE) delete("abalone", conn.id = cid) dat <- as.db.data.frame(abalone, "abalone", conn.id = cid, verbose = FALSE) madlib.lm(rings ~ . - sex - id, data = dat, na.action = na.omit) db.disconnect(cid, verbose = FALSE) ## End(Not run)