Displaying 5 results from an estimated 5 matches for "clus1".
Did you mean:
clust
2005 Jun 16
1
Survey - Cluster Sampling
...r sampling design. I want
to do one stage clustering with different parametric changes:
Let M be the total number of clusters in the population, and m the
number sampled. Let N be the total of elements in the population and n
the number sampled. y are the values sampled. This is my example data:
clus1 <- data.frame(cluster=c(1,1,1,2,2,2,3,3,3), id=seq(1:3,3),
weight=rep(72/9,9), nl=rep(3,9), Nl=rep(3,9), N=rep(72,9), y=c(23,33,77,
25,35,74, 27,37,72) )
1. Let M=m=3 and N=n=9. Then:
dclus1<-svydesign(id=~cluster, data=clus1)
svymean(~y, dclus1)
mean SE
y 44.778 0.294, the unweig...
2008 Aug 26
2
svymeans question
I have the following code which produces the output below it
clus1 <- svydesign(ids = ~schid, data = lower_dat)
items <- as.formula(paste(" ~ ", paste(lset, collapse= "+")))
rr1 <- svymean(items, clus1, deff='replace', na.rm=TRUE)
> rr1
mean SE DEff
W525209 0.719748 0.015606 2.4932
W525223 0.508228 0.0...
2008 Sep 14
1
Problem with misclass function on tree classification
...ollowing
is the link: http://alumni.media.mit.edu/~tpminka/courses/36-350.2001/lectures/day32/
In order to use the functions cited I followed the instructions as follows:
Installed tree package from CRAN mirror (Ca-1)
Downloaded and sourced the file "tree.r"
Downloaded the function "clus1.r"
Having defined a tree "tr, when I write "misclass(tr,x$test)" as shown in the link
I get an error message that "R does not find the function pred1.tree".
Is this function included in the tree package? If so it was not in my download. Is this a bug?
Do you know of...
2008 Mar 18
3
Partition data into clusters
Greetings R-users,
I have been using the fpc package in R to cluster my data. Speficically I am
using kmeansruns clustering.
I would like to know how I use R to partition data into clusters. What I am
doing is as follows.
# Use csv file as input
#####################
wholeset = read.csv("Spellman800genesImputed.csv")
# exclude first col (gene names)
##########################
2006 Feb 13
1
Adding dimnames to image()
..." "RFM_B4" "RFM_B5" "RFM_C1" "RFM_C3" "RFM_C4" "RFM_C6"
[27] "RFM_C8" "RFM_C9" "RFM_D1" "RFM_D2" "RFM_D3" "RFM_D4" "RFM_D6" "RFM_D9"
[[2]]
[1] "Clus1" "Clus2" "Clus3" "Clus4" "Clus5" "Clus6" "Clus7"
The entries in the cells of the matrix are numeric.
All I get are axises with decimal numbers ranging from 0 to 1.
Thank you, sincerely
___________________
Markus Preiseta...