nodescloud: Nodescloud of nodes from profile data

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/nodescloud.R

Description

Show the nodes from a profile, with class encoded as colour and frequency encoded as size.

Usage

1
2
nodescloud(sprof, src, min.freq = 3, 
	icol, col, ...)

Arguments

sprof

A data structure as returned by readRprof.

src

A source identification. By default derived from sprof.

min.freq

Minimum frequency of a node to be included.

icol

An index vector to colour palette, encoding node class. Defaults to sprof$nodes$icol.

col

A colour palette.

...

Passed to wordcloud, if available.

Details

total$time is used to control the size for wordcloud entries.

If icol is not specified as parameter or as node entry, the self$time is used to define a colour.

terrain.colors is used to define a default colour palette if no col is specified.

Note: the figure may be outdated. Please run the examples.

Plots are for example:

Value

Used for the side effect of showing the plots.

Note

See the vignette of package sprof.

Author(s)

Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>

Examples

1
2
3
4
5
	## Not run: 
 		data(sprof01lm)
 		nodescloud(sprof01lm) 
 	
## End(Not run)

sprof documentation built on May 2, 2019, 4:45 p.m.