search for: corrgram

Displaying 14 results from an estimated 14 matches for "corrgram".

2011 Jun 28
2
problem with corrgram function
Dear list, I have a problem with the "corrgram" function. It does not seem to "color" large negative correlations, while the same correlation, if positive, provides no problems. Is this a bug? require(corrgram) a = seq(1,100) b = -jitter(seq(1,100), 80) cor(a,b) # r about -.96 c=as.data.frame(cbind(a,b)) corrgram(c, ord...
2013 Aug 22
1
corrgram (package corrgram): how to plot multiple correlograms in the same page?
Hello, I am trying to plot a few correlograms on the same figure, with the function corrgram() from the package corrgram. However, the function does not seem to use the base graphic system, as setting out the multiple figure layout with, e.g., par(mfrow=c(2, 2,)) does not work. Does anybody know a workaround for this? Many thanks in advance for any advice best giuseppe -- Giuseppe Pag...
2012 Aug 28
2
corrgram
Hello, are there fixed threshold values for the changes between different shades of blue in the corrgram? Or is a chang relative depending on the data? I didnt get it in manual. Thank you very much, best regards Claudia
2012 May 25
1
Correlograms: using boxes and different variables on rows and columns
I'm trying to make correlograms using corrgram. See below for a simple example. #### library(corrgram) data(baseball) vars1 <- c("Assists","Atbat","Errors","Hits","Homer","logSal") vars2 <- c("Putouts","RBI","Runs","Walks","Years&qu...
2012 Aug 13
1
how to change variable names in corrgram diagonal
given this example library(corrgram) corrgram(mtcars[2:6], order=TRUE, upper.panel=panel.conf, lower.panel=panel.pie, diag.panel=panel.minmax, text.panel=panel.txt) how can I change the variable names in main diagonal? (so that I can put more informative names of variables) I think to understand...
2013 Jun 27
1
corrgram with two datasets
Hi, I would like to display inter-parameter scatter plots like those with the corrgram package (see upper triangle here: http://www.statmethods.net/advgraphs/images/corrgram2.png ), just that I would like to plot two datasets instead of one. Say one with black and one with red dots. Or a merged dataset where an indicator column is used to assign different colors to particular dots -...
2011 May 06
1
How to alter circle size
...The problem I have is that I wish to have the values from matrix z to be represented by color intensity while having the values from matrix v to be represented by circle size. I currently have the following in front of me and an unsure of what to add or change in order to achieve that goal. panel.corrgram.2 = function(x, y, z, subscripts, at = pretty(z), scale = 0.8, ...) { require("grid", quietly = TRUE) x <- as.numeric(x)[subscripts] y <- as.numeric(y)[subscripts] z <- as.numeric(z)[subscripts] zcol <- level.colors(z, at = at, ...) for (i in seq(along = z)) {...
2012 Jan 10
1
Correlograms
I would like to make a correlogram in which I also have a correlation matrix instead of one of the panels. Is that possible? -- View this message in context: http://r.789695.n4.nabble.com/Correlograms-tp4283245p4283245.html Sent from the R help mailing list archive at Nabble.com.
2003 Sep 11
3
Flipping a heatmap
Hi I am using the heatmap function in package mva to look at large correlation matrices visually. Is there any way to "flip" the output of heatmap plot left-right so that, if presented with a correlation matrix, it plots the unity elements in the correlation matrix along a diagonal from top left to bottom right? For example: library(mva) x = matrix(rnorm(1000), ncol=10) z = cor(x)
2010 Jun 23
2
Analyzing large transition matrix
...ewcar to show the frequency each type of car is bought. If there are 5-10 car types, that works. If there are 50-100 or more, the legend gets illegible. I could also do a histogram of oldcar to see what people gave up, but that's less interesting. I'm considering a correlogram using the corrgram package, but a heat map might work, too. Any tips on making the legends useful in any of this? Any better approaches to try? I tried table() and prop.table() to see if I could get transition probabilities as if this were a Markov chain, but dim() comes out 108 78, which is still too big to print...
2010 Aug 19
1
Correlograms and linear regression
Dear all, I generated a Correlograms and used the panel.ellipse (confidence ellipse and smoothed line) option. Is there a way to get instead of the smoothed line the linear regression? Thanks, As hz -- View this message in context: http://r.789695.n4.nabble.com/Correlograms-and-linear-regression-tp2331071p2331071.html Sent from the R help mailing list archive at Nabble.com.
2007 Dec 03
1
cor(data.frame) infelicities
...x <- as.matrix(x) Second, the default, use="all" throws an error if there are any NAs. It would be nicer if the default was use="complete.cases", which would generate warnings instead. Most other statistical software is more tolerant of missing data. > library(corrgram) > data(auto) > cor(auto[,sapply(auto, is.numeric)]) Error in cor(auto[, sapply(auto, is.numeric)]) : missing observations in cov/cor > cor(auto[,sapply(auto, is.numeric)],use="complete") # works; output elided -Michael -- Michael Friendly Email: friendly AT yorku DO...
2013 Oct 21
2
plot correlation matrix
Hi all, I am having 4 vectors like Data: num [1:4, 1:32] -82.8 -81.8 -75.5 -107.6 -87.6 ...  and I want to calculate the correlation between those. Is there a graphical way in R to plot the correlations or not? I would like to thank you in advance for your help Regards Alex [[alternative HTML version deleted]]
2008 Sep 11
0
Error: bad value
...ge, I get "Error: bad value" to whatever I enter into the R console. My configuration is: - Windows XP SP2 - R 2.7.2 Has this problem been tracked down to a specific package ? I am using the following packages: library(strucchange) library(car) library(lmtest) library(nlme) library(corrgram) library(RODBC) library(MSBVAR) library(xtable) library(vars) library(tseries) library(PerformanceAnalytics) library(fArma) library(snow) Thanks in advance, Tolga Uzuner ==== message from a year ago ==== Hi, I'm finding a very strange error. For no good reason my R console (Rgui.exe, R 2.5.0...