# Example with iris dataset
ccosine(iris, ~Species, plot = TRUE, plot_title = "Cosine Distance Between Groups")
# Example with mtcars dataset
ccosine(mtcars, ~am, plot = TRUE, plot_title = "Cosine Distance Between Groups")
Run the code above in your browser using DataLab