Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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

# FIXME: We need some examples here

lmerTest

Tests in Linear Mixed Effects Models

v3.1-3
GPL (>= 2)
Authors
Alexandra Kuznetsova [aut], Per Bruun Brockhoff [aut, ths], Rune Haubo Bojesen Christensen [aut, cre], Sofie Pødenphant Jensen [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.