Displaying 2 results from an estimated 2 matches for "ase2".
Did you mean:
base2
2004 Apr 02
1
which on array
...t; 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,] 2 2 2 0 -2
[4,] 2 2 2 0 -2
[5,] 2 2 2 0 -2
HAL9000> ase2 <- matrix(c(2,2,2,2,2)%*%t(c(1,1,1,0,-1)),5,5)
HAL9000> ase2
[,1] [,2] [,3] [,4] [,5]
[1,] 2 2 2 0 -2
[2,] 2 2 2 0 -2
[3,] 2 2 2 0 -2
[4,] 2 2 2 0 -2
[5,] 2 2 2 0 -2
HAL9000> str(ase2)
num [1:5, 1:5] 2 2 2 2 2 2...
2009 Jul 29
1
Add a line in a Pairs2 and mark the axis length
...I want to draw a line (like abline) on diagonal or the result of running a
ols.
How can I do it.
On the other hand, I want to mark the length on each sub plot y axis.
It is possible?
My function is
sca<-function(){
z2<-read.table("Ase.txt",header=T)
z3<-read.table("Ase2.txt",header=T)
pairs2(z2,z3)
}
Ase.txt cointains
3653 4617 4177 3907 3975 3651 3031 2912 3018
Ase2.txt contains
ant g t
219390 8740 17220
301510 8530 17550
316970 8640 17650
364220 9360 21420
387390 9960 23410
430180 11040 25820
499930 12240 27620
595...