pcLollipop: Principal Component Lollipop Plot

Description Usage Arguments Details Examples

View source: R/pcLollipop.R

Description

plots the lollipop plot from principal component analysis given a tibble

Usage

1

Arguments

x

a tibble or dataframe

npc

number of principal components to use in estimate

Details

takes a tibble or dataframe and plots the loading matrix computed by principal component analysis. Uses ggplot to render graphic

Examples

1
2
x <- iris[1:4]
pcLollipop(x)

frankchien/bmi585flc documentation built on Dec. 20, 2021, 8:51 a.m.