View source: R/checkSimValueInSer.R

checkSimValueInSer | R Documentation |

`checkSimValueInSer`

checks all values of 'x' for similar values outside/within (relative) range of 'ppm' (ie ambiguous within given range).
Return logical vector : FALSE for each entry of 'x' if value inside of ppm range to neighbour

checkSimValueInSer(x, ppm = 5, sortX = TRUE)

`x` |
numeric vector |

`ppm` |
(numeric) ppm-range for considering as similar |

`sortX` |
(logical) allows speeding up function when set to FALSE, for large data that are already sorted |

logical vector : FALSE for each entry of 'x' if value inside of ppm range to neighbour

similar with more options `withinRefRange`

va1 <- c(4:7,7,7,7,7,8:10)+(1:11)/28600; checkSimValueInSer(va1) cbind(va=va1,simil=checkSimValueInSer(va1))

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.