//
you're reading...
HCI

[HCI Stats] Basic operations with R

This post is based on Yatani’s wiki on HCI Stats.

Make up some data and demonstrate the following R operations:

  1. Install a package (say, “car”);
  2. Include the package you just installed;
  3. What is the current working directory?
  4. Change the current working directory to “C:/R/” (what’s the format for “/”?);
  5. Import and show a csv file (first create one!);
  6. Show what a dataframe is;
  7. How to show a specific column/row?
  8. How to add/remove a column/row?
  9. How to change the names of the columns/rows?
  10. Show what a summary() is;
  11. Show what a by() is;
  12. Show what an apply() is (how to use it for the columns/rows?);
Advertisements

About Xiang 'Anthony' Chen

Making an Impact in Your Life

Discussion

No comments yet.

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

Twitter Updates

%d bloggers like this: