Hi,
I am wondering if anybody has experience with
scatterplot matrices where some (but NOT all) axis
are transformed and the labels are nicely plotted.
So far I looked into
1) pairs()
2) scatterplotMatrix() from package 'car'
3) splom() from packagae 'lattice'
4) plotmatrix() from 'ggplot2'
I ca
Hi,
strangely, when I run this script:
panel.cor = function(x, y, digits=2, prefix="r=", cex.cor)
{
usr = par("usr"); on.exit(par(usr))
par(usr = c(0, 1, 0, 1))
r = abs(cor(x, y, use="pairwise.complete.obs", method = "pearson"))
txt = format(c(r, 0.123456789), digits=digits)[1]
Thanks a lot for the answer
--
View this message in context:
http://r.789695.n4.nabble.com/Scatterplot-matrix-Pearson-linear-correlation-and-Density-Ellipse-tp2763552p2953909.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-pr
Dear ashz,
Unfortunately, much of you want is not possible with the current
implementation of pairs.panels.
Since pairs.panels is adapted from the help file of pairs, you might
try pairs and then add in the panel functions that do what you want.
That the lm option does it what it does met a
Hi,
I used the pairs.panels() in pkg:psych and it is helpful. It saves time.
but if I use this line:
pairs.panels(cfcap[8:11], scale = FALSE, lm=TRUE,ellipses=TRUE, digits = 2
)
The results are:
- The upper.panel does not show the pearson r but the lm data. Furthermore,
can I use the pairwise
On 2010-09-30 15:42, ashz wrote:
Hi,
I have modified a known script to generate a scatterplot matrix:
panel.cor = function(x, y, digits=2, prefix="Rho=", cex.cor)
{
usr = par("usr"); on.exit(par(usr))
par(usr = c(0, 1, 0, 1))
r = abs(cor(x, y, use="pairwise.complete.obs", metho
Hi,
I have modified a known script to generate a scatterplot matrix:
panel.cor = function(x, y, digits=2, prefix="Rho=", cex.cor)
{
usr = par("usr"); on.exit(par(usr))
par(usr = c(0, 1, 0, 1))
r = abs(cor(x, y, use="pairwise.complete.obs", method = "pearson"))
txt = format(c(r,
I don't think this approach will work. In your call to facet_grid you
call variable twice. Another way to do this is create another
variable, call it "variable2" and set it equal to variable. Now look
at the dataframe. You have values for variable = x1, variable2 = x1,
but no values for variable =
#I would like to use the below data to make a scatter plot matrix with
#code similar to that below the data
#conceptually this is the right approach I think
#thanks in advance
melt.gg <- structure(list(stream = c("Bonham Lower", "Bonham Lower",
"Bonham Lower",
"Bonham Lower", "Bonham Lower", "Bonh
OK thanks David
>> Thanks very much, Uwe. I will try this (on artificial data). I think
>> reshape() requires a library [reshape?].
>
> No. In fact, the reshape package does not have a reshape function.
>
> --
>
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
>
>
__
On Jan 2, 2010, at 1:49 PM, William Simpson wrote:
Now that we are able to help with some more detailed view of your
data
(although you could have helped helping by making it easier for us
to import
your data into R), the answer is:
I am preparing for the data analysis, writing the code (k
> Now that we are able to help with some more detailed view of your data
> (although you could have helped helping by making it easier for us to import
> your data into R), the answer is:
I am preparing for the data analysis, writing the code (knowing I may
have to modify it later) while the data a
William Simpson wrote:
On Sat, Jan 2, 2010 at 4:55 PM, Charles C. Berry wrote:
On Sat, 2 Jan 2010, William Simpson wrote:
I would like a scatterplot matrix and a correlation matrix for the
following set-up.
The data (dataframe d) are like this:
angle resp
-90 182
-60 137
-30
On Sat, Jan 2, 2010 at 4:55 PM, Charles C. Berry wrote:
> On Sat, 2 Jan 2010, William Simpson wrote:
>
>> I would like a scatterplot matrix and a correlation matrix for the
>> following set-up.
>> The data (dataframe d) are like this:
>>
>> angle resp
>> -90 182
>> -60 137
>> -30 .
On Sat, 2 Jan 2010, William Simpson wrote:
I would like a scatterplot matrix and a correlation matrix for the
following set-up.
The data (dataframe d) are like this:
angle resp
-90 182
-60 137
-30 ...etc
0
30
60
90
...etc
I would like each cell in the matrix to be the scatterpl
I would like a scatterplot matrix and a correlation matrix for the
following set-up.
The data (dataframe d) are like this:
angle resp
-90 182
-60 137
-30 ...etc
0
30
60
90
...etc
I would like each cell in the matrix to be the scatterplot of the
responses for each pair of angles (
age-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> project.org] On Behalf Of DISABATINO, LYDIA
> Sent: Tuesday, October 21, 2008 3:10 PM
> To: r-help@r-project.org
> Subject: [R] Scatterplot Matrix
>
>
> Is there any way to make the points on my scatterplot matrix corr
Is there any way to make the points on my scatterplot matrix correspond to
numbers instead of dots? I know how to do this on a regular 2-variable
scatterplot but not on the matrix. Thanks!
-Lydia
[[alternative HTML version deleted]]
__
R-h
I figured it out- always include the numbers of the columns in the plot
statement that you want to scatter.
On Fri, Jul 25, 2008 at 9:23 AM, stephen sefick <[EMAIL PROTECTED]> wrote:
> have a data frame composed of many columns. I would like to hold one
> column constant and scatter plot it agia
have a data frame composed of many columns. I would like to hold one column
constant and scatter plot it agianst all of the other columns? how do I do
this? I have only been able to plot(x) and use indexes to create an entire
scatterplot matrix, but not hold one constant.
--
Let's not spend ou
20 matches
Mail list logo