Learn R Programming

cry (version 0.5.2)

print.bravais: Print method for an object of class "bravais".

Description

The Bravais lattice and related crystal family, crystal system and lattice system are displayed.

Usage

# S3 method for bravais
print(x, ...)

Value

Nothing. A message is displayed which includes information on the Bravais lattice.

Arguments

x

An object of class "bravais".

...

Additional arguments passed to the print methods

Examples

Run this code
# Create a triclinic Bravais lattice
bt <- bravais()

# Display its value
print(bt)

Run the code above in your browser using DataLab