R Variable Assignment
var_assign1 | valid | Variable can use in number,underscore |
var_assign% | Invalid | Can’t use ‘%’. dot(.) and underscore allowed. |
2var_assign | invalid | Variable can’t start with number |
.var_assign , var.assign |
valid | Can start with a dot(.) and the dot(.) with join. |
.2var_assign | invalid | Variable started with dot & number |
_var_assign | invalid | Variable starts with _ which is not valid |