Description Usage Arguments Details Value See Also Examples
Function for plotting objects of class POI
.
1 | POIPlot(POI)
|
POI |
An object of class POI |
See POI class reference for details on POIs
A plot (non interactive) of the object.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.