Categories
status

Subscripting in R * [ gives the same …

Subscripting in R

[ gives the same data type as the data it is applied to.
[[ and $ extract the element and the data type is not necessarily the same as that of the data it is applied to.

$ does partial matching.
[ and [[ don’t.

$ does not evaluate.
[ and [[ evaluate their arguments.

By microbe

Like to cook for microorganisms and human. Play football, tennis, and baseball.

Leave a Reply

Your email address will not be published. Required fields are marked *