|
The first thing most
people like to do after reading in data is to take a look at the data. Or,
find out about individual variables in the data frame. To look at the entire
dataset, type "edit(<mydataobject>)", where <mydataobject> is replaced by
the object name of the dataset that you read or created. It will show up the
data matrix. You can also use the square brackets to index elements of the
dataframes or vectors. Use dollar signs ($) to extract specific variables
for data frames. If you have attached a particular data frame into the
namespace, you can access the individual variables by simply typing their
variable name, you will not have to use the dollar sign for accessing them
anymore.
|