[R] Reading Numeric Data -- Trivial Question

Alex K alex.j.k at gmail.com
Fri May 20 22:35:18 CEST 2005


Hi Patrick, thank you for your reply,

On 5/20/05, Patrick Burns <pburns at pburns.seanet.com> wrote:
> Two minor points:
> 
> 1)  You surely have logarithmic returns rather than the log of (some
> type of) returns.
> 

  Yes, obviously, my mistake.

> 2)  Once you get data suitable for a histogram, do:
> 
> hist(retr)
>

  I tried that but hist() also expects a numeric vector, and that's
what I can't find out how to do: extracting the data in a suitable
form from the file.

  On "retr;"

I get :
"                V1
1    -9.483434e-04
2     1.817336e-03
3     0.000000e+00
4     1.081303e-02"

and so on until 2527, which is the number of entries.


Thank you again for your reply,
Alex




More information about the R-help mailing list