.compareByLogRatio | R Documentation |
This function allows to compare by log-ratio
.compareByLogRatio(dat, limit, distVal = FALSE)
dat |
list of 2 numerical vectors |
limit |
(numeric, length=1) threshold value for retaining values, used with distace-type specified in argument 'compTy' |
distVal |
(logical) to toggle outpout as matrix of numeric (distance values above 'limit', others NA) or matrix of logical |
This function returns a list with close matches of 'x' to given 'y', the numeric value dependes on 'sortMatch' (if FASLE then always value of 'y' otherwise of longest of x&y)
findCloseMatch
, checkSimValueInSer
, and also .compareByDiff
, for convient output countCloseToLimits
cc <- list(aa=11:14, bb=c(13.1,11.5,14.3,20:21))
.compareByLogRatio(cc, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.