> levels(state.region)[2]
[1] "S"
> levels(state.region)[[2]]
[1] "S"
They return the same value, so I don't know what is the difference between them.
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
No comments:
Post a Comment