Learn R Programming

lmerTest (version 3.1-3)

nullspace: Nullspace

Description

Compute the (right or left) nullspace of matrix using a (semi-complete) Singular Value Decomposition.

Usage

nullspace(A, type = c("right", "left"), tol = sqrt(.Machine$double.eps))

Arguments

A

a numeric matrix.

type

"right" (default) gives is the standard nullspace, "left" gives left nullspace of A.

tol

tolerance multiple of the first singular value to determine if subsequent singular values are (sufficiently) positive to be determined greater than zero.

Value

a matrix with as many rows as there are columns in A. The number of columns (which may be zero) determine the dimensionality of the nullspace of A.

Details

This implementation is fastest on matrices with more rows than columns such as a typical design matrix for a linear model.

Examples

Run this code
# NOT RUN {
# FIXME: We need some examples here

# }

Run the code above in your browser using DataLab