search for: dfl2

Displaying 4 results from an estimated 4 matches for "dfl2".

Did you mean: df2
2003 Aug 18
0
displaying pruned clusters
Any idea why clusters five and six fall off the scale in the following? library(cluster) library(maptree) data(flower) dfl2<-daisy(flower,type=list(asymm=c(1,3),ordratio=7)) hdfl2<-hclust(dfl2) prune.dfl2<-prune.clust(hdfl2,k=6) plot(prune.dfl2) Of course the following will display all six clusters, but without a scale: draw.tree(prune.dfl2) Best wishes, Mikkel Mikkel Grum International Plant Genetic Reso...
2002 May 14
0
RE: cut.dendrogram (PR#1552)
...upplied than there are to replace > cdfl1<-cut(ddfl1,h=0.2) Error: more elements supplied than there are to replace > cdfl1<-cut(ddfl1,h=0.14179) Error: more elements supplied than there are to replace > cdfl1<-cut(ddfl1,h=0.14178) > cdfl1<-cut(ddfl1,h=0.1) > ## but, > dfl2 <- daisy(flower, type = list(asymm = c(1, 3), ordratio = 7)) > hdfl2<-hclust(dfl2,method="average") > plot(hdfl2) > ddfl2<-as.dendrogram(hdfl2) > cdfl2<-cut(ddfl2,h=0.5) > cdfl2<-cut(ddfl2,h=0.4) > cdfl2<-cut(ddfl2,h=0.3) > cdfl2<-cut(ddfl2,h=0.2)...
2009 Jan 14
3
Casting lists to data.frames, analog to SAS
...NA 30 NA NA 0 0 0 NA 33 25678 ... - attr(*, "dimnames")=List of 2 ..$ office.nm : chr [1:9] "ATTORNEY GENERAL" "GOVERNOR & LT GOVERNOR" "SECRETARY OF STATE" "STATE AUDITOR" ... ..$ party.abbr: chr [1:11] "CP" "DFL" "DFL2" "GP" ... - attr(*, "call")= language by.default(data = sd62[, "vc.n"], INDICES = sd62[, c("office.nm", "party.abbr")], FUN = sum) work is now a list. I'd really like to have work be a data frame with 3 columns: The rows of the f...
2017 Oct 25
2
[PATCH/RFC] Modifying reassociate for improved CSE: fairly large perf gains
...more than I expected, to say the least ;-) —escha Note 1: see how (1.0 - u2) is a common factor here. DST_C ( dstGrid ) = (1.0-OMEGA)*SRC_C ( srcGrid ) + DFL1*OMEGA*rho*(1.0 - u2); DST_N ( dstGrid ) = (1.0-OMEGA)*SRC_N ( srcGrid ) + DFL2*OMEGA*rho*(1.0 + uy*(4.5*uy + 3.0) - u2); DST_S ( dstGrid ) = (1.0-OMEGA)*SRC_S ( srcGrid ) + DFL2*OMEGA*rho*(1.0 + uy*(4.5*uy - 3.0) - u2); DST_E ( dstGrid ) = (1.0-OMEGA)*SRC_E ( srcGrid ) + DFL2*OMEGA*rho*(1.0 + ux*(4.5*ux + 3.0...