findName: convert name with list

View source: R/statisticalDiagram.R

findNameR Documentation

convert name with list

Description

convert name with list

Usage

findName(labels, nodeslabels = list(), name = "MiX", exact = FALSE)

Arguments

labels

A named list

nodeslabels

A named list

name

A name to look for

exact

A logical

Examples

labels=list(X="wt",M="am",Y="mpg");name="MiX"
nodeslabels=list(X="weight",M="automatic",Y="milepergallon")
findName(labels=labels,nodeslabels=nodeslabels,name="MiX")
findName(labels=labels,name="MiX")
findName(labels=labels,nodeslabels=nodeslabels,name="M")
labels=list(X="GDPpp",M="Illit",Y="LifeEx")
nodeslabels=list(X="GDP\nper inhabitant",M="Illiteracy Rate",Y="Mean Life\nExpectation")
findName(labels=labels,name="Mi")
findName(labels=labels,nodeslabels=nodeslabels,name="Mi")
labels=list(X="GDPpp",Mi="Illit",Y="LifeEx")
nodeslabels=list(X="GDP\nper inhabitant",Mi="Illiteracy Rate",Y="Mean Life\nExpectation")
findName(labels=labels,name="M")
findName(labels=labels,nodeslabels=nodeslabels,name="M")
labels=list(X="cond",M=c("import","pmi"),Y="reaction")
findName(labels=labels,name="M1")

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