Description Usage Arguments Value See Also Examples
This function allows replotting of the attribute revelances (importances) with different display parameters after calling "attimp", without having to recompute the relevance values. It also allows flexibility in how the results are displayed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
attimp |
output from "attimp" |
atts |
vector of attribute identities. This vector can be numeric, referencing the respective attribute numbers, or character, referencing the respective attribute names. If the latter, then the parameter "att.names" (see below) must be supplied. |
imporder |
|
donames |
|
trans |
power used to transform importance scale. |
horiz |
|
main |
plot title |
att.names |
vector of names for each attribute (ignored if donames= |
names.size |
expansion factor for names. |
plot |
|
ylim |
vertical range of plot. |
ntick |
number of tick marks on importance axis. |
values of attribute importances in requested order.
1 2 3 4 5 | # make sure an at object is available...
# plotimp(at)
# plotimp(at,1:100,trans=0.5,horiz=TRUE)
# plotimp(at,c(27,43,10,16))
# plotimp(at,c('age','income','occupation'),att.names=demographics)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.