Description Usage Arguments Value Examples
A plotting function that receives a data frame and runs PCA on it to produce a formatted ggplot.
1 |
data |
A filtered dataframe from the spotifyr function get_artist_audio_features. |
album_filter |
A list of albums to perform the PCA on and plot. |
loading |
A logical value to specify whether to plot the loadings or not |
cluster |
A logical value to specify whether to plot the clusters or not |
Returns a formatted ggplot.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.