Displaying 20 results from an estimated 400 matches similar to: "Add a line in a Pairs2 and mark the axis length"
2009 Jul 27
2
pairs plot
Hi all,
I want to plot trough pairs() plot a matrix with 4 columns. I want to make a
trhee plot in a graph. Plotting pairs colum 2,3,4 on y axis and 1 on X axis.
You mean (a plot with three graphs) ommitting the first pair with itself.
And only the pairs with colum 1 with the other not all pairs.
I. e. this matrix
4177 289390 8740 17220
3907 301510 8530 17550
3975 316970 8640 17650
3651 364220
2009 Dec 24
2
Two Easy questions
Sorry all for these two easy questions:
First, I have a matrix with trhee columns:
A=
Name Eight Puntuation
Pepe 1,85 10
Paco 1,7 7
Pablo 1,82 6
I want to scatter the two columns (I could use pairs or other functions...)
but the only doubt is that I cannot find the way to add in the associated
intersection (the point scattered) the label "Pepe" "Paco" and so
2012 Sep 18
3
ommoting rows
Hi I have an output data Data.csv
this style:
,"V1","V2","V3" 1,"-9552","9552","C" 2,"0","9653","0"
3,"9614","9614","V" 4,"0","9527","0" 5,"-9752","9752","C"
6,"0","9883","0"
2009 Jul 16
4
Save results
I imagine I make a function whose results are a Matrix Z
How cn I save in a txt or excel file the result of apply my function?
something similar to save Z.txt.
Thanks in advance.
[[alternative HTML version deleted]]
2013 Apr 01
3
expression
Hi all,
I´m using
titt<- expression(paste("R con ventanas de 200 ", italic(datos)))
And it works properly on a plot(...,main=titt,..)
But if I want to add an improvement to avoid typing n on the plot so that
n<-200
titt<- expression(paste("R con ventanas de ",n, italic(datos)))
It doesn´t recognize that n is a "variable" and adds "n" letter
2009 Jul 21
3
writte file doubt
Hi I wrotte this function but when I get the "tmp.xls" file it shows data
in a rare way. I mean not appears a matrix with 2000 rows and 100 columns.
Can anyone help me, guide me?
kim<-function(){
tmp<-randz<-matrix(rnorm(200000, mean=0,sd=0.01 ),2000,100);
dim(tmp)
write(tmp,file="tmp.xls")
Thanks in advance.
On the other hand, everytime I execute a function
2010 Jan 26
3
Graph color
Hi all I want to apply different colors on a simple plot:
If I type par(br="gray") before a plot it puts all the image in gray but
(imagine I run a simple plot) want to let the centrall box (where the dots
are plotted) in white or image in lightblue.
Can anyone guide me to apply this second step (make the box where the series
are plotted in different colours).
Thanks in advance.
2009 Nov 24
1
Scatter plot with margin distributions
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091124/39eccb61/attachment-0001.pl>
2012 Aug 02
6
Polygon shaded area
Hi all,
I have two vectors (columns) called "efinal" and "efinal 2".
I want to plot them on the same plot and "draw" a shaded area beween the
two lines using function polygon
I have tried all but I don ?t understand the polygon area, can you help me
with examples?
plot(efinal,type="l",ylim=range(min(efinal2),
1999 Nov 12
1
some related problems
I just tried to batch-start rgui.exe (not rterm.exe) in a way, that it
read.table()s data from a file with changing filename. As I understand no
command line parameters are available for that, so instead I tried to pass
the filename to an approbriate .RProfile, which works roughly, BUT
## this is my %R_USER%\.RProfile
im <- read.table("d:/temp/im/temp.csv", header=TRUE,
2010 Mar 12
3
how to plot only the upper triangle using the pairs function?
Hi,
I am trying to use function pairs to plot the scatterplot, but I only want
to keep the upper triangle, what's the argument to do this?
Thanks,
-Jack
[[alternative HTML version deleted]]
2013 Mar 29
1
pairs(X,Y) analog of cor(X,Y)?
With a data frame containing some X & Y variables I can get the between
set correlations
with cor(X,Y):
> cor(NLSY[,1:2], NLSY[3:6])
antisoc hyperact income educ
math 0.043381307 -0.07581733 0.25487753 0.2876875
read -0.003735785 -0.07555683 0.09114299 0.1884101
Is there somewhere an analog of pairs(X,Y) that will produce the pairwise
plots of each X against each
2009 Oct 14
1
pairs
Dear all,
I have two sets of data (say set1 and set2) as follow:
set1
x1
x2
x3
0.30
0.43
3.88
0.38
0.59
3.53
0.30
0.42
2.12
0.33
0.53
2.12
0.30
0.47
3.76
set2
y1
y2
y3
0.32
0.47
5.18
0.23
0.26
1.06
0.42
0.65
3.88
0.28
0.38
3.76
0.35
0.47
1.41
The "pairs" function (such as pairs(~x1+x2+x3 data=set1, main="Simple Scatterplot Matrix") ) is
2011 Jun 29
3
very large pair() plot
Hi everyone,
I'm a newbie and this is my first post.
My boss wants me to make a series of scatter plots where 76 variables are
plotted against each other. I know how to do this using pair()...my problem
is that there are just too many plots to fit in the window.
Is there any way I can get all the plots to fit and make the font size and
marker size scale so it is readable? My goal is to
2009 Jul 16
3
rnorm
Hi I want to simulate random numbers normal distributed with this size
(2000,10000).
I tried this but my computer exhaust there is a fast way to make it?
randz<-matrix(rnorm(2000000),2000,10000)
[[alternative HTML version deleted]]
2004 Apr 02
1
which on array
Good morning !
Today I found a strange, for my poor knowledge of R, behaviour of
'which' on a matrix:
HAL9000> str(cluster.matrix)
num [1:227, 1:6300] 2 2 2 2 2 2 2 2 2 2 ...
HAL9000> class(cluster.matrix)
[1] "matrix"
HAL9000> ase <- cluster.matrix[1:5,1:5]
HAL9000> ase
[,1] [,2] [,3] [,4] [,5]
[1,] 2 2 2 0 -2
[2,] 2 2 2 0 -2
[3,]
2009 Dec 11
2
Data
Hi all,
Imagine I have a matrix and the first colum is a list that repeats the same
names, I want to sum the second column on each unique name on first column.
Imagine this:
Pepe 2
Pepe 3
Pepe 4
Jose 2
Jose 5
Manuel 4
Manuel 2
I want to make a new matrix that calculates and recognizes that there are 3
different names ans sum second column. But a priori I don´t know the list of
the different
2010 Aug 31
2
Making plots in big scatterplot matrix large enough to see
I've got a data frame with 23 columns, and wanted to plot a scatterplot
matrix of it. I called
pairs( df )
where 'df' is my data frame. This did generate the matrix, but the
plotting window did not expand to make the individual plots large enough
to see. Each one was only about 10 pixels high and wide.
I tried sending the plot to a file, with a high and wide image,
by doing
2012 Feb 10
2
apply pairs function to multiple columns in a data frame
I am very new to R and programming and thank you in advance for your patience
and help with a complete novice!
I am working with a large multivariate data set that has 10 explanatory
environmental variables (e.g. temp, depth) and over 60 response variables
(each is a separate species). My data frame is set up like the simplified
version below:
JulianDay Temperature Salinity Depth Copepod
2009 Nov 25
1
Plot and area below a line graph
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091125/654989c6/attachment-0001.pl>