In R, I have cut a dendrogram into clusters. However some of the clusters
have only few samples. How can I merge the small clusters with nearest big
cuter.
hc <- hclust(dist(USArrests))
plot(hc, cex = 0.6)
rect.hclust(hc, k = 4, border = 2:5)
It gives one cluster with only 2 samples. How can I me
Have you tried
install.packages("pbkrtest")
On 13 March 2016 at 17:56, Sudhansu Senapati wrote:
> I have loaded "caret" package to my R successfully with dependencies=TRUE.
> But when I go to library(caret), some namespaces are not loaded.
> > library(caret)
> Loading required package: lattic
Hello All,
I am looking for any package/function which can give processing time for
each line of a given function. I came through the package "profr" but don't
know how to find line number.
Any help will be appreciated.
Thanks
--
Sheila
[[alternative HTML version deleted]]
__
Hello All,
I am looking for the answer to simple question:
In ggplot, how to put plot title at the bottom of plot ?
This code :
qplot(rnorm(100)) + ggtitle("My Title")
puts the title at middle and top of plot while I want it to be at middle
and *Bottom* of the plot.
Using
+theme(plot.title =
Hello all,
In glmnet package, cv.glmnet is giving error
>data(iris)
>df<-data.frame(iris$Sepal.Length, iris$Sepal.Width, iris$Petal.Length,
iris$Petal.Width)
>x<- as.matrix(df)
>y<- as.numeric(iris$Species)
>fit = glmnet(x, y, family = "multinomial", type.multinomial = "grouped")
>plot(fit, xvar =
5 matches
Mail list logo