Learn R Programming

LifemapR (version 1.1.5)

display_map: Create a Lifemap base.

Description

This function create a blank Leaflet map using the leaflet function from the leaflet package. If a dataframe is provided, it will be used for the creation of the map.

Usage

display_map(df = NULL, basemap = NULL)

Value

An HTML widget object with graphics layers.

Arguments

df

A dataframe. If given, its columns can be easily accessed with "~" (eg. ~GC.).

basemap

Deprecated argument.

Examples

Run this code
display_map()

Run the code above in your browser using DataLab