Learn R Programming

profiplots

The profiplots (Docs | {width="20px"} | Report issue) is an R package that provides an easy way to let your R plots (both GGplot and baseR graphics!) look more professional & follow the new Profinit's visual guidelines.

Usefull links:

Installation

A) From CRAN

# Install released version from CRAN 
install.packages("profiplots")        # NOTE: Not ready yet

B) From package documentation site (internal only).

As the package is hosted on GitLab Pages, it is possible to install it on your machine this way. It is quite simple!

  1. Download the package

Download the package manually from this link: profiplots.

  1. Install the package from a file
install.packages('path/to/profiplots_latest.tar.gz', repos=NULL, type='source')

Usage

Quick start:

library(profiplots)
profiplots::set_theme("blue-red", "blue-red")

# now, you can continue with your ggplot or baseR graphics as usual

Read the reference page. You might be interested in the graph gallery page with the most Frequently Used Charts (WIP).

Copy Link

Version

Install

install.packages('profiplots')

Monthly Downloads

25

Version

0.2.3

License

MIT + file LICENSE

Maintainer

Dominik Matula

Last Published

November 16th, 2023

Functions in profiplots (0.2.3)

theme_profinit

Profinit ggplot theme
profinit_pal.pals

List of available Profinit palettes
profinit_cols

Profinit colors
set_theme

Change default plotting behavior
profinit_pal

Profinit color palettes
scale_fill_profinit

Fill scale constructor for Profinit colors.
scale_color_profinit

Profinit color scale constructor
profiplots-package

profiplots: Profinit Plotting Theme