Displaying 20 results from an estimated 400 matches similar to: "corrgram (package corrgram): how to plot multiple correlograms in the same page?"
2012 Dec 02
1
Repeated-measures anova with a within-subject covariate (or varying slopes random-effects?)
Dear all,
I am having quite a hard time in trying to figure out how to correctly
spell out a model in R (a repeated-measures anova with a
within-subject covariate, I guess). Even though I have read in the
posting guide that statistical advice may or may not get an answer on
this list, I decided to try it anyway, hoping not to incur in
somebody's ire for misusing the tool.
For the sake of
2013 Jun 07
1
Function nlme::lme in Ubuntu (but not Win or OS X): "Non-positive definite approximate variance-covariance"
Dear all,
I am estimating a mixed-model in Ubuntu Raring (13.04ΒΈ amd64), with the
code:
fm0 <- lme(rt ~ run + group * stim * cond,
random=list(
subj=pdSymm(~ 1 + run),
subj=pdSymm(~ 0 + stim)),
data=mydat1)
When I check the approximate variance-covariance matrix, I get:
> fm0$apVar
[1] "Non-positive definite
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 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
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, order=NULL, lower.panel=panel.pie,upper.panel=NULL,
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
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 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.
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
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
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:
2002 Dec 17
2
Cross-correlograms or cross-variograms in R?
Hello group,
For my PhD I'm working on a spatial sampling grid. I do have two data sets
which I'd like to compare using cross-correlograms or cross-variograms.
Is this an option in one of the R-packages? I've been searching the R-help
archive and the available package-documentations, but I can't find how to do
this.
Thanks in advance,
Ren?.
2003 Jun 06
2
R help: Correlograms
Hello,
I have time series and need to draw simple and partial correlograms with associated Q-statistics (the same as in EViews). Can I do it in R? Thanks
---------------------------------
[[alternate HTML version deleted]]
2003 Mar 25
1
R help: correlograms
Dear colleagues,
Where I can find tools for drawing correlograms (graphical representations of
autocorrelation and partial autocorrelation functions)?
Thank you,
Max
---
This message contains no viruses.
Guaranteed by Kaspersky Anti-Virus.
www.antivirus.lv
2006 Feb 15
2
arrays of lists in R ("cell arrays" in Matlab)
Dear all
I would like to have some data in the form of a 2-dimensional array
(matrix) of lists, so that I can easily find the desired list object by
indexing the structure by rows and columns. In matlab there exists a
data type called "cell array": a matrix of "cells", which are composite
objects very similar to R lists.
I know that in R you can create 1-dimensional
2015 Aug 06
1
xfs quota weirdness
Hi all,
I have a quota problem with xfs (xfsprogs 3.1.7+b1 on debian GNU/Linux 7
-- wheezy) and samba-4.1.19.
If I set a user quota to say 10GB, windows explorer reports a 20GB quota
of which none used.
If I change quota to x, windows explorer reports 2x space of which none
used.
So I assume samba is somehow getting (albeit incomplete and incorrect)
xfs quota info from operating system.
disks
2011 Feb 08
0
tsboot fails on Seasonal Mann-Kendall (seaKen function, wq package)
Dear R-users,
tsboot fails when I try to perform a block bootstrap on seaKen
(package wq):
these commands:
require(wq)
require(datasets)
boot.block.sen <- function(data){seaKen(data)[[1]]}
tsboot(sunspot.month, boot.block.sen, R=1999, l=12, sim="fixed")
return:
Error in seaKen(data) : x must be a 'ts'
Any suggestion on how might I change seaKen in order to use it with
2002 Apr 20
2
integration of a discrete function
Dear R list
I am looking for a function in R that computes the integration of a
discrete curve, such as a power spectrum, in a specified interval (in my
case, that would be 'power in a certain frequency band'). I found only
functions, such as 'integrate', that perform adaptive quadrature on
analytic functions, and not on a curve specified as a set of (x,y) pairs.
I have the
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)