make.vector0: Make a vector indexing rows that should be zero

Description Usage Arguments Value Examples

View source: R/SphereKaji20140527.R

Description

Make a vector indexing rows that should be zero

Usage

1

Arguments

r

A vector of positive integers, a vector of number of levels of variables

Value

A vector with 0 or 1; indices with 1 means that elements of table vectors should be zero after the kronecker product rotation.

Examples

1
2
r <- c(2,3,4)
v0 <- make.vector0(r)

ryamada22/mwaytable documentation built on May 28, 2019, 10:44 a.m.