On Feb 22, 9:57 am, johnmcauley <
johnmcau...@gmail.com> wrote:
> Hello all,
>
> I am a new user so I hope this question is OK for the group.
>
> I am using FactoMineR to carryout an analysis (PCA and agglomerative
> hierarchical clustering) on a set of data. I am working my way
> through the examples in the book "Exploratory Multivariate Analysis by
> Example Using R", which is excellent by the way, but get the following
> error when I try to reference the result object of a HCPC command
> (res.hcpc).
>
> Here is the commands I run:
>
> library(FactoMineR)
> temperature <- read.table("
http://factominer.free.fr/book/
> temperature.csv", header=TRUE, sep=";", dec=".", row.names=1) -- Get
> the data
> temperature <- read.table("
http://factominer.free.fr/book/
> temperature.csv", header=TRUE, sep=";", dec=".", row.names=1) -- Run
> the PCA
> res.hcpc <- HCPC(res.pca, nb.clust=0, conso=0, min=3, max=10) -- Run
> HCPC
>
> At this point, a dendrogram is displayed. However, R stalls until I
> close the dendrogram.
>
> Next, I call the res.hcpc object (res.hcpc$call$t) but get the
> following error "Error: object 'res.hcpc' not found".
>
> I think this could have something to do with the graphics capability