0, 0, 0, 0, 0, 0, 1, 1, 1), 7)
m2 <- m1[7:1, 8:1]
m3 <- m2; m3[1, ] <- 1
identical(inc2canel(m1), inc2canel(m2)) # TRUE
identical(inc2canel(m1), inc2canel(m3)) # FALSE
On Sun, Aug 23, 2009 at 6:09 PM, Steve
Lianoglou wrote:
Hi,
On Sun, Aug 23, 2009 at 4:14 PM, Michael Kogan wrote:
mes on many matrices) but if everything else fails, it will do. :)
Thanks to all for your help!
Michael
David Winsemius schrieb:
On Aug 24, 2009, at 4:01 PM, Michael Kogan wrote:
David: Well, e.g. the first row has 2 ones in your output while there
were no rows with 2 ones in the origin
ix of a graph out of its incidence matrix but I don't
know it...
David Winsemius schrieb:
On Aug 23, 2009, at 4:14 PM, Michael Kogan wrote:
Thanks for all the replies!
Steve: I don't know whether my suggestion is a good one. I'm quite
new to programming, have absolutely no expe
Thanks for all the replies!
Steve: I don't know whether my suggestion is a good one. I'm quite new
to programming, have absolutely no experience and this was the only one
I could think of. :-) I'm not sure whether I'm able to put your tips
into practice, unfortunately I had no time for much re
Hi,
I need to compare two matrices with each other. If you can get one of
them out of the other one by resorting the rows and/or the columns, then
both of them are equal, otherwise they're not. A matrix could look like
this:
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
[1,]011
3 -none- list
d 2 -none- list
e 5 -none- list
Michael Kogan napsal dne 20.08.2009 12:48:32:
Thanks, I was already told this solution by somebody (he just forgot to
add the mailing list as CC). Well, the purpose of the whole thing is to
get something like this:
http://home.a
Thanks, I was already told this solution by somebody (he just forgot to
add the mailing list as CC). Well, the purpose of the whole thing is to
get something like this:
http://home.att.net/~numericana/data/polycount.htm where the numbers in
the table cells give the number of matrices saved in t
Thanks, that was the solution! But in fact I didn't want to have this
"list of lists" layer at all. And now I'm having trouble writing
matrices into the database. It's really really strange... If I write a
matrix into the database manually everything works, but if I create a
function which add
This works, but then I can only save a single matrix in each
database[x,y] while I need to save a list of matrices.
Gabor Grothendieck schrieb:
Try this:
database[[4,4]] <- tetrahedron
database[[4,4]][1,]
[1] 0 1 1 1
On Wed, Aug 19, 2009 at 6:02 AM, Michael Kogan wr
Strange, it doesn't work for me:
Error in database[4, 4][[1]][1, ] : incorrect number of dimensions
Execution halted
R version 2.9.0 (2009-04-17) on Arch Linux, no additional packages
installed.
David Winsemius schrieb:
On Aug 19, 2009, at 6:02 AM, Michael Kogan wrote:
Unfortunatel
4, 1:3] 0.2448 0.0707 0.0995 0.3163 0.5186 ...
$ : num [1:2, 1:4] 0.206 0.177 0.687 0.384 0.77 ...
$ : num [1:3, 1:4] 0.186 0.827 0.668 0.794 0.108 ...
$ : num [1:4, 1:4] 0.258 0.4785 0.7663 0.0842 0.8753 ...
- attr(*, "dim")= int [1:2] 3 3
On Tue, Aug 18, 2009 at 4:48 AM, Michae
m")= int [1:2] 3 3
On Tue, Aug 18, 2009 at 4:48 AM, Michael Kogan wrote:
Hi,
I'm new to programming, new to R and even new to mailing lists so please be
patient with me. I need to manage many matrices generated by an R program.
These matrices have different dimensions and I
Hi,
I'm new to programming, new to R and even new to mailing lists so please
be patient with me. I need to manage many matrices generated by an R
program. These matrices have different dimensions and I'd like to group
them somehow. The best way would be to have a big matrix (let's call it
dat
13 matches
Mail list logo