I am a beginner in the R language and wanted to know how I would create a mutate function that would create a new column in my table and at the same time store in that new column the sum of the values contained in the other 6 columns of my table as in example below, I also wanted to create another column named proportion on the side of the Sum_total column that would take the largest number present between columns A and F and divide it by the value contained in the Sum_total column. For example, in the first row of the proportion column I would have 100 (highest value between columns A and F) / 150 (value contained in the column TotalSum).
Important details: The columns of A: F are of character type and I have a series of NA's in these columns that I would like to disregard when making my sum.
A B C D E F Soma_total Proporcao
100 50 NA NA NA NA 150 (100/150)
49 51 1 NA NA NA 101 (51/101)
30 20 5 1 NA NA 56 (30/56)
11 10 2 NA NA NA 23 (11/23)
7 3 5 1 1 1 18 (7/18)
0 10 NA NA NA NA 10 (10/10)
1 2 NA NA NA NA 3 (2/3)
5 6 2 NA NA NA 13 (6/13)
7 3 1 3 1 NA 15 (7/15)
12 3 1 2 NA NA 18 (12/18)