Re: [R] List Structure and Acces to data

2013-07-24 Thread David Carlson
-boun...@r-project.org] On Behalf Of MacQueen, Don Sent: Wednesday, July 24, 2013 2:26 PM To: Eric TRAVAGLINI; r-help@r-project.org Subject: Re: [R] List Structure and Acces to data What you are doing looks like it is probably more complicated than necessary, but since I have no idea what structure you

Re: [R] List Structure and Acces to data

2013-07-24 Thread MacQueen, Don
What you are doing looks like it is probably more complicated than necessary, but since I have no idea what structure you intend to create, it is hard to say. Here is a suggestion: try this: str(my_echant_hist) It will give you a summary of the structure of that object, which should help you u

Re: [R] List Structure and Acces to data

2013-07-23 Thread Berend Hasselman
On 23-07-2013, at 13:22, "Eric TRAVAGLINI" wrote: > Hello, > > I used some other langages as Matlab and i just began with R, and i need help > with data structure. > > Here is my code > > " > fct_echant_hist <- function ( my_echant, my_vitesse, my_hist, my_summary) { > list (my_echan

Re: [R] List Structure and Acces to data

2013-07-23 Thread Bert Gunter
Read the "Introduction to R tutorial" that is part of your R installation. For more complete information, consult the "R Language Definition" and ?"[". -- Bert On Tue, Jul 23, 2013 at 4:22 AM, Eric TRAVAGLINI wrote: > Hello, > > I used some other langages as Matlab and i just began with R, a

[R] List Structure and Acces to data

2013-07-23 Thread Eric TRAVAGLINI
Hello, I used some other langages as Matlab and i just began with R, and i need help with data structure. Here is my code " fct_echant_hist <- function ( my_echant, my_vitesse, my_hist, my_summary) { list (my_echant = my_echant, my_vitesse = my_vitesse,