Pmat_product: Multiplies a vector with a Pmat object

View source: R/Pmat_product.R

Pmat_productR Documentation

Multiplies a vector with a Pmat object

Description

Multiplies a vector or matrix with a Pmat object

Usage

Pmat_product(x, P, type = NULL)

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.

Value

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

See Also

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


jaromilfrossard/permuco documentation built on July 2, 2022, 10:34 p.m.