Description Usage Arguments Value License See Also Examples

For a numerical variable, the output includes

side-by-side boxplots grouped by

`dateGpBp`

(left),a trace plot of p1, p50, and p99 percentiles, grouped by

`dateGp`

(top right),a trace plot of mean and +-1 SD control limits, grouped by

`dateGp`

(middle right), anda trace plot of missing and zerorates, grouped by

`dateGp`

(bottom right).

For a categorical variable (including a numerical variable with no more than 2 unique levels not including NA), the output includes

a frequency bar plot (left), and

a grid of trace plots on categories' proportions over time (right). If the variable contains more than

`kCategories`

number of categories, trace plots of only the largest`kCategories`

will be plotted.

In addition to plots, a `data.table`

of summary statistics are generated,
on global and over time summary statistics.

1 2 3 |

`dataFl` |
A |

`myVar` |
Name of the variable to be plotted. |

`weightNm` |
Name of the variable containing row weights, or |

`dateNm` |
Name of column containing the date variable. |

`dateGp` |
Name of the variable that the time series plots should be
grouped by. Options are |

`dateGpBp` |
Name of variable the boxplots should be grouped by. Same
options as |

`labelFl` |
A |

`highlightNms` |
Either |

`skewOpt` |
Either a numeric constant or |

`kSample` |
Either |

`fuzzyLabelFn` |
Either |

`kCategories` |
If a categorical variable has more than |

`p` |
A |

`varSummary` |
A |

`varType` |
Indicator of the variable's type, either |

Copyright 2017 Capital One Services, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Functions depend on this function:
`PrintPlots`

.

This function depends on:
`PlotCatVar`

,
`PlotNumVar`

,
`PrepData`

.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```
data(bankData)
bankData <- PrepData(bankData, dateNm = "date", dateGp = "months",
dateGpBp = "quarters")
data(bankLabels)
bankLabels <- PrepLabels(bankLabels)
## PlotVar will treat numerical and categorical data differently.
## Binary data is always treated as categorical.
plot(PlotVar(bankData, myVar = "duration", weightNm = NULL, dateNm = "date",
dateGp = "months", dateGpBp = "quarters", labelFl = bankLabels)$p)
plot(PlotVar(bankData, myVar = "job", weightNm = NULL, dateNm = "date",
dateGp = "months", dateGpBp = "quarters", labelFl = bankLabels)$p)
plot(PlotVar(bankData, myVar = "loan", weightNm = NULL, dateNm = "date",
dateGp = "months", dateGpBp = "quarters", labelFl = bankLabels)$p)
``` |

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.