How to apply multiple function to data.table in R -
I tried to:
dt < - data.table (MonthName = month name, id = 1: 3, a = stomach (rnorm (12)), b = abs (rnorm (12)), c = abs (rnorm (12)), d = abs (Rnorm (12)) Satki (DT, ID) ANS & lt; - DT [, Lapli (SD, Earth) / Lapple (SD, SD), = 'ID'. SDCOL = Name (DT) [- 1]] But does this error, so there are ways to do this? Thank you
Use lapply in other codes in the same context: ANS & lt; - DP [, lapali (SD), function (x) meaning (x) / sd (x)), = 'id'. SDCL = Name (DT) [- 1]]
Comments
Post a Comment