-1
Good morning,
I have been using R for a short time and have been learning in practice. I have now come across a difficulty with a table. How can I add all rows of certain columns and display the result in a new column?
In the case my initial table has six columns that will be summed into two blocks of three columns. Example: Technology, Computer Program and Industrial Design Contracts. But I wanted the results by countries that are separated by lines, in a new column that will be Technological Production.
An example of the spreadsheet I’m working on: https://docs.google.com/spreadsheets/d/1_HTtYC6h8ycXJO83jJiFRfWviqz-EOCHsytV0PtC2kU/edit?usp=sharing
To speed up the answer to your question always use a
dput
of your table on R and post here what comes out on your console.– Flavio Silva