similar to: dendrogram plotting problem

Displaying 20 results from an estimated 1000 matches similar to: "dendrogram plotting problem"

2006 May 10
1
Until the key pressed: FOR-LOOP-Clustering
Hi All, These are the code that i used to plot the kmeans clustering. DataSetS01022<-rbind(matrix(rnorm(50),ncol=2), + matrix(rnorm(50),ncol=2)) > colnames(DataSetS01022) <-c("timeslot","em") > (cl <-kmeans(DataSetS01022,2)) >plot (DataSetS01022, col=cl$cluster) > points(cl$centers, col = 1:2, pch = 8, cex=2) Now, i would like to do *the same process
2012 Apr 30
2
Generate Dendrogram
Hi I have a distance matrix which is computed by user defined method. I would like to plot the dendrogram. I would like to use different color and want the leaves laying down bottom. The script like this. I am not familiar with R. I followed the example shown in http://stat.ethz.ch/R-manual/R-devel/library/stats/html/dendrogram.html dist.obj <- as.dist(matrix.distance) hc.obj <-
2007 Mar 09
1
dendrogram / clusteranalysis plotting
Dear all, i performed a clusteranalysis - which worked so far... i plotted the dendrogram and sooo many branches, a rough sketch would be enough ;) i tried max.levels therefore which worked, but not for the plot... i used the following plot(hcd,nodePar =nP, str(hcd,max.level=1)) the output on the terminal was: --[dendrogram w/ 2 branches and 196 members at h = 2.70] |--[dendrogram w/ 2
2006 May 23
0
hclust-Dendrograms-Help!
Dear List, My dataset is as below: I am using library(cluster) hierarchical clustering on these data. If i try to plot these i couldn't see the partitions clearly, > dd<-hclust(dist(DataSetS01022Full), "ave") > Warning message: >NAs introduced by coercion >(dn<-as.dendrogram(dd)) >plot(dn) please find the link on the plot : http://roughjade.blogspot.com
2003 Sep 26
1
a. crossing branches with hclust, b. plot.dendrogram
Hello, a. when I use hclust with the methods media, centroid, and mcquitty, and plot the results, the dendrograms have lines that are crossing each other. Is this ok? b. My next question refers to plot.dendrogram: How can I use parameters as "hang" or "cex" here? E.g. for st <- as.dendrogram(subtreeshc[[x]]) I would like to have something like this, where cex and hang
2007 Feb 28
3
Datamining-package rattle() Errors
Dear Group I have few errors while installing package rattle from CRAN i do the installing from the local zip files... I am using R 2.4.0 do i have to upgrade to R2.4.1 ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils:::menuInstallLocal() package 'rattle' successfully unpacked and MD5 sums checked updating HTML package descriptions > help(rattle) No
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
I am trying to learn how to format Ascii data files for scan or read into R. Precisely for a quickie project, I found some code (at end of this email) to do exactly what I need: To cluster and graph a dendrogram from package (stats). I am stuck on how to format a text file to run the script. I looked at the dataset USArrests (which would be replaced by my data and labels) using UltraEdit. That
2006 May 23
0
Plotting problem-Dendrograms Help!!
Dear List, My dataset is as below: I am using library(cluster) hierarchical clustering on these data. If i try to plot these i couldn't see the partitions clearly, please find the link on the plot : http://roughjade.blogspot.com Could anyone give me some suggesstions. AAP326 29 AAW315 37 AAW321 24 AAW322 7 AAW331 22 ACE381 22 ACP112 21 ACP212 24 ACP251 26 ACP321 31 ACW102 39
2006 Nov 24
1
Rgraphviz -404 Page not found
Again i have problem in locating the package for clique-graphs I tried with BioConductor under Browse for packages, it doesn't work atall. Kindly guid me Thanks JJ On 8/23/06, Seth Falcon <sfalcon@fhcrc.org> wrote: > > "j.joshua thomas" <researchjj@gmail.com> writes: > > > Dear Robert, > > > > Thanks for your time. > > I have
2007 Mar 07
1
Fwd: Package-RODBC-MSACCESS
I have used RODBC to get the database i can view the tables in RGUI-2.4.1 how can i query the records in R> i tried with sqlQuery need some help JJ -- Lecturer J. Joshua Thomas KDU College Penang Campus Research Student, University Sains Malaysia -- Lecturer J. Joshua Thomas KDU College Penang Campus Research Student, University Sains Malaysia [[alternative HTML version deleted]]
2010 Apr 13
0
Coloring leaves in Dendrogram according to gene names
Hello, I am a new R user and have a question regarding dendrogram coloring. I would like to color each leaf in the dendrogram (dhc) according to a specific criterion. For me this criterion is the gene name. For this, I created a data.frame with 2 variables: The gene name and the corresponding color. Using the following function, adapted from "dendrapply {stats}", I still have the same
2005 Oct 23
1
Coloring leaves, twigs and labels in plot.dendrogram()
Core developers, I couldn't find any simple way to send a vector of colors to apply to each terminal in plot.dendrogram() or plot.hclust()---I asked R-help about it a few weeks ago and didn't get any response---so I hacked that functionality into the plot.dendrgram code (see below for hacked function plus examples).... Is there any chance this functionality could be added to the
2006 May 01
2
GA-packages
Hi, I'm looking for help on how to use *R for making use of Genetic Algorithm*to make optimal solution on the examination timetabling dataset? another point to analysis the dataset, in a manner similar to the method applied in InfoViz. Say, what is the optimal step, if: Step 1 - What is the name of the package that i can install from CRAN for me to identify GA (Please consider) - I
2011 Sep 26
0
horizontal labels for a dendrogram
Dear R-help list, I'd like to create visualize the clustering of a dataset with a dendrogram. I'm using the following script: data = read.table("data.csv", header=T, sep=";") require(cluster) res = as.dendrogram(agnes(data)) chlab <- function(n) { if(is.leaf(n)) { att <- attributes(n) labx <- data$category1[att$label] lab_color <- ifelse(labx ==
2006 Aug 22
2
Rgraphviz installation Problem
Dear Robert, Thanks for your time. I have downloaded Rgraphviz (windows binary) from www.bioconductor.org and put inside R2.3.0 library then i installed from the local zip its says package 'graph' couldnot be loaded. Am i doing the installation correctly? Still the new user. Can you guide me sir? JJ -- Lecturer J. Joshua Thomas KDU College Penang Campus Research Student, University
2007 Feb 28
1
Datamining-package-?
Dear Group, I am looking for a package that is going to help me on Data preprocessing methods in Datamining. Is there any package in R2.4.0 to support DM? or what is the suitable package that i can adopt do the work? Kindly need your assistance. Thanks & Regards JJ --- -- Lecturer J. Joshua Thomas KDU College Penang Campus Research Student, University Sains Malaysia [[alternative
2005 Jan 06
2
library vcd for R rw2001
Is there an upgrate of the vcd library (visualisation of categorical data) for the latest R version? Trying to download it from CRAN I get URL /data/WWW/ftp/pub/R/bin/windows/contrib/r-release/vcd_0.1-3.4.zip was not found on this server. googling it, I found it for instance on http://www.sourcekeg.co.uk/cran/bin/windows/contrib/1.9/ but trying to install it gave me the message >
2011 Jan 30
1
updating r-cran- packages on a new Ubuntu lucid system
I am setting up a new Ubuntu lucid system on a Dell Precision T3500, quad core, E5507, x86_64 box and am having some difficulty updating r-cran packages as per the instructions at http://cran.us.r-project.org/bin/linux/ubuntu Perhaps the instructions are incomplete or wrong, or I've misunderstood something, and/or I've run into a dependency problem among r-cran- packages, vcd in
2013 Sep 12
6
declaring package dependencies
I received the following email note re: the vcdExtra package > A vcd update has shown that packages TIMP and vcdExtra are not > declaring their dependence on colorspace/MASS: see > > http://cran.r-project.org/web/checks/check_results_vcdExtra.html But, I can't see what to do to avoid this, nor understand what has changed in R devel. Sure enough, CRAN now reports errors in
2008 May 02
1
A horizontal or vertical line draw on mosaic plot?
Hi, I want to have a horizontal line on a mosaic plot with "vcd" package. This would give me an idea where is 0.5 proportion in a cell. Using "mosaicplot" function of "graphics" package, I can draw a line using "abline." But, with "mosaic" function of "vcd" package, I have tried to use "abline" function, which complains