Description Usage Arguments Value Examples

Calculate the total number of all common subsequences between a string and a vector/list of strings. Subsequences can be interrupted by items, i.e. q-w is considered a subsequence of q-e-w-r

1 | ```
calACSLoose(vecA, listB, sep = "-", dropFirstItem = FALSE)
``` |

`vecA` |
The single string |

`listB` |
The vector/list of 1 or more strings |

`sep` |
Delimiter separating each items in a sequence |

`dropFirstItem` |
Boolean. If true, the first item in each sequence is excluded from counting all subsequences |

The total number of all common subsequences as an integer in a vector

1 2 | ```
calACSLoose("q-w-e-r", c("q-e-w-r","q-r-e-w"), "-")
calACSLoose("itemToBeDropped-q-w-e-r", "itemToBeDroped-q-e-w-r", "-", dropFirstItem=TRUE)
``` |

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.