Learn R Programming

LifemapR (version 1.1.5)

add_lm_piecharts: Compute the aesthetics for discret values visualisation.

Description

Compute the aesthetics for discret values visualisation.

Usage

add_lm_piecharts(proxy, aes, df, df_visible, layer)

Value

An updated map with the new layer added.

Arguments

proxy

The map to be modified.

aes

The dataframe containing the aesthetics details (must be of lm_piecharts class).

df

The full dataframe.

df_visible

The dataframe containing visible taxa.

layer

The ID of this group of charts