Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

utils

Miscellaneous utility functions


Description

Miscellaneous utility functions

Usage

named_list(lst = NULL, name_fields = "name")

is_empty(x)

Arguments

lst

A named list of objects.

name_fields

The components of the objects in lst, to be used as names.

x

For is_empty, An R object.

Details

named_list extracts from each object in lst, the components named by name_fields. It then constructs names for lst from these components, separated by a "/".

Value

For named_list, the list that was passed in but with names. An empty input results in a named list output: a list of length 0, with a names attribute.

For is_empty, whether the length of the object is zero (this includes the special case of NULL).


AzureGraph

Simple Interface to 'Microsoft Graph'

v1.3.0
MIT + file LICENSE
Authors
Hong Ooi [aut, cre], Microsoft [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.