Learn R Programming

wrGraph (version 1.3.8)

.serachColName: Search Column Name This function provides help when seraching column names

Description

Search Column Name

This function provides help when seraching column names

Usage

.serachColName(
  x,
  searchColNa,
  plusLowerCaps = TRUE,
  returnList = TRUE,
  silent = FALSE,
  debug = FALSE,
  callFrom = NULL
)

Value

integer vector with index of colnames found or list with $foundNa and $remainNa

Arguments

x

(matrix or data.frame) main input

searchColNa

(character)

plusLowerCaps

(logical) add lower caps to search

returnList

(logical)

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allow easier tracking of messages produced

See Also

convertPlotCoordPix; use htmlSpecCharConv to convert special characters for proper html display

Examples

Run this code
mat1 <- matrix(1:6, ncol=3, dimnames=list(NULL, LETTERS[1:3]))
.serachColName(mat1, c("C","F","A"))

Run the code above in your browser using DataLab