Learn R Programming

qualityTools (version 1.49)

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.user.tu-berlin.de/kalicete/qualityTools/

Examples

Run this code
fdo = fracDesign(k = 3)  #NA in response column
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