subset.radviz {Radviz}R Documentation

Subsetting a Radviz projection

Description

Subsetting a Radviz projection

Usage

## S3 method for class 'radviz'
subset(x, i = TRUE, ...)

Arguments

x

a radviz object

i

A logical vector or expression evaluated on the Radviz object

...

further arguments to be passed to or from other methods (not implemented)

Value

a new Radviz object containing only rows specified in i

Author(s)

Yann Abraham

Examples

data(iris)
das <- c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width')
S <- make.S(das)
rv <- do.radviz(iris,S)
# subset rv
srv <- subset(rv,iris$Species=='setosa')
summary(srv)
sum(iris$Species=='setosa') # 50 objects in srv corresponding to setosa values


[Package Radviz version 0.9.3 Index]