crystal_family: Crystal family corresponding to given space group.

Description Usage Arguments Value Examples

View source: R/clattice.R

Description

Crystal family corresponding to given space group.

Usage

1

Arguments

gn

A natural integer (1,2,3,...). the space group number.

Value

A character string, the name of the crystal family associated with the given space group. If the input integer does not correspond any existing space group, the function returns NULL and throws a warning.

Examples

1
2
3
4
5
6
# P1 is part of the TRICLINIC family
crystal_family(1)

# The object returned is a string
cfam <- crystal_family(1)
class(cfam)

cry documentation built on May 3, 2021, 9:06 a.m.