Data frame Manipulation in R

Data frame Manipulation in R


Last edit: Rebecca Rudman (13 Dec 2016 14:36) | Revisions: 0 | Created by: Rebecca Rudman | Rating: 0


[Page in construction, please be patient :) ]

What is a Data frame?

A data frame is an R object that contains information from multiple data tables of the same vector length [1].

How to create a data frame

Function data.frame

A data frame can be created in R using the data.frame function [2]. This function has a number of components, but first we will focus on a very simple data frame without row and column names.

Example exercise

How to extract sections of a data frame

How to change components of a data frame

Bibliography
1. R Tutorial (2016) Data Frame [online] http://www.r-tutor.com/r-introduction/data-frame
2. R Documentation (2016) Data Frames [online] http://stat.ethz.ch/R-manual/R-devel/library/base/html/data.frame.html

rating: 0+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License