Description Usage Arguments Examples
superpose_mol_seal
1 | superpose_mol_seal(mol_m, mol_t, verbose=TRUE, maxit=100, ntrials=5)
|
mol_m |
|
mol_t |
|
verbose |
TRUE |
maxit |
100 |
ntrials |
5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
superpose_mol_seal <- function(mol_m, mol_t, verbose=TRUE, maxit=100, ntrials=5) {
calc_mol2mol_transvec <- function(mol_m, mol_r) {
xyz_m <- mol2xyz(mol_m)
xyz_r <- mol2xyz(mol_r)
mean_m <- rowMeans(xyz_m)
mean_r <- rowMeans(xyz_r)
mean_r - mean_m
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.