Learn R Programming

cry (version 0.5.2)

print.unit_cell: 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 unit_cell
print(x, ...)

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

Value

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

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

Arguments

x

An object of class "merged_reflections".

...

Additional arguments passed to the print methods

Examples

Run this code
# 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)

Run the code above in your browser using DataLab