[R] Applying a function to dataframe column where the function value depends on the value of another column

TJUN KIAT TEO teotjunk @end|ng |rom hotm@||@com
Fri Jun 5 09:02:44 CEST 2020


Suppose I have a dataframe in this from

a b c
g 2 3
h 4 5
i 6 7

I want to apply a function to individual elements of column C where the function value depends on the value of column A

	[[alternative HTML version deleted]]



More information about the R-help mailing list