https://github.com/cran/Matrix
Raw File
Tip revision: 88232618987bd241ef9d0059a493a74106c64e69 authored by Douglas Bates on 09 September 2005, 00:00:00 UTC
version 0.98-7
Tip revision: 8823261
NAMESPACE
useDynLib(Matrix)

importFrom("graphics",image)
importFrom("graphics",plot)		## lmer-related
importFrom("lattice", levelplot)
importFrom("grid",    grid.rect, gpar, grob)
import("stats")				## lmer-related

## Currently, group generics need to be explicitly imported (Bug?):
importFrom("methods", Arith, Compare, Math, Math2, Summary, Complex)

## Generics and functions defined in this package
export(
       "Hilbert",
       "Matrix",
       "Schur",
       "bCrosstab",
       "expand",
       "expm",
       "facmul",
       #not on purpose: "isSymmetric",
       "lu",
       "norm",
       "rcond",
       "readHB",
       "readMM",
       "round", # "Math2" group (needs explicit setGeneric(.))
       "signif",#  {ditto}
       "tcrossprod",
       "unpack",
       "writeHB",
       "writeMM"
       )

## lmer-related
export("lmer", "mcmcsamp", "simulate")

exportClasses(
	      "index",

	      "BunchKaufman",
	      "pBunchKaufman",
	      "Cholesky",
	      "pCholesky",
	      "LU",
	      "Matrix",
	      ## also intermediate `virtual' ones:
	      "dMatrix",
	      "lMatrix",
	      "denseMatrix",
	      "sparseMatrix",
              "symmetricMatrix",
              "triangularMatrix",
	      "dsparseMatrix",
	      "lsparseMatrix",
	      "ddenseMatrix",
	      ## not yet used, but as sub-classes;
	      ## need to provide them for 'hierarchy-analysis':
	      "iMatrix",
	      "zMatrix",
	      "ldenseMatrix",

	      "dgBCMatrix",
	      "dgCMatrix",
	      "dgRMatrix",# unused
	      "dgTMatrix",
	      "dgeMatrix",
	      "dpoMatrix",
	      "dppMatrix",
	      "dsCMatrix",
	      "dsRMatrix",# unused
	      "dsTMatrix",
	      "dspMatrix",
	      "dsyMatrix",
	      "dtCMatrix",
	      "dtRMatrix",# unused
	      "dtTMatrix",
	      "dtpMatrix",
	      "dtrMatrix",

	      "lgCMatrix",
	      "lsCMatrix",
	      "ltCMatrix",
	      "lgRMatrix",
	      "lsRMatrix",
	      "ltRMatrix",
	      "lgTMatrix",
	      "lsTMatrix",
	      "ltTMatrix",

	      "corrmatrix",
	      "pMatrix",
	      "pdmatrix",
	      "dCholCMatrix",
	      "lCholCMatrix"
	      )

## lmer-related
exportClasses("VarCorr", "lmer", "mer", "summary.lmer")


exportMethods(
	      ## Group Methods
	      "Arith",
	      "Math",
	      "Math2",

	      "+",# for dgT(Matrix) only
	      "%*%",

	      "Schur",
	      "as.matrix",
	      "chol",
	      "colMeans",
	      "colSums",
	      "coerce",
	      "crossprod",
	      "determinant",
	      "diag",
	      "dim",
	      "dimnames",
	      "dimnames<-",
	      "expand",
	      "expm",
	      "kronecker",
	      "image",
	      "norm",
	      "rcond",
	      "rowMeans",
	      "rowSums",
	      "show",
	      "solve",
	      "t",
	      "tcrossprod"
	      )

## only for R >= 2.2:
if(paste(R.version$major, R.version$minor, sep=".") >= "2.2") {

exportMethods("cbind2")

}


## lmer-related
exportMethods("BIC", "anova", "coef", "confint", "deviance", "fitted",
	      "fixef", "formula", "lmer", "logLik", "mcmcsamp",
	      "plot", "ranef", "residuals", "resid", "simulate",
	      "summary", "update", "vcov", "VarCorr", "with")

back to top