Learn R Programming

r6qualitytools (version 1.0.1)

taguchiFactor: taguchiFactor

Description

An R6 class representing a factor in a Taguchi design.

Arguments

Public fields

values

A vector containing the levels or values associated with the factor. Default is NA.

name

A character string specifying the name of the factor. Default is an empty string ``.

unit

A character string specifying the unit of measurement for the factor. Default is an empty string ``.

type

A character string specifying the type of the factor, which can be either `numeric` or `categorical`. Default is `numeric`.

Methods


Method attributes()

Get the attributes of the factor.

Usage

taguchiFactor$attributes()


Method .values()

Get and set the values for the factors in an object of class taguchiFactor.

Usage

taguchiFactor$.values(value)

Arguments

value

New values, If missing value get the values.


Method .unit()

Get and set the units for the factors in an object of class taguchiFactor.

Usage

taguchiFactor$.unit(value)

Arguments

value

New unit, If missing value get the units.


Method names()

Get and set the names in an object of class taguchiFactor.

Usage

taguchiFactor$names(value)

Arguments

value

New names, If missing value get the names.


Method clone()

The objects of this class are cloneable with this method.

Usage

taguchiFactor$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.