I have dynamic dataframes of n*n rows and column for example
A B C D E
MA 649 747 794 951 NA
TX 762 NA 360 735 523
CA 426 295 750 712 908
NY NA 344 366 508 492
OL 925 991 336 NA 802
IN 733 397 746 715 707
OR 549 343 435 514 964
Total 889 836 NA 955 369
every time i have to calculate the total of last row, do we have any solution for this.
in this case I'm isolating a relevant row, where the carname is Merc 230, for you its where some variable has the Total Cases label in it... , then select the summable columns, then sum them