MultivariateStats.jl icon indicating copy to clipboard operation
MultivariateStats.jl copied to clipboard

new PCA show method unwieldy when more than 10 PC

Open pdimens opened this issue 2 years ago • 2 comments

Thank you for your hard work, I really like the new PCA show method. However, if there are more than 10 PC's, there is wild overflow in the REPL. Is it possible to elide the resulting tables (like how PrettyTables does it) to fit the REPL window?

image

pdimens avatar Mar 04 '22 18:03 pdimens

Yep, the compact output would be a nice thing. Meanwhile, try to use ; at the end of the expression to suppress output.

wildart avatar Mar 04 '22 21:03 wildart

If I may comment on this, I would find it very helpful if it would be possible to add a show method that does not print the first table (Unstandardized loadings) at all, and prints the second table (Importance of components) transposed, as then the number of columns would be restricted to 5, and more PCs would result in more rows. Maybe it's just me that prefers tall over wide printouts.

yuvalwas avatar Aug 02 '23 14:08 yuvalwas