inertia(...)
"inertia"(x, m, ...)
"inertia"(x, m = NULL, ...)
"inertia"(x, m = NULL, ...)
inertia
is a generic function to compute the inertia tensor of a molecular system. For object of class ‘coords’ both atomic coordinates and masses have to be speifyed. For object of class ‘atoms’ the masses are determined from the elename
component of the object (see toSymbols
and masses
). For object of class ‘pdb’ the atoms
component is used.
toSymbols
, masses
, viewInertia
C70 <- read.pdb(system.file("examples/C70.pdb",package="Rpdb"))
inertia(C70)
visualize(C70, mode = NULL)
viewXY()
viewInertia(C70)
Run the code above in your browser using DataLab