Hi Rasmus,
Please see the following commands. The box fails.
> library("FactoMineR")
> mydata <- read.csv('test.csv', header=T,row.names=1)
> res.pca = PCA(mydata, quali.sup=5, graph=F)
> plot(res.pca, choix="ind")
> box(col='black')
Error in box(col = "black") : plot.new has not been called yet
Regards,
Mahmood
________________________________
From: Rasmus Liland <
[hidden email]>
Sent: Tuesday, March 9, 2021 8:16:24 PM
To: Mahmood Naderan-Tahan
Cc:
[hidden email]
Subject: Re: [R] Changing chart border's color
Hi, it would be useful to know how you
created res.pca.
https://rdrr.io/r/graphics/box.htmlRasmus
[[alternative HTML version deleted]]
______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide
http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.