[R-SIG-Finance] apply a function to a data.frame column with condition

Enrico Schumann e@ @end|ng |rom enr|co@chum@nn@net
Fri Mar 7 14:57:34 CET 2025


On Fri, 07 Mar 2025, Arnaud Gaboury writes:

[...]

> Question: why do you paste 42 here ?
>     get_btc_price <- function(my_time) {
>         paste(42, my_time)
>     }

Oh, just some random computation with 'my_time' :-)



-- 
Enrico Schumann
Lucerne, Switzerland
https://enricoschumann.net



More information about the R-SIG-Finance mailing list