Still learning with R

September 20, 2006

In all my R coding so far I’ve been referencing individual lists within a dataframe (trans: column in a table) with the frame$list syntax. Not very generic, especially when I’m trying to write a generic, multi dimensional bucketing function. So somewhat belatedly I’ve discovered the frame[[list]] syntax, which allows me to parameterise the column references I pass to my bucketing code. Phew!

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s