I just discovered the tribble
function, which makes it easy to quickly construct data frames (well, tibbles
) in R inline. It’s kind of like datalines
with a DATA Step in SAS.

I just discovered the tribble
function, which makes it easy to quickly construct data frames (well, tibbles
) in R inline. It’s kind of like datalines
with a DATA Step in SAS.
© Max Masnick. Views expressed here are mine alone.