[R] lapply and Two TimeStamps as input

Comcast dwinsemius at comcast.net
Tue Nov 1 01:04:47 CET 2011


Provide some sample data. For instance, a  data frame with two columns and the function.


On Oct 31, 2011, at 6:37 PM, Alaios <alaios at yahoo.com> wrote:

> Dear all,
> 
> I have a function that recognizes the following format for timestamps
> "%Y-%m-%d %H:%M:%S"
> 
> my function takes two input arguments the TimeStart and TimeEnd
> I would like to help me create the right list with pairs of TimeStart and TimeEnd which I can feed to lapply (I am using mclapply actually). 
> For every lapply I want two inputs to be fed to my function. I only know how to feed one input to the lapply
> 
> Could you please help me with that?
> I would like to thank you in advance for your help
> 
> B.R
> Alex
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list