Methods {optiscale} | R Documentation |
S3 methods for opscale
Description
Plot, print, shepard, stress, and summary methods for objects of class opscale
Usage
## S3 method for class 'opscale'
plot(x, ...)
## S3 method for class 'opscale'
print(x, ...)
## S3 method for class 'opscale'
summary(object, ...)
Arguments
object |
Object of class |
x |
Object of class |
... |
Ignored |
Details
Method print
returns a listing of the data.
summary
describes the optimal scale transformation.
plot
calls os.plot
and returns an object of class trellis
that
graphs optimally-scaled values against the original (qualitative)
data values.
See Also
Examples
### x1 is vector of qualitative data
### x2 is vector of quantitative values
x1 <- c(1,1,1,1,2,2,2,3,3,3,3,3,3)
x2 <- c(3,2,2,2,1,2,3,4,5,2,6,6,4)
### Optimal scaling, specifying that x1
### is ordinal-discrete
op.scaled <- opscale(x.qual=x1, x.quant=x2,
level=2, process=1)
print(op.scaled)
summary(op.scaled)
plot(op.scaled)
[Package optiscale version 1.2.3 Index]