Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 45

4.2. Variables

Оглавление

As any computer language, R allows to use variables to store information. The variable is referred to by its name. Valid names in R consist of numbers and characters. Evenmost special characters can be used.

variables

In R, variables

 can contain letters as well as “_” (underscore) and “.” (dot), and

 variables must start with a letter (that can be preceded with a dot).

For example, my_var.1 and my.Cvar are valid variables, but _myVar, my%var and 1.var are not acceptable.

The Big R-Book

Подняться наверх