assert_spdf_list {leafdown}R Documentation

Check whether the given spdf_list is a valid spdf_list and has all the required params.

Description

The spdf_list must be a list of at most two elements. All elements must be a s4 class of type SpatialPolygonsDataFrame.

Usage

assert_spdf_list(spdfs_list)

Arguments

spdfs_list

A list with the spdfs of all map levels

Value

TRUE if spdf_list is valid.


[Package leafdown version 1.2.0 Index]