compareDF (version 1.7.1)

view_html: View Comparison output HTML

Description

Some versions of Rstudio doesn't automatically show the html pane for the html output. This is a workaround

Usage

view_html(comparison_output)

Arguments

comparison_output

output from the comparisonDF compare function

Examples

Run this code
# NOT RUN {
old_df = data.frame(var1 = c("A", "B", "C"),
                    val1 = c(1, 2, 3))
new_df = data.frame(var1 = c("A", "B", "C"),
                    val1 = c(1, 2, 4))
ctable = compare_df(new_df, old_df, c("var1"))
# Not Run::
# view_html(ctable)
# }

Run the code above in your browser using DataLab