check_colorvar: Check the colorvar argument for 'driveplot_companion()' and...

View source: R/check_function_arguments.R

check_colorvarR Documentation

Check the colorvar argument for driveplot_companion() and driveplot_map() Helper function for internal use only.

Description

Check the colorvar argument for driveplot_companion() and driveplot_map() Helper function for internal use only.

Usage

check_colorvar(shareddata, colorvar)

Arguments

shareddata

The SharedData object provided to the calling function.

colorvar

The colorvar argument provided to the calling function.

Value

A value indicating whether colorvar is not a column in the data (NULL), colorvar is a numeric column in the data (TRUE), or colorvar is not a numeric column in the data (FALSE).


DrivePlotR documentation built on Nov. 22, 2026, 5:06 p.m.