SelectVar output

Hello,

I am using the selectVar function to output the loadings of selected variables in a sPLS-DA object. I noticed that when I use the kable() function to format the output, the values of the loadings change, compared to what either prints in the Rstudio console. If I don’t use kable(), the output in my html file matches the console output. Any ideas about what could be happening?

Thanks.

Hi @lpyle ,

This looks like a formatting issue and not a mixOmics issue. I recommend you test the kable function using a simple data set and then ensure the right format is used when using the selectVar outputs.

Good luck!

Al