6. Tables

  1. Michael J. Crawley

Published Online: 14 SEP 2007

DOI: 10.1002/9780470515075.ch6

The R Book

The R Book

How to Cite

Crawley, M. J. (2007) Tables, in The R Book, John Wiley & Sons, Ltd, Chichester, UK. doi: 10.1002/9780470515075.ch6

Author Information

  1. Imperial College London at Silwood Park, UK

Publication History

  1. Published Online: 14 SEP 2007
  2. Published Print: 20 APR 2007

ISBN Information

Print ISBN: 9780470510247

Online ISBN: 9780470515075

SEARCH

Keywords:

  • summary tables;
  • tables of counts;
  • expanding table into dataframe;
  • dataframe to table conversion;
  • scale function;
  • expand.grid function;
  • model.matrix function

Summary

This chapter contains sections titled:

  • Summary Tables

  • Tables of Counts

  • Expanding a Table into a Dataframe

  • Converting from a Dataframe to a Table

  • Calculating tables of proportions

  • The scale function

  • The expand.grid function

  • The model.matrix function