Pmat_product {permuco}R 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()


[Package permuco version 1.1.2 Index]