interlace256 {factor256}R Documentation

Interlace raw vectors

Description

Some processes do not accept raw vectors so it can be necessary to convert our vectors to integers.

Usage

interlace256(w, x, y = NULL, z = NULL)

deinterlace256(u)

interlace256_columns(DT, new_colnames = 1L)

deinterlace256_columns(DT, new_colnames = 1L)

Arguments

w, x, y, z

Raw vectors. A vector may be NULL if fewer than four vectors need to be compressed.

u

An integer vector.

DT

A data.frame containing raw vectors to be interlaced.

new_colnames

A mechanism for producing the new columns. Currently only 1L is implemented, the default mechanism.

Value

interlace256 Return an integer vector, compressing raw vectors. deinterlace256 is the inverse operation, returning a list of four raw vectors.


[Package factor256 version 0.1.0 Index]