Re: what does data banque look like?

From: Thibaut Jombart (jombart@biomserv.univ-lyon1.fr)
Date: Thu Nov 24 2005 - 13:35:45 MET

  • Next message: Jolene Grant: "x----SPAM----x re[5]"

    Hello again,

    > Hallo!
    >
    > My question is about the file ‘data(banque)’.
    >
    > Is that a category data file, like this?:
    >
    You can access the informations about a data file with
    ?any_data_file_in_a_loaded_library.
    here just type : ?banque

    > Variables:
    >
    > 'agric' 'artis' 'cadsu' 'inter' 'emplo' 'ouvri' 'retra' 'inact'
    > 'etudi' 'dm2' 'd24' 'd48' 'd812' 'dp12' 'non' 'oui' 'ai25' 'ai35'
    > 'ai45' 'ai55' 'ai75' and so on…
    >
    > Data:
    >
    > First row/individual: 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 and so
    > on…
    >
    > Second row/individual: 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 and
    > so on…
    >
    > I have found the file here:
    >
    > C:/Program Files/R/R-2.2.0/library/ade4/data/banque.rda
    >
    > But it is in .rda format, which I think is the dataformat for R.
    >
    > I cannot open it in Word pad or similar word processor. (I want to see
    > if data(banque)’ is a category data file (0/1)).
    >
    > In the end, I want to create my own original data file (with SPSS) and
    > export it as a text file and open it in R.
    >
    You can read any text file in R :
    ?read.table

    and write any table to a text file :
    ?write.table

    To do the same with R objects :
    ?load
    and
    ?save

    If you want some infos about dudi.acm, type :
    example(dudi.acm)
    it will execute the command lines you can find at the end of the help :
    ?dudi.acm

    Have a nice reading.

    Thibaut.

    -- 
    ######################################
    Thibaut JOMBART
    CNRS UMR 5558 - Laboratoire de Biométrie et Biologie Evolutive
    Universite Lyon 1
    43 bd du 11 novembre 1918
    69622 Villeurbanne Cedex
    Tél. : 04.72.43.29.35
    Fax : 04.72.43.13.88
    jombart@biomserv.univ-lyon1.fr
    



    This archive was generated by hypermail 2b30 : Thu Nov 24 2005 - 13:36:40 MET