%or% {sportyR}R Documentation

Set the default value when not provided in a list

Description

Set the default value when not provided in a list

Usage

spec_val %or% default_val

Arguments

spec_val

The specified value to use (assuming it's provided)

default_val

The value to use as the default

Value

A value dependent on if the left-hand value is provided, or the default value specified on the right hand side


[Package sportyR version 2.2.2 Index]