R/vis_compare_ly.R
vis_compare_ly.Rd
vis_compare_ly
, like the other vis_*_ly
families, gives an at-a-glance
interactive plotly plot of a dataset, using the *
method. In thi case,
an interactive version of vis_compare
, which is used to visualise and
compare two different dataframes of the same dimension, and so takes
two dataframes as arguments.
vis_compare_ly(df1, df2)
df1 | The first dataframe to compare |
---|---|
df2 | The second dataframe to compare to the first. |
plotly
interactive plot, similar in appearance to vis_compare
# make a new dataset of iris that contains some NA values iris_diff <- iris iris_diff[1:10, 1:2] <- NA vis_compare_ly(iris, iris_diff)#>#>