Learn R Programming

beadplexr (version 0.5.0)

get_col_names_args: Get column names from the method arguments

Description

Get column names from the method arguments

Usage

get_col_names_args(.list)

Value

a character with the column names. If an element names .column_name is not present in the .list, an empty vector is returned.

Arguments

.list

Examples

Run this code
library(beadplexr)

list(.column_name = "XXX") |> beadplexr:::get_col_names_args()
list(A = list(.column_name = "XXX")) |> beadplexr:::get_col_names_args()
list(A = list(.column_name = "Inner"), .column_name = "Outer") |> beadplexr:::get_col_names_args()
list(A = "ccc") |> beadplexr:::get_col_names_args()

Run the code above in your browser using DataLab