plot {svcR}R Documentation

Display function of an svc object

Description

Plot permit to display a grid and cluster, ExportClusters can get cluster in text file. findSvcModel.summary gives statistics about clusters.

Usage

## S4 method for signature 'findSvcModel':
plot(x)

## S4 method for signature 'findSvcModel':
ExportClusters(fmc=new("findSvcModel"), NameFile="nf")

## S4 method for signature 'findSvcModel':
findSvcModel.summary(x=new("findSvcModel"))

## S4 method for signature 'findSvcModel':
GetClustersTerm(fmc=new("findSvcModel"), term="home")

## S4 method for signature 'findSvcModel':
ShowClusters(fmc=new("findSvcModel"))

## S4 method for signature 'findSvcModel':
GetClusterID(fmc=new("findSvcModel"), Id=1)

Arguments

x findSvcModel object
fmc findSvcModel object
Id an integer pointing to a cluster
term a string naming a variable
NameFile a string naming export files

Author(s)

Nicolas Turenne - INRA France nicolas.turenne@jouy.inra.fr

Examples


## exemple with iris data

#generate a cluster model
fmc = findSvcModel.Test(); 

#plot the cluster
plot(fmc);

#export in text file on path defined with parameter catched  by findSvcModel function
ExportClusters(fmc, "Exportfilename");

#give information about basics statistics of clusters (size, attributes mean)
findSvcModel.summary(fmc);

#show all clusters
ShowClusters(fmc);

#show clusters where names of variables contain the string X2
GetClustersTerm(fmc, term="121");

#show a  clsuter with a specific id, if id is 0, the variables belongs to none cluster
GetClusterID(fmc, Id=1);


[Package svcR version 1.6.3 Index]