nullspace: Nullspace

Description Usage Arguments Details Value Author(s) Examples

View source: R/estimability.R

Description

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

Usage

1
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.

Details

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

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.

Author(s)

Rune Haubo B. Christensen

Examples

1
# FIXME: We need some examples here

runehaubo/lmerTestR documentation built on Oct. 6, 2018, 9:10 a.m.