refer to Facet
An object of class FacetSample
(inherits from FacetGrid
, Facet
, ggproto
, gg
) of length 9.
The general idea is to generate a data-frame for each facet dimension, with a unique set of keys (initially all possible combinations) for each dimension, then sample without replacement from that unique-key list, then left-join that key list to the original data, leaving only the relevant data to display.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.