Displaying 20 results from an estimated 9000 matches similar to: "problem with corrgram function"
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")
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 that this should be done by modifing the panel.txt
function but
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 Pagnoni,
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
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 - with still
2011 May 06
1
How to alter circle size
Hello all,
I'm trying to create a heatmap using 2 matrices I have: z and v. Both
matrices represent different correlations for the same independent
variables. 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
2007 Dec 03
1
cor(data.frame) infelicities
In using cor(data.frame), it is annoying that you have to explicitly
filter out non-numeric columns, and when you don't, the error message
is misleading:
> cor(iris)
Error in cor(iris) : missing observations in cov/cor
In addition: Warning message:
In cor(iris) : NAs introduced by coercion
It would be nicer if stats:::cor() did the equivalent *itself* of the
following for a data.frame:
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)
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.
2010 Jun 23
2
Analyzing large transition matrix
Let's say you have a dataframe of car trade-ins. For example, each row
contains
oldcar newcar qty
and a typical entry could be
lexus bmw 1
I put the qty column to allow for fleet purchases, where one purchase
may convert multiple cars at once.
I'd like to show what's going on. I could do a histogram of newcar to
show the frequency each type of car is bought. If there
2003 Jan 24
4
new function: showcolors {base}
I propose to add a function that allows
to display colors selected by a text pattern
or by color vectors in a plot.
Wolfram Fischer
#--- showcolors.R
showcolors <-
function(
col = "red"
, index = NULL
, pie = TRUE
, lwd = 6
, cex = 1.0
, main = NULL
, sub = NULL
, ...
){
n.colors <- length( col )
if( n.colors > 1 ){
main <- deparse( substitute( col ) )
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.
2011 Feb 07
2
circular
Hi, I'm new to R. I'm trying to plot my data into a circle.
my data sort of looks like 12,12,4,5,6,5,11,10,3,9,9,9,12,12,2 total of 15
numbers.
I'm trying to add all the same numbers, such that, there are 4 of 12s,1 of
11, 1 of 10, 3 of 9s, and such....
so the circle plot would have 4 parts of 12, 1 part of 11, 1 part of 10, 3
part of 9, and such...
I tried
2012 Mar 28
5
plot points using circles filled half in red and half in blue.
I want to plot many points and want to use circles. The filling color
depends on variable a. if a=1, then not fill
if a=2 then fill with red, if a=3 then fill with blue, if a=4, fill
half with red and half with blue. Can anyone tell me how to plot the
case "a=4"? Thanks a lot
2010 Aug 03
4
[PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
From: Hank Janssen <hjanssen at microsoft.com>
Increased storvsc ringbuffer and max_io_requests. This now more closely mimics
the numbers on Hyper-V. And will allow more IO requests to take place for the SCSI driver.
Signed-off-by:Hank Janssen <hjanssen at microsoft.com>
Signed-off-by:Haiyang Zhang <haiyangz at microsoft.com>
---
drivers/staging/hv/storvsc_api.h | 4 ++--
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]]
2010 Aug 03
4
[PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
From: Hank Janssen <hjanssen at microsoft.com>
Increased storvsc ringbuffer and max_io_requests. This now more closely mimics
the numbers on Hyper-V. And will allow more IO requests to take place for the SCSI driver.
Signed-off-by:Hank Janssen <hjanssen at microsoft.com>
Signed-off-by:Haiyang Zhang <haiyangz at microsoft.com>
---
drivers/staging/hv/storvsc_api.h | 4 ++--
2010 Jan 26
2
heatmap.2 color range
Hi,
I'm trying to create a heatmap with color ranges for different values in my
matrix. For example:
If x > 5 , use orange gradient
if x < 1.5, use red gradient
.....
Right now I have the following:
orgPal<-brewer.pal(3,"Oranges")
bluPal<-brewer.pal(3,"Blues")
redPal<-brewer.pal(3,"Reds")
grad <- ifelse(randMat >
2016 Oct 09
3
Embedding llvm as a git submodule in Project
Hi all.
I want to use llvm in my project and I want to make llvm a git submodule
in my project.
http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project
At this in the documentation it claims to describe how to embed llvm
into a project. I tried it that way but it doesn't work, because there
isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i
don't
2009 Nov 30
1
Continuous legend colors
Dear List,
I am trying to get a basic plot to show a continuous range of fill colors. It is probably easiest to demonstrate. I would like a legend like in the following example:
Satellite.Palette <-colorRampPalette(c("blue3","cyan","aquamarine","yellow","orange","red"))
require(fields)
image.plot(volcano, col = Satellite.Palette