Learn R Programming

qualityTools (version 1.53)

types-methods: Get and set methods

Description

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

Usage

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

Arguments

x
a facDesign object
value
data.frame or vector

See Also

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

Examples

Run this code
#NA in response column
fdo = fracDesign(k = 3)  
summary(fdo)
types(fdo) = c("numeric","numeric", "factor" )
names(fdo) = c("Time", "Temperature", "Catalyst")
summary(fdo)

Run the code above in your browser using DataLab