Description Usage Arguments Details Value
View source: R/compareNumericVectors.R
In this function a numeric vector supersedes (comes after) another numeric vector if the left-most differeing number between the two vectors is higher in value.
1 |
lst |
List of length 2 containing the vectors to be compared. Vectors must be of the same length. |
Function starts by comparing the first element from each sequence. If they are equal, it goes on to the next element, and so on, until it finds elements that differ. Subsequent elements are not considered (even if they are really big). For example c(0,1,200000) is NOT greater than c(0,3,4)
1 if first element is greater, 2 if second element is greater.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.