View source: R/show.available.palettes.R
show.available.palettes | R Documentation |
Displays the available colour palettes
show.available.palettes(
type = 'general',
filename = NULL,
height = 5,
width = 8,
resolution = 300
);
type |
Either “general”, “specific”, or “both” (default) |
filename |
Filename for tiff output, or if NULL returns the trellis object itself |
height |
Figure height, defaults to 8 inches – this is optimal for the specific schemes |
width |
Figure width, defaults to 12 – this is optimal for the specific schemes |
resolution |
Figure resolution in dpi, defaults to 300 |
Christine P'ng
show.available.palettes(
# filename = tempfile(pattern = 'show_case_specific_schemes', fileext = '.tiff'),
type = 'specific',
width = 10
);
show.available.palettes(
# filename = tempfile(pattern = 'default_schemes', fileext = '.tiff'),
type = 'general',
height = 6,
width = 8
);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.