Hi,

I have the following problem.
In a csv file I have under column A, the date, and column B, the prices.
Thus, for example, the file looks something like this ->

1/31/04      2.5
2/1/04        2.6
...
4/12/04       3.5

Basically,  I use the function inputframe = read.csv( )
which reads the csv file into the inputframe.

My question is, how can I make a function that has, as inputs, start_date and end_date,
so that the inputframe would not return all of these prices but only the ones during the
period I input?


For example, if I input 3/1/04 and 3/11/04, the inputframe only contains the prices for
this period.


Any help is appreciated!!

Kim

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to