This is the result generated by
crossprod, and a
As a sub-class of
db.Rquery, this class contains
all the slots that belong to
db.Rquery. It also
has one additional slot as is described in the following.
A vector of logical values, which has the same length as the
number of columns. Whether each column is the result of
A vector of logical values, which has the same length as the number of columns. Whether the column contains matrices that are symmetric.
Dimension of the matrix represented by this object.
All methods for
db.data.frame can be applied onto
Author: Predictive Analytics Team at Pivotal Inc.
Maintainer: Frank McQuillan, Pivotal Inc. [email protected]
db.Rquery is the superclass.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
## Not run: showClass("db.Rcrossprod") ## 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) ## x points to table "abalone" x <- as.db.data.frame(abalone, conn.id = cid, verbose = FALSE) lookat(crossprod(x[,-c(1,2)])) x$arr <- db.array(1, x$length, x$diameter) lookat(crossprod(x$arr)) 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.