Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to modify the column name of R data box in r language

Shulou Source: shulou.com Published: 2022-06-01 10:45:01 09月26日 Update

This article mainly introduces how to modify the column name of R data box in r language, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let's take you to know it.

Now let's preview [malicious data]

There are two column names, that is, two variable names with spaces in the middle, which is easy to cause some unnecessary operation errors in the future statistical analysis.

In addition, the variable name should not be too long, it is recommended to use English abbreviations to express, short English characters are the best. Therefore, we have a need to change the name of a long variable or a name with spaces to a short abbreviation.

Share a violent way:

Open the spreadsheet with the fix function, preview the data with the spreadsheet, and directly change the name or even the type of the variable on the table, just like you did with Excel.

Let's look at the results:

Thank you for reading this article carefully. I hope the article "how to modify the column name of R data box in r language" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Name variable data article table English language two electronic space abbreviation that is value interest function at the same time character suggestion malicious way Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information NVidia Microsoft OPPO Reno Shulou Tech Info