Learn R Programming

httr (version 1.4.2)

insensitive: Create a vector with case insensitive name matching.

Description

Create a vector with case insensitive name matching.

Usage

insensitive(x)

Arguments

x

vector to modify

Examples

Run this code
# NOT RUN {
x <- c("abc" = 1, "def" = 2)
x["ABC"]
y <- insensitive(x)
y["ABC"]
y[["ABC"]]
# }

Run the code above in your browser using DataLab