powered by
Determines the range of atomic coordinates.
# S3 method for coords range(x, na.rm = FALSE, finite = FALSE, ...)# S3 method for atoms range(x, na.rm = FALSE, finite = FALSE, ...)# S3 method for pdb range(x, na.rm = FALSE, finite = FALSE, ...)
# S3 method for atoms range(x, na.rm = FALSE, finite = FALSE, ...)
# S3 method for pdb range(x, na.rm = FALSE, finite = FALSE, ...)
Return a data.frame whose columns contain the range of the first, second and third coordinates of x.
data.frame
x
an R object containing atomic coordinates.
logical, indicating if NA's should be omitted.
NA
logical, indicating if all non-finite elements should be omitted.
further arguments passed to or from other methods.
range, coords, atoms, pdb
range
coords
atoms
pdb
x <- read.pdb(system.file("examples/PCBM_ODCB.pdb", package="Rpdb")) range(x) range(range(x))
Run the code above in your browser using DataLab