View source: R/output_graphs_main.R

output_graphs_main | R Documentation |

INPUT:

```
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 |

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

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

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

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.