Learn R Programming

LOMAR (version 0.5.0)

ps2ary: ps2ary

Description

Convert a list of 3d point sets to a 4d array. Also works for 2d point sets to 3d array conversion.

Usage

ps2ary(point.sets, dims)

Value

a 3d or 4d array.

Arguments

point.sets

a list of point sets.

dims

vector of dimensions of the axes (x,y in 2d, x,y,z in 3d).