VEC2MOD {RTOMO}R Documentation

Convert representation of a 3D models

Description

Convert a single vector representation of a 3D model to a list, or a list to a single vector.

Usage

VEC2MOD(VEC)
MOD2VEC(MOD)

Arguments

VEC vector with attributes x,y,D describing the coordinates
MOD List model

Details

The two functions are used to convert models for different uses.

Value

MOD List model

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

GXMA3D

Examples


data(HELMOD)

names(HELMOD)

VV = MOD2VEC(HELMOD)

NMOD = VEC2MOD(VV)


[Package RTOMO version 1.0-6 Index]