changeLabelName: Change Label Names

View source: R/statisticalDiagram.R

changeLabelNameR Documentation

Change Label Names

Description

Change Label Names

Usage

changeLabelName(x, labels, add = FALSE)

Arguments

x

A character vector

labels

A list

add

A logical

Examples

labels=list(X="frame:test",Mi="empathy",Y="intervention",W="frame",Z="test")
x=c("skeptic","test","empathy","skeptic:frame:test","D1:frame","frame:test")
changeLabelName(x,labels)
changeLabelName(x,labels,add=TRUE)
x=c("baby","milk","baby:milk")
labels=list(X="baby",M=c("wine","tent","sand"),Y="tile",W="milk")
changeLabelName(x,labels)

processR documentation built on Jan. 23, 2023, 5:44 p.m.