indicator_matrix: Construct an indicator matrix

Description Usage Arguments Value

View source: R/indicator_matrix.R

Description

From a vector x, construct an indicator matrix

Usage

1

Arguments

x

A numeric vector

Value

A matirx with the rows as the length of x and columns the number of unique x values.


Don-Li/CAB documentation built on May 6, 2019, 2:52 p.m.