User Tools

Site Tools


This is an old revision of the document!

Preparation of data for analysis

R functions

Simple EDA (Exploratory Data Analysis):

  • boxplot - draws the boxplot of data; with argument outline = TRUE (default setting) draws also the outliers;
  • hist - histogram with distribution of values in the variable;
  • qqnorm, qqline - draws QQ plot (comparing the quantiles of values in variable x to quantiles of normal distribution) and adds the line for comparison.

Data transformation

  • sqrt
  • log, log10, log1p

Data standardization

  • scale
  • decostand (library vegan)
en/data_preparation_r.1507725374.txt.gz · Last modified: 2017/10/11 20:36 by