search for: mydatas2

Displaying 1 result from an estimated 1 matches for "mydatas2".

Did you mean: mydata2
2012 Jun 27
1
Error: figure margins too large
...analysis, and am attempting to create a graph of my clusters. I keep on getting an error that says that my figure margins are too large. d <- file.choose() d <- read.csv(d,header=TRUE) mydataS <- scale(d, center = TRUE, scale=TRUE) #Converts mydataS from a matrix to a data frame mydataS2 <- as.data.frame(mydataS) #removes "coden" variable myvars <- names(mydataS2) %in% c("coden") mydataSNc <- mydataS2[!myvars] #Determine number of clusters wss <- (nrow(mydataSNc)-1)*sum(apply(mydataSNc,2,var)) for (i in 2:15) wss[i] <- sum(kmeans(mydat...