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

View source: R/cell_S3.R

print.unit_cellR Documentation

Print method for an object of class "unit_cell".

Description

The values are displayed in angstroms and degrees

The output includes details on the unit cell, the crystal symmetry and the first 10 records (data).

Usage

## S3 method for class 'unit_cell'
print(x, ...)

## S3 method for class 'merged_reflections'
print(x, ...)

Arguments

x

An object of class "merged_reflections".

...

Additional arguments passed to the print methods

Value

No values. A message is displayed which includes information on the unit cell.

No values. A message is displayed which includes information on the reflections contained in this object and the crystal structure they relate to.

Examples

# Create a cubic unit cell
uc <- unit_cell(10,10,10,90,90,90)

# Display its value
print(uc)
# Create a default 'merged_reflections' object
mrefs <- merged_reflections()

# Display its value
print(mrefs)


cry documentation built on Oct. 10, 2022, 9:06 a.m.