ggplot2 "col" plot CIU explanation for specific instance
Create a barplot showing CI as the length of the bar and CU
on color scale from red to green, via yellow, for the given inputs and
the given output. First get a CIU
object by calling ciu.new
as e.g. ciu <- ciu.new(...)
,
then call ciu.res <- ciu$barplot.ciu(...)
.
"Usage" section is in
"Details" section because Roxygen etc. don't support documentation of functions
within functions.
instance |
Instance to explain. See |
ind.inputs |
|
output.names |
Vector with names of outputs to include. If
|
in.min.max.limits |
See |
n.samples |
See |
neutral.CU |
Indicates when the Contextual Utility is considered to be "negative". The default value of 0.5 seems quite logical for most cases. |
show.input.values |
Include input values after input labels or not. |
concepts.to.explain |
List of concepts to use in the plot, as defined
by vocabulary provided as argument to |
target.concept |
See |
target.ciu |
See |
low.color |
Color to use for CU=0. Default is red. |
mid.color |
Color to use for |
high.color |
Color to use for CU=1. Default is darkgreen. |
sort |
NOT USED FOR THE MOMENT! Features are in the same order for all facets, sorted by mean importance over all facets, which feels like a decent behaviour. NULL, "CI" or "CU". No sorting by default, other options are sorting by CI or CU. |
decreasing |
NOT USED FOR THE MOMENT. Set to TRUE for decreasing sort. |
main |
Replace default main title of plot. |
First get a
CIU
object by calling ciu.new as e.g. ciu <- ciu.new(...)
,
then call ciu.res <- ciu$ggplot.col.ciu(...)
.
"Usage" section is here in
"Details" section because Roxygen etc. don't support documentation of functions
within functions.
Usage
ggplot.col.ciu( instance, ind.inputs=NULL, output.names=NULL, in.min.max.limits=NULL, n.samples=100, neutral.CU=0.5, show.input.values=TRUE, concepts.to.explain=NULL, target.concept=NULL, target.ciu=NULL, low.color="red", mid.color="yellow", high.color="darkgreen", sort=NULL, decreasing=FALSE, main=NULL)
Created ggplot object.
Kary Främling
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.