Thanks, Dennis!

Do you or anyone know how do I create a dataset like total.data of the example in [1]??
My dataset is a matrix, not a list structure.
Is there a way to convert it?

Thanks!

[1] - http://www.cls.zju.edu.cn/binfo/BNArray/


Em 01-07-2011 20:15, Dennis Murphy escreveu:
Hi:

See inline.

On Fri, Jul 1, 2011 at 2:10 PM, Sergio Mira<shbm...@gmail.com>  wrote:
Hi,

I'm trying to understand some details about an example maintened in [1].
According that link, I have total.data as a data set (am I right?).

But I don't understand how is built that table.
I saved the dataset in a file, with dput(), and had something like this:

structure(list(df.all = structure(list(V1 = structure(c(1L, 2L,
3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L,
17L, 18L, 19L, 20L, 21L, 22L, 23L, 24L, 25L, 26L, 27L, 28L, 29L,
30L, 31L, 32L, 33L, 34L, 35L, 36L, 37L, 38L, 39L, 40L, 41L, 42L,
43L, 44L, 45L, 46L, 47L, 48L, 49L, 50L, 51L, 52L, 53L, 54L, 55L,
56L, 57L, 58L, 59L, 60L, 61L, 62L, 63L, 64L, 65L, 66L, 67L, 68L,
69L, 70L, 71L, 72L, 73L, 74L, 75L, 76L, 77L, 78L, 79L, 80L, 81L,
82L, 83L, 84L, 85L, 86L, 87L, 88L, 89L, 90L, 91L, 92L, 93L, 94L,
95L, 96L, 97L, 98L, 99L, 100L, 101L, 102L, 103L, 104L, 105L,
106L, 107L, 108L, 109L, 110L, 111L, 112L, 113L, 114L, 115L, 116L,
......
......
.....
V2 = structure(c(278L, 23L, 11L, 169L, 14L, 86L, 94L, 51L,
     37L, 43L, 22L, 169L, 49L, 120L, 18L, 60L, 42L, 41L, 38L,
     64L, 38L, 32L, 140L, 146L, 106L, 26L, 46L, 65L, 17L, 106L,
     20L, 33L, 68L, 62L, 111L, 10L, 149L, 17L, 49L, 164L, 271L,
     8L, 60L, 2L, 48L, 127L, 80L, 70L, 13L, 31L, 32L, 3L, 50L,
     144L, 25L, 12L, 84L, 80L, 116L, 6L, 49L, 127L, 5L, 56L, 13L,
     49L, 39L, 13L, 22L, 24L, 55L, 44L, 92L, 59L, 111L, 10L, 58L,
     104L, 3L, 177L, 36L, 38L, 50L, 28L, 190L, 17L, 21L, 2L, 38L,
......
......
......
"767", "768", "769", "770", "771", "772", "773", "774", "775",
"776", "777", "778", "779", "780", "781", "782", "783", "784",
"785", "786", "787", "788", "789", "790", "791", "792", "793",
"794", "795", "796", "797", "798", "799")), n.changed = 799L,
     n.all = 6179L), .Names = c("df.all", "df.ori", "n.changed",
"n.all"))


What is that part 1L, 2L, 3L, ... ?
They represent integer values.

What is V1, V2, V3, ... ?
The names of the individual list components.

How is the relation between V1, V2, V3, ...?
You have a list structure. V1 is (apparently) the name of the first
component, followed by its values. Ditto for V2, V3, etc. Don't know
what's going on at the bottom, though.

HTH,
Dennis
Is there any help about that structure?

I want to build a similar structure, but need to know what are the
meaning of these things..

Sorry for noobing here... Very thanks!

--
Regards,
|| ------
|| Sergio Henrique Bento de Mira
|| Computer Science | Class of 2008/2
|| Federal University Of Lavras | UFLA
|| Lavras, MG, Brasil
|| ---
|| sergiohbm...@computacao.ufla.br
|| Cell: (+55) (35) 9128-4240
|| ------
"Be the change you want to see in the world"


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


--
Regards,
|| ------
|| Sergio Henrique Bento de Mira
|| Computer Science | Class of 2008/2
|| Federal University Of Lavras | UFLA
|| Lavras, MG, Brasil
|| ---
|| sergiohbm...@computacao.ufla.br
|| Cell: (+55) (35) 9128-4240
|| ------
"Be the change you want to see in the world"

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to