Learn R Programming

qualityTools (version 1.31.1)

units-methods: Get and set methods

Description

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

Usage

## S3 method for class 'facDesign':
units(x)
## S3 method for class 'facDesign':
units(x) <- value

Arguments

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

See Also

factors, lows,highs,types

Examples

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

Run the code above in your browser using DataLab