Learn R Programming

rkeops (version 2.2.2)

check_index: Check index.

Description

Checks index for operation.

Usage

check_index(index)

Value

A boolean TRUE or FALSE.

Arguments

index

to check.

Author

Chloe Serre-Combe, Amelie Vernay

Details

check_index(index) will return a boolean to check if index is a character and corresponding to "i" or "j".

  • if index = "i", return TRUE.

  • if index = "j", return TRUE.

  • else return FALSE.