Skip to content
Back to formatted view

Raw Message

Message-ID: <CAM_vju=5coTLtT7-SmWoPJXuG8A1FyU1WbGe0xRfAQLM3MGDgQ@mail.gmail.com>
Date: 2011-12-13T22:39:09Z
From: Sarah Goslee
Subject: k-means cluster and plot labels
In-Reply-To: <8E882955B5BEA54BA86AB84407D7BBE337A5B6@AESKU-EXCH01.AESKU.local>

Try the pch() argument to plot(), or perhaps using text(), depending
on what exactly you're trying to achieve.

Sarah

On Tue, Dec 13, 2011 at 4:03 PM, Meesters, Christian <meesters at aesku.com> wrote:
> Hi,
>
> For my data, I followed the example of http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Clustering/K-Means#Execution and got some very nice results. Despite the fact, that I want to achieve a bit more by clustering my data (stratification beyond case-control), the actual data-frame contains a column labeled "C" which holds a case-control indicator (here either "Z" for the trait and "C" for control or alternatively "1" vs. "0"). Is there a way to display this status character in the plot?
>
> Any pointer is appreciated.
>
> TIA
> Christian

-- 
Sarah Goslee
http://www.functionaldiversity.org