**0**wrote:

Hi, I am using package"ropls" to generate PCA plot. And I want to change the labels of observations on the plot, which is defaulted as the row name of m data set.

But, I do not know how to define the labels ("indices of "x") that I want to display in my PCA plot.

following the argument in the manual:

"parLabVc, Optional character vector for the labels of observations on the plot; default is NA [ie row names of ’x’, if available, or indices of ’x’, otherwise, will be used]"

**0**• written 8 months ago by yuan.guo001 •

**0**