Learn R Programming

cry (version 0.5.2)

create_rec_unit_cell: S3 generic to create rec_unit_cell objects

Description

The rec_unit_cell object can be created starting from specific objects, files, etc.

Usage

create_rec_unit_cell(ar, ...)

Value

An object of class "rec_unit_cell". It is a named list of length 6 whose last three slots are of "angle" class.

Arguments

ar

An object or objects used to select a method. These can be reciprocal unit cell parameters, an object of class rec_unit_cell, etc.

...

Further arguments passed to or from other methods.

Examples

Run this code
# Create a rec_unit_cell in default (no arguments)
ruc <- create_rec_unit_cell()
print(ruc)

Run the code above in your browser using DataLab