Learn R Programming

permuco (version 1.1.3)

Pmat_product: Multiplies a vector with a Pmat object

Description

Multiplies a vector or matrix with a Pmat object

Usage

Pmat_product(x, P, type = NULL)

Value

A matrix n x np containing the permutated/signflipped vectors.

Arguments

x

A a vector or matrix

P

A Pmat object

type

A character string indicating the type of transformation. This argument need to be specified if P is not of class Pmat.

See Also

Other pmat: Pmat(), as.Pmat()