[R] Changing chart border's color

Mahmood Naderan-Tahan m@hmood@n@der@n @end|ng |rom ugent@be
Tue Mar 9 21:43:44 CET 2021


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 <jral using posteo.no>
Sent: Tuesday, March 9, 2021 8:16:24 PM
To: Mahmood Naderan-Tahan
Cc: r-help using r-project.org
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.html

Rasmus

	[[alternative HTML version deleted]]



More information about the R-help mailing list