Description Usage Arguments Value See Also Examples
View source: R/settings_shapes.R
Arguments to detect the relevant shapes to be applied to visualizations based on monitor location(s) in the data set. Custom shapes are necessary for the custom visualizations, since "fill" and "color" arguments can be individually specified for the shapes below, unlike the default shapes.
1 | settings_shapes(dataset = dataset, meta = data_meta)
|
dataset |
The dataset which to evaluate |
meta |
The location data, related the data set |
List of values to be applied to various visualization methods:
Scale settings for shapes; see scale_shape_manual.
Guide settings for shapes; see guides.
Other visualization settings:
add_cap()
,
drop_incomplete()
,
settings_dt_scale()
,
settings_units()
1 2 3 4 5 6 | shape_results_example <- settings_shapes(july_api_daily, july_api_meta)
ggplot(full_join(july_api_daily, july_api_meta), aes(date, site_id, shape = location, color = location, fill = location)) +
geom_point(size = 3) +
shape_results_example$shape_set +
shape_results_example$shape_guide
remove(shape_results_example)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.