get_tidy_data: Takes one ore two .csv files Returns tidy wide table with...

Description Usage Arguments

View source: R/get_tidy_data.R

Description

Takes one ore two .csv files Returns tidy wide table with selected types of shoots: columns are species' sums of shoot numbers per a year for all samples. The first column is named "year", containes years. Rows contain shoot numbers of species for a year.

Usage

1
2
3
4
5
6
7
8
get_tidy_data(
  csv_file,
  csv_file_2 = NULL,
  need_abbr = FALSE,
  state = NULL,
  first_year = NULL,
  last_year = NULL
)

Arguments

csv_file

Name of .csv file containes raw data. No default.

csv_file_2

Name of second .csv file to be united with the first one. It must be checked, that the data are from the SAME period. Default to NULL

need_abbr

Boolean, if it is needed to abbtriviate species names. Default to FALSE.

state

State of shoots. Can be NULL for all states of shoots, "g" for generative, "v" for vegetative, "v+j" for vegetative and juvenile. Default to NULL.

first_year

The first year of the period. Default to NULL.

last_year

The last year of the period. Default to NULL.


daria71sukhova/teberda.tools documentation built on May 15, 2021, 10:20 p.m.