{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"#Pkg.add(\"DataFrames\")\n",
"using DataFrames"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"###DataFrames gives us readtable which loads a csv file into a DatFrame object"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"
| Package | Title |
---|
1 | COUNT | Functions, data and code for count data. |
---|
2 | Ecdat | Data sets for econometrics |
---|
3 | HSAUR | A Handbook of Statistical Analyses Using R (1st Edition) |
---|
4 | HistData | Data sets from the history of statistics and data visualization |
---|
5 | ISLR | Data for An Introduction to Statistical Learning with Applications in R |
---|
6 | KMsurv | Data sets from Klein and Moeschberger (1997), Survival Analysis |
---|
7 | MASS | Support Functions and Datasets for Venables and Ripley's MASS |
---|
8 | SASmixed | Data sets from \"SAS System for Mixed Models\" |
---|
9 | Zelig | Everyone's Statistical Software |
---|
10 | adehabitatLT | Analysis of Animal Movements |
---|
11 | boot | Bootstrap Functions (Originally by Angelo Canty for S) |
---|
12 | car | Companion to Applied Regression |
---|
13 | cluster | Cluster Analysis Extended Rousseeuw et al. |
---|
14 | datasets | The R Datasets Package |
---|
15 | gap | Genetic analysis package |
---|
16 | ggplot2 | An Implementation of the Grammar of Graphics |
---|
17 | lattice | Lattice Graphics |
---|
18 | lme4 | Linear mixed-effects models using Eigen and S4 |
---|
19 | mgcv | Mixed GAM Computation Vehicle with GCV/AIC/REML smoothness estimation |
---|
20 | mlmRev | Examples from Multilevel Modelling Software Review |
---|
21 | nlreg | Higher Order Inference for Nonlinear Heteroscedastic Models |
---|
22 | plm | Linear Models for Panel Data |
---|
23 | plyr | Tools for splitting, applying and combining data |
---|
24 | pscl | Political Science Computational Laboratory, Stanford University |
---|
25 | psych | Procedures for Psychological, Psychometric, and Personality Research |
---|
26 | quantreg | Quantile Regression |
---|
27 | reshape2 | Flexibly Reshape Data: A Reboot of the Reshape Package. |
---|
28 | robustbase | Basic Robust Statistics |
---|
29 | rpart | Recursive Partitioning and Regression Trees |
---|
30 | sandwich | Robust Covariance Matrix Estimators |
---|
⋮ | ⋮ | ⋮ |
---|
"
],
"text/plain": [
"33x2 DataFrame\n",
"| Row | Package |\n",
"|-----|----------------|\n",
"| 1 | \"COUNT\" |\n",
"| 2 | \"Ecdat\" |\n",
"| 3 | \"HSAUR\" |\n",
"| 4 | \"HistData\" |\n",
"| 5 | \"ISLR\" |\n",
"| 6 | \"KMsurv\" |\n",
"| 7 | \"MASS\" |\n",
"| 8 | \"SASmixed\" |\n",
"| 9 | \"Zelig\" |\n",
"| 10 | \"adehabitatLT\" |\n",
"| 11 | \"boot\" |\n",
"⋮\n",
"| 22 | \"plm\" |\n",
"| 23 | \"plyr\" |\n",
"| 24 | \"pscl\" |\n",
"| 25 | \"psych\" |\n",
"| 26 | \"quantreg\" |\n",
"| 27 | \"reshape2\" |\n",
"| 28 | \"robustbase\" |\n",
"| 29 | \"rpart\" |\n",
"| 30 | \"sandwich\" |\n",
"| 31 | \"sem\" |\n",
"| 32 | \"survival\" |\n",
"| 33 | \"vcd\" |\n",
"\n",
"| Row | Title |\n",
"|-----|---------------------------------------------------------------------------|\n",
"| 1 | \"Functions, data and code for count data.\" |\n",
"| 2 | \"Data sets for econometrics\" |\n",
"| 3 | \"A Handbook of Statistical Analyses Using R (1st Edition)\" |\n",
"| 4 | \"Data sets from the history of statistics and data visualization\" |\n",
"| 5 | \"Data for An Introduction to Statistical Learning with Applications in R\" |\n",
"| 6 | \"Data sets from Klein and Moeschberger (1997), Survival Analysis\" |\n",
"| 7 | \"Support Functions and Datasets for Venables and Ripley's MASS\" |\n",
"| 8 | \"Data sets from \\\"SAS System for Mixed Models\\\"\" |\n",
"| 9 | \"Everyone's Statistical Software\" |\n",
"| 10 | \"Analysis of Animal Movements\" |\n",
"| 11 | \"Bootstrap Functions (Originally by Angelo Canty for S)\" |\n",
"⋮\n",
"| 22 | \"Linear Models for Panel Data\" |\n",
"| 23 | \"Tools for splitting, applying and combining data\" |\n",
"| 24 | \"Political Science Computational Laboratory, Stanford University\" |\n",
"| 25 | \"Procedures for Psychological, Psychometric, and Personality Research\" |\n",
"| 26 | \"Quantile Regression\" |\n",
"| 27 | \"Flexibly Reshape Data: A Reboot of the Reshape Package.\" |\n",
"| 28 | \"Basic Robust Statistics\" |\n",
"| 29 | \"Recursive Partitioning and Regression Trees\" |\n",
"| 30 | \"Robust Covariance Matrix Estimators\" |\n",
"| 31 | \"Structural Equation Models\" |\n",
"| 32 | \"Survival Analysis\" |\n",
"| 33 | \"Visualizing Categorical Data\" |"
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"RDatasets.packages()"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"