search for: nba_heatmap

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

2012 Jul 06
2
Error in plot.new() : figure margins too large
...#Prepare Data: makes rows by player name instead of Row Number row.names(nba) <- nba$Name #Prepare Data: don't need first column anymore, so we get rid of it nba <- nba[,2:20] #Prepe Data: change data from a data frame to a data matrix nba_matrix <- data.matrix(nba) #Create Heat Map nba_heatmap <- heatmap(nba_matrix, Rowv=NA, Colv=NA, col = cm.colors(256), scale="column", margins=c(5,10)) Karly Harrod LBNL Summer Intern kharrod@lbl.gov Lawrence Berkeley National Laboratory [[alternative HTML version deleted]]