RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (1.0.1) of this package.
Take me there.
Robgit
Copy Link
Copy
Link to current version
Version
Version
1.0.1
1.0.0
Down Chevron
Install
install.packages('RPS')
Monthly Downloads
20
Version
1.0.0
License
GPL-3
Maintainer
Guillermo Andres Pacheco
Last Published
July 18th, 2018
Functions in RPS (1.0.0)
Search functions
procrustesCM_RPS
This function performs the classical least-squares (LS) Procrustes superimposition of the input configurations of landmarks
eucunivMDS_RPS
Given a n x n distance matrix D (not necessarily Euclidean) and a initial set X0 of n seeds in k dim (that is, an initial n x k matrix), this function finds a set of n points in k dimensions X (a final n x k matrix) through a least-squares criterion such that the n x n matrix Dk of euclidean distances among these new points X is as close as possible to D.
resdistance_RPS
This function computes the a resistant distance between each pair of matrices from the input set
readland.txtJ
Reads a MorphoJ txt file and returns it as a s-dimensional array of n * k matrix
readlandtxtMorphJ_RPS
Reads a MorphoJ .txt file and returns it as an array of n x k matrices in s dimensions (s=2 or s=3)
'RPS'
Resistant Procrustes Superposition Package in R (RPS): a novel package for landmark-based resistant shape analysis
resunivMDS_RPS
Given a n x n distance matrix D (not necessarily Euclidean) and a initial set X0 (that is, a n x k matrix) of n seeds in k dim, this function finds a set of n points in k dimensions X (that is, a k x n matrix) using a resistant criterion such that the n x n matrix Dk of euclidean distances among these new points X is as close as possible to D.
matchingsymm_RPS
This function obtains the individual resistant-symmetric shape for 2D matching-symmetry data. The input is an array A of size n (landmarks) x p (dimensions) x 2k (objects: the left-right sides for each) Configurations are ordered in this way: left side Object 1, right side Object 1, left side Object 2, right side Object 2, etc
cmdistance_RPS
This function computes the least-squares Procrustes distance between each pair of matrices (configurations of landmarks) from the input set
objectsymm_RPS
This function obtains the individual resistant-symmetric shape for 2D object-symmetry data. The input is an array A of size n (landmarks) x p (dimensions) x k (objects) Landmarks must be in this order: saggital (or unpaired) landmarks first, then left paired landmarks and finally right paired landmarks Configurations are ordered in this way: L side Object 1 and R side Object 1, L side Object 2 and R side Object 2, etc