dump.it: Create dump matrix for a vector

View source: R/dump.it.R

dump.itR Documentation

Create dump matrix for a vector

Description

Create dump matrix for a vector

Usage

dump.it(..., include.name = TRUE)

Arguments

...

one vector

include.name

logical, default is TRUE, wether to include name of variable

Value

a dump matix contains 0 and 1

Examples

x=c('a','b','c','a','a')
dump.it(x)
dump.it(mtcars$am)
dump.it(mtcars[,'am'])

do documentation built on Sept. 12, 2024, 6:27 a.m.