[Rcpp-commits] r3103 - pkg/RcppEigen/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Jun 23 20:02:33 CEST 2011
Author: dmbates
Date: 2011-06-23 20:02:33 +0200 (Thu, 23 Jun 2011)
New Revision: 3103
Modified:
pkg/RcppEigen/man/fastLm.Rd
Log:
Add a simple example.
Modified: pkg/RcppEigen/man/fastLm.Rd
===================================================================
--- pkg/RcppEigen/man/fastLm.Rd 2011-06-23 14:56:40 UTC (rev 3102)
+++ pkg/RcppEigen/man/fastLm.Rd 2011-06-23 18:02:33 UTC (rev 3103)
@@ -83,12 +83,10 @@
}
\examples{
data(trees, package="datasets")
- data(trees, package="datasets")
mm <- cbind(1, log(trees$Girth)) # model matrix
y <- log(trees$Volume) # response
crossprod(mm)
- .Call("crossprod1", mm, PACKAGE="RcppEigen") # doesn't use wrap
- .Call("crossprod", mm, PACKAGE="RcppEigen") # uses wrap
+ .Call("crossprod", mm, PACKAGE="RcppEigen")
## bare-bones direct interface
flm <- fastLmPure(mm, y)
More information about the Rcpp-commits
mailing list