56151/help-with-calculation
I have a dataset like below.
Id inst1 inst2 ... 1 1000 2000 ... 2 3000 1200 ... ...
I want to calculate sum like below. Can someone help.
Id inst1 inst2 paid 1 1050 2100 3150 2 3150 2220 5370 ...
Hi Karthik, use pmap( ) to find the sum.
use below command.
df %>% mutate(paid = pmap(df,sum))
With the help of Dplyr: rename function ...READ MORE
Try this: Two <- seq(2,100,2) READ MORE
Dear Koushik, Hope you are doing great. You can ...READ MORE
Dear Learner, We hope you are doing well. Please ...READ MORE