Run elbow method to estimate number of PCs

run_elbow(d)

Arguments

d

Vector of singular values

Value

Estimated number of PCs via elbow