Displaying 4 results from an estimated 4 matches for "clust1".
Did you mean:
clust
2006 Mar 27
2
Clustering question \ dist(datmat)
...ar one, mine is a square matrix, which i think does not matter. My question how to make "hclust" process my distance matrix, what i am doing wrong. I am sure the problem is with the distance matrix format, Any suggestions are highly apprciated, the code below shows what i have done.
clust1<- as.vector(rvm(5,5,15))
clust2<- as.vector(rvm(5,10,15))
clust3<- as.vector(rvm(5,15,15))
clust4<- as.vector(rvm(5,20,15))
clust5<- as.vector(rvm(5,25,15))
data1<- rbind(clust1,clust2,clust3,clust4,clust5)
datmat<- matrix(data1,nrow=25,ncol=1,byrow=TRUE)
circ.plot(datmat)...
2007 May 19
1
clustered standarderrors using design package
...71 + t19972
+ t19973 + t19974 + t19981+factor( id)))
The problem is that I would like to get my standard errors clustered but
then gets the following error message:
f<-(lm(y ~ post + t19961 + t19962 + t19963 + t19964 + t19971 + t19972 +
t19973 + t19974 + t19981+factor( id)))
library(Design)
g.clust1 <- robcov(f, id)
Error in match.arg(type) : 'arg' should be one of working, response,
deviance, pearson, partial
All my variables is vectors and I've tried with other variables inside and
outside the model and all results in the same errormessage.
Best regards
Anders Eklund
Stockh...
2009 May 13
2
plotting multiple data sources
hi,
Excuse me asking three questions in a row for a day, but I had
collected those questions
as I'm still experimenting with R.
This one is how do you compose plots with alot of data in one graph.
First what I currently do is after i generated all the data I need to
plot.. let say 5-6 arrays
I do a plot() and then I created a function to scale the other data to
approx fit the initial range
so
2007 May 19
0
(no subject)
...71 + t19972
+ t19973 + t19974 + t19981+factor( id)))
The problem is that I would like to get my standard errors clustered but
then gets the following error message:
f<-(lm(y ~ post + t19961 + t19962 + t19963 + t19964 + t19971 + t19972 +
t19973 + t19974 + t19981+factor( id)))
library(Design)
g.clust1 <- robcov(f, id)
Error in match.arg(type) : 'arg' should be one of working, response,
deviance, pearson, partial
All my variables is vectors and I've tried with other variables inside and
outside the model and all results in the same errormessage.
Best regards
Anders Eklund
Stockh...