Description Usage Arguments Value Author(s) See Also Examples
'na.omit' returns the object with incomplete cases removed.
1 2 |
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.