Crystal family corresponding to given space group.
crystal_family.Rd
Crystal family corresponding to given space group.
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
# P1 is part of the TRICLINIC family
crystal_family(1)
#> [1] "TRICLINIC"
# The object returned is a string
cfam <- crystal_family(1)
class(cfam)
#> [1] "character"