POIPlot: Plot Objects of Class POI

Description Usage Arguments Details Value See Also Examples

Description

Function for plotting objects of class POI.

Usage

1
   POIPlot(POI)

Arguments

POI

An object of class POI

Details

See POI class reference for details on POIs

Value

A plot (non interactive) of the object.

See Also

POI-class,plotPOI

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
   ## rgb colors 
   rgbPOI = POICreate(type = 'POI', wordsInQuery = c('red','green','blue'),
                       colores = colors(), itemsCol = colors(),
                       docs = cbind(colors(), 1:length(colors())),
                       cos.query.docs = rep(1,length(colors())),
                       matrizSim = t(col2rgb(colors())) / max(t(col2rgb(colors())))
   )
   POIcoords(rgbPOI) <- POICalc(rgbPOI ,length(rgbPOI@wordsInQuery))
   rgbPOI@itemsFamily <- '' # R cmd check passing in examples
   try(rm('POI.env'), silent = T)
   POIPlot(rgbPOI)

Example output

Loading required package: tkrplot
Loading required package: tcltk
Warning messages:
1: no DISPLAY variable so Tk is not available 
2: loading Rplot failed 
Warning message:
In rm("POI.env") : object 'POI.env' not found

fisheyeR documentation built on May 2, 2019, 12:47 a.m.