Displaying 20 results from an estimated 3000 matches similar to: "Overlap of leaf labels"
2010 May 25
1
Hierarchical clustering using own distance matrices
Hey Everyone!
I wanted to carry out Hierarchical clustering using distance matrices i have
calculated ( instead of euclidean distance etc.)
I understand as.dist is the function for this, but the distances in the
dendrogram i got by using the following script(1) were not the distances
defined in my distance matrices.
script:
var<-read.table("the distance matrix i calculated",
2005 Dec 01
1
R Hierarchical clustering leaf node
Hello,
I am new to the R package. After I use R to perform the hierarchical
clustering, I am only interested in retrieving the leaf nodes that share
the last common ancestors. As illustrated below, I'd like to retrieve (B,
C) as a cluster and then (D, E) as another cluster. Any chance to do
this in R? Thanks! BTW, I just subscribed to this list (not sure if the
subscription is
2005 Dec 12
1
dendrogram: how to obtain leaf height
Dear All,
How can the height of a leaf be extracted from a dendrogram?
Sure, I can print it, but I am not able to, say, store it in an object. I think I understand that the height is a property of the split, not the leaf itself, but the printing functions display a "height" or "h" (which changes with "hang") and that is what I want. Obviously, the info is there
2015 Jan 23
2
Multiple attributes
Hi All
I am tying to create a user in SAMBA 4 AD with ldapadd, but its not allow
me to add multiple mail attributes, here is my ldif of user.
dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: ayesha
name: ayesha
sAMAccountName: ayesha
userPrincipalName: Ayesha Umar
objectCategory:
2015 Jan 23
3
Multiple attributes
Ho Mourik
Thanks for your reply, any other attribute which we can duplicate?
Br.
Umar
On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit <
heupink at merit.unu.edu> wrote:
> Hi,
>
> In AD, the attribute mail can only exist once.
>
> MJ
>
> On 01/23/2015 05:27 AM, Umar Draz wrote:
>
>> Hi All
>>
>> I am tying to create a user in SAMBA 4
2010 Jan 29
5
random permuted block randomization
Hi,
I am very new to R. Just started yesterday. I have to generate a sequence of
40 random treatments using permuted block randomization with a block size of
8. Then I have to plot moving averages for the resulting sequence. I have
tried the sample function but I dont know if wht i did is right or not
> sample(c(1,1,1,1,2,2,2,2),8)
Any ideas please?
--
Ayesha Khan
MS Bioinformatics
Dept. of
2010 May 27
2
clustering in R
i have a matrix with the following dimensions
136 3
and it looks something like
[,1] [,2] [,3]
[1,] 402 675 1.802758
[2,] 402 696 1.938902
[3,] 402 699 1.994253
[4,] 402 945 1.898619
[5,] 424 470 1.812857
[6,] 424 905 1.816345
[7,] 470 905 1.871252
[8,] 504 780 1.958191
[9,] 504 848 1.997111...............
2010 Jun 25
1
dimnames(x) <- dn error
Hi ,
I want to assign names to the rows in my matrix so that when I use the
'agnes' function from R cluster package , the dendogram that is produced
represents the rows of the matrix. This way I would know what elements in
the matrix are clustered together. But when I do the following,
rownames(distF) <- paste("A",dim(distF)[1])
it gives the following error;
Error in
2010 May 25
2
error : subscript out of bounds
Hi,
I'm trying to calculate euclidean distance for my matrix rx1. Its a big
matrix with 947 elements. However when i do the following,
for(k in 1:947) for(m in (k+1):947){
A =rbind(A,c(k,m,ED(rx1[,k], rx1[,m])))
}
I get the following error:
ED(rx1[,k], rx1[,m]) : subscript out of bounds
I checked for k in 1:100 and it runs fine; its a huge matrix and takes
atleast an hour to run before I
2010 May 19
3
save in for loop
Dear users,
My problem concerns save() within a for loop.
Here is my code:
for (i in 1:4) {
temp <- data.frame(a=(i+1):(i+10), b=LETTERS[(i+1):(i+10)])
filename <- paste("file", i, sep="")
assign(filename, temp)
save(filename, file=paste(filename, ".rda", sep=""))
}
As you can see, save() doesn't work as I would like: (1) the object
2010 Mar 11
3
Help function "?" in R 2.10.1
Hello everyone,
I have versions 2.7.2 and 2.10.1 installed on a machine that has no
access to internet.
In 2.7.2 I can use ? to get help on functions, which in 2.10.1 that
does not work, all I see is "starting httpd help server...done" and
then nothing.
Have I downloaded 2.10.1 incorrectly (=forgot to tick some box for
local help file repository) or is the internet help now the
2010 Nov 01
2
number of items to replace is not a multiple of replacement length
Hey all,
I am writing a function in which I will have a matrix of 4 columns and a
variable amount of rows.
The first to columns will always contain be of the Character type, the third
and fourth columns
can be a variation of data types, usually characters and integers, but
sometimes lists or matrices.
At one point the code makes, for each row, a copy of that row, then it makes
some adjustments
2010 Sep 21
2
labels in (box)plot
Dear users,
I would like all the ticks on a boxplot (x and y) to be labeled
I have checked all the par() arguments but couldn't find what I'm
looking for
Here is an example to show it:
df <- structure(list(SPECSHOR = structure(c(1L, 1L, 1L, 3L, 3L, 3L, 3L,
3L, 4L, 4L), .Label = c("cotau", "dibic", "eqgre", "gicam"), class =
2010 May 18
3
"Re: Change class factor to numeric"
sorry I had a mistake sending my question without a subject. I do resend again. Please excuse me.
> Hello
> I have a data array with soil variables (caperf), in which the variable "clay" is factor (as I see entering str(caperf)) . I need to do a regression model, so I need to have arcilla (=clay) as a numeric variable. For that I have entered
>
>
2011 Aug 15
3
how can I read a xlsx file
Hello,
How can I read a xlsx file using xlsx package?
Thanks
Albert
[[alternative HTML version deleted]]
2010 Dec 13
2
How to change leaf color by group in hclust plot or how to install A2R package in windows?
I want to change leaf color by group in hclust plot.
I've seen several answers about A2R package but I cannot install A2R
and Rtools in windows.
Do you know how to install A2R package in windows or how to change
leaf color by group in hclust plot?
Thank you in advance,
Soyeon
2011 Apr 20
2
user input
Dear users,
I have looked on different sources and found different functions to
prompt the user to provide input. However, I couldn't find one that does
exactly what I'm looking for.
select.list() and menu() are nice because a graphic window appears to
prompt the user. However, the user can only choose from a predefined
list of choices. readline() and scan() are more free in the
2010 Aug 17
2
dims error
Greetings,
I am a very novice user with R, and in the course of running a linking procedure :
P.old<- function (a, c, b, xi){
#a contains a parameters
#c contains c parameters
#b contains b parameters
#xi is a one column vector containing quadrature points for xi(=theta-gamma)for one item
tmp <- a*(xi-b)
2011 May 04
1
Str info. Thanks for helping
It looks from str(SA) that Response IPS1 is a data.frame of class "anova", which probably cannot be coerced to vector.
Maybe you can use unlist() instead of as.vector()
Or something like
SA[["Response IPS1"]]["as.factor(WSD)",] ## to select the first row only, even maybe with unlist()
Without a better REPRODUCIBLE example, I cannot tell more (maybe some others
2008 Aug 25
1
"unexpected symbol" error?
Hi. I am getting an "unexpected symbol" error, which I haven't gotten
before. I have checked my data and searched the FAQ. I hoping someone
has a suggestion on what I might be doing wrong? Thanks!
A. Gray
Fisheries Consultant
Here's the code I'm using and the error:
> 0708smolts <- read.csv("C:\Documents and Settings\ayesha\My