tdsmith / aRrgh

A newcomer's (angry) guide to data types in R
Other
307 stars 14 forks source link

Sneaky data frame coercion with binary operators #15

Closed Protonk closed 10 years ago

Protonk commented 10 years ago

See here for an example where ^ coerces a data frame to a matrix but ** does not. The post (and answer) offers some reasoning as to why as well as a link to some more edge cases.

If you think this merits inclusion I'll make a PR.

Protonk commented 10 years ago

Duplicates #17