Description Usage Arguments Value

View source: R/output_graphs_main.R

INPUT:

1 2 3 4 5 6 7 8 9 10 | ```
output_graphs_main(
data,
signal,
response,
side_variables,
cc_output,
output_path,
height = 4,
width = 6
)
``` |

`data` |
is a data.frame object |

`signal` |
is a character object that indicates columns of data that should be treated as channel's input |

`response` |
is a character vector that indicates columns of data that should be treated as channel's output |

`side_variables` |
is a character vector that indicates side variables' columns of data |

`cc_output` |
a list that is a standard output of capacity_logreg_algorithm function |

`height` |
integer indicating the height of a single plot |

`width` |
integer indicating the width of a single plot |

`path` |
character giving the directory, where graphs should be saved |

A list with ggplot or gtable object. Each plot is also saved in 'output_path' directory in separate pdfs files which include:

MainPlot.pdf - a simple summary plot with basic distribution visualization and capacity estimate

MainPlot_full.pdf - a comprehensive summary plot with distribution visualization and capacity estimate

capacity.pdf - a diagram presenting the capacity estimates

io_relation.pdf - a graph with input-output relation

kdensities.pdf - kernel density estimator of data distribution

histograms.pdf - histograms of data

boxplots.pdf - boxplots of data

violin.pdf - violin plots of data

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.