[R] How to modify data frame stored in a list

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Mon Jun 18 23:50:17 CEST 2018

Do you want it to run quickly or be quick to write?

Why have you specified that you want a solution that uses lapply? (Such constraints often arise in the context of homework, whereas someone interested in getting the job done does not usually care about which function is used.)

On June 18, 2018 1:46:57 PM PDT, Honkit Wong <stephen66 using gmail.com> wrote:
>Dear R community,
>I have a question seems very simple but have trouble to do it. 
>I have a list which stores many data frames. Now, I want to perform
>log10 on one column in each data frame in the list and save the value
>as a new column back to the original data frame in the list. How do I
>quickly do that with lapply function ?
>Many thanks. 
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

Sent from my phone. Please excuse my brevity.

More information about the R-help mailing list