Skip to content
Back to formatted view

Raw Message

Message-ID: <c426e42c89ff490495c2419bf974de1e@ugent.be>
Date: 2021-03-09T20:43:44Z
From: Mahmood Naderan-Tahan
Subject: Changing chart border's color
In-Reply-To: <YEfJiL0000c9uLy4@posteo.no>

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