There is no excerpt because this is a protected post.

# dataframes

## Data frame exercises Vol. 2

[In the exercises below we cover the basics of data frames.] Answers to the exercises are available here. For other parts of this series please follow the tag: dataframes. Exercise 1 Consider two vectors: x=seq(1,43,along.with=Id) y=seq(-20,0,along.with=Id) Create a data.frame df: >df Id Letter x y 1 1 a 1.000000 -20.000000 2 1 b 4.818182 -18.181818 […]

## Data frame exercises

In the exercises below we cover the basics of data frames. Before proceeding, first read section 6.3.1 of An Introduction to R, and the help pages for the cbind, dim, str, order and cut functions. Answers to the exercises are available here. For other parts of this series please follow the tag: dataframes. Exercise 1 […]