Learn R Programming

qualityTools (version 1.55)

units-methods: Get and set methods

Description

Get and set the units for the factors in an object of class facDesign, etc.

Usage

"units"(x) "units"(x) <- value

Arguments

x
a facDesign or mixDesign object
value
data.frame or vector

Methods

signature(x = "facDesign")
Get and set the units for the factors in an object of class facDesign.
signature(x = "mixDesign")
Get and set the units for the factors in an object of class mixDesign.
signature(x = "taguchiDesign")
Get and set the units for the factors in an object of class taguchiDesign.
signature(x = "pbDesign")
Get and set the units for the factors in an object of class taguchiDesign.

See Also

factors lows highs types http://www.r-qualitytools.org

Examples

Run this code
#NA in response column
fdo = fracDesign(k = 2)  
summary(fdo)
units(fdo) = c("min","C") 
names(fdo) = c("Time", "Temperature") 
summary(fdo)

Run the code above in your browser using DataLab