View source: R/netfacs-helpers.R

possible_combinations | R Documentation |

Takes a vector of elements and returns a vector with all possible combinations

possible_combinations(elements, maxlen, sep = "_")

`elements` |
A vector of elements |

`maxlen` |
maximum size of combinations to be considered |

`sep` |
String. Separator used for showing combinations of elements |

A vector with all element combinations

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.