vector2binmatrix: VECTOR TO BINARY MATRIX

View source: R/spatialTools.R

vector2binmatrixR Documentation

VECTOR TO BINARY MATRIX

Description

converts a vector of values into a binary "presence/absence" matrix

Usage

vector2binmatrix(x)

Arguments

x

is a vector. Values must be coercible to character

Value

a presence/absence matrix


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.