Learn R Programming

⚠️There's a newer version (7.1.0) of this package.Take me there.

simplevis

{simplevis} ggplot2 functions are soft-deprecated!

As of {simplevis} 6.4, essentially all ggplot2 wrapper functions in {simplevis} soft deprecated. Users should not rely on these, and use the {ggblanket} package instead.

Purpose

{simplevis} is a package of {ggplot2} and {leaflet} wrapper functions that aims to to simplify beautiful {ggplot2} and {leaflet} visualisation.

Installation

Stable version from CRAN:

install.packages("simplevis")

Development version from github:

devtools::install_github("StatisticsNZ/simplevis")

Get started

Click here to get started.


Copyright and Licensing

The package is Crown copyright (c) 2020, Statistics New Zealand on behalf of the New Zealand Government, and is licensed under the MIT License.

This document is Crown copyright (c) 2020, Statistics New Zealand on behalf of the New Zealand Government, and is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

Copy Link

Version

Install

install.packages('simplevis')

Monthly Downloads

259

Version

6.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

David Hodge

Last Published

August 5th, 2022

Functions in simplevis (6.4.0)

example_borders

Example sf object of the New Zealand coastline.
example_polygon

Example sf polygon object.
gg_boxplot

DEPRECATED. Boxplot ggplot.
gg_bar_facet

DEPRECATED. Bar ggplot that is facetted.
gg_bar

DEPRECATED. Bar ggplot.
gg_bar_col_facet

DEPRECATED. Bar ggplot that is coloured and facetted.
gg_boxplot_col

DEPRECATED. Boxplot ggplot that is coloured.
gg_bar_col

DEPRECATED. Bar ggplot that is coloured.
example_point

Example sf point object.
example_stars

Example stars object.
gg_hbar_col_facet

DEPRECATED. Horizontal bar ggplot that is coloured and facetted.
gg_hbar_facet

DEPRECATED. Horizontal bar ggplot that is facetted.
gg_hbar_col

DEPRECATED. Horizontal bar ggplot that is coloured.
gg_hbar

DEPRECATED. Horizontal bar ggplot.
gg_density_col_facet

DEPRECATED. Density ggplot that is coloured and facetted.
gg_density_facet

DEPRECATED. Density ggplot that is facetted.
gg_boxplot_facet

DEPRECATED. Boxplot ggplot that is facetted.
gg_boxplot_col_facet

DEPRECATED. Boxplot ggplot that is coloured and facetted.
gg_hboxplot_col_facet

DEPRECATED. Horizontal boxplot ggplot that is coloured and facetted.
gg_histogram_col_facet

DEPRECATED. Histogram ggplot that is coloured and facetted.
gg_hboxplot_facet

DEPRECATED. Horizontal boxplot ggplot that is facetted.
gg_histogram_facet

DEPRECATED. Histogram ggplot that is facetted.
gg_hboxplot_col

DEPRECATED. Horizontal boxplot ggplot that is coloured.
gg_hboxplot

DEPRECATED. Horizontal boxplot ggplot.
gg_histogram

DEPRECATED. Histogram ggplot.
gg_histogram_col

DEPRECATED. Histogram ggplot that is coloured.
gg_density

DEPRECATED. Density ggplot.
gg_hpointrange

DEPRECATED. Horizontal pointrange ggplot.
gg_hpointrange_col

DEPRECATED. Horizontal pointrange ggplot that is coloured.
gg_density_col

DEPRECATED. Density ggplot that is coloured.
gg_hviolin_col_facet

DEPRECATED. Horizontal violin ggplot that is coloured and facetted.
gg_hviolin_facet

DEPRECATED. Horizontal violin ggplot that is facetted.
gg_hviolin

DEPRECATED. Horizontal violin ggplot.
gg_line_facet

DEPRECATED. Line ggplot that is facetted.
gg_line_col_facet

DEPRECATED. Line ggplot that is coloured and facetted.
gg_line

DEPRECATED. Line ggplot.
gg_line_col

DEPRECATED. Line ggplot that is coloured.
gg_hpointrange_facet

DEPRECATED. Horizontal pointrange ggplot that is facetted.
gg_hpointrange_col_facet

DEPRECATED. Horizontal pointrange ggplot that is coloured and facetted.
gg_pointrange

DEPRECATED. Pointrange ggplot.
gg_pointrange_col

DEPRECATED. Pointrange ggplot that is coloured.
gg_pointrange_facet

DEPRECATED. Pointrange ggplot that is facetted.
gg_pointrange_col_facet

DEPRECATED. Pointrange ggplot that is coloured and facetted.
gg_point_col_facet

DEPRECATED. Point ggplot that is coloured and facetted.
gg_point_facet

DEPRECATED. Point ggplot that is facetted.
gg_sf

DEPRECATED. Simple feature ggplot map.
gg_hviolin_col

DEPRECATED. Horizontal violin ggplot that is coloured.
gg_sf_col

DEPRECATED. Simple feature ggplot map that is coloured.
gg_smooth_col_facet

DEPRECATED. Smoothed ggplot that is coloured and facetted.
gg_smooth_facet

DEPRECATED. Smoothed ggplot that is facetted.
gg_stars

Stars ggplot map.
gg_stars_col

Stars ggplot map that is coloured.
gg_theme

DEPRECATED Quick theme for a ggplot.
gg_tile_col

DEPRECATED. Tile ggplot that is coloured.
gg_violin

DEPREVATED. Violin ggplot.
gg_tile_col_facet

DEPRECATED. Tile ggplot that is coloured and facetted.
leaf_basemap

Basemap stack in leaflet.
leaf_clear

In shiny, clear all features, images and legends.
pal_d3_mix

D3 palette reordered.
mutate_text

Add 'HTML' strings column of variable names and values.
gg_sf_col_facet

DEPRECATED. Simple feature ggplot map that is coloured and facetted.
gg_sf_facet

DEPRECATED. Simple feature ggplot map that is facetted.
gg_violin_facet

DEPREVATED. Violin ggplot that is facetted.
pal_na

NA palette.
interval_labels

Convert numeric or interval cuts to simple and pretty labels.
pal_viridis_mix

Viridis palette reordered.
gg_point

DEPRECATED. Point ggplot.
gg_violin_col

DEPREVATED. Violin ggplot that is coloured.
gg_violin_col_facet

DEPREVATED. Violin ggplot that is coloured and facetted.
%>%

Pipe operator
plotly_col_legend

Change colour legend elements order.
simplevis-package

simplevis: Wrappers to Simplify Beautiful 'ggplot2' and 'leaflet' Visualisation
sv_font_size_body

Get default font_size_body
sv_font_size_title

Get default font_size_title
sv_y_zero_adjust

Automatically adjust y_zero and y_zero_line if necessary
sv_x_zero_adjust

Automatically adjust x_zero and x_zero_line if necessary
plotly_camera

Remove plotly buttons from the mode bar, other than the camera.
sv_interval_labels_chr

Convert bin cuts to simple and pretty labels.
sv_interval_labels_num

Convert numeric bin cuts to simple and pretty labels.
gg_point_col

DEPRECATED. Point ggplot that is coloured.
sv_density_max

Calculate the max density in a gg_density() plot.
theme_mobile_extra

Theme extra elements for a ggplot2 on mobile devices.
sv_density_max_col

Calculate the max density in a gg_density_col(..., position == "identity") plot.
gg_smooth

DEPRECATED. Smoothed ggplot.
leaf_sf

Simple feature leaflet map.
gg_smooth_col

DEPRECATED. Smoothed ggplot that is coloured.
leaf_sf_col

Simple feature leaflet map that is coloured.
leaf_stars_col

Stars leaflet map that is coloured.
leaf_stars

Stars leaflet map.
summarise_boxplot_outliers

Summarise outliers in a dataset or tibble.
summarise_boxplot_stats

Summarise boxplot stats.
sv_numeric_breaks_v

Calculate vertical breaks.
sv_density_max_facet

Calculate the max density in a gg_density_facet() plot.
sv_numeric_breaks_h

Calculate horizontal numeric breaks.
sv_density_max_col_facet

Calculate the max density in a gg_density_col_facet(..., position == "identity") plot.