Learn R Programming

PopulationGrowthR (version 0.1.1)

raw2freqdata: Extract Frequency and Specimen data from the raw data

Description

Extract Frequency and Specimen data from the raw data

Usage

raw2freqdata(rawdata, species = "species", year = "year")

Arguments

rawdata

a dataframe containing species, year

species

name of the column containing species names

year

name of the column containing year

Value

Retirns a list of two dataframes

  • data - a dataframe conatining Species, Year, Freuqency and Specimens

  • yeardata - a dataframe containing Year and Specimens

Examples

Run this code
# NOT RUN {
cleandata = raw2freqdata(rawdata)
fdata = cleandata$data
yeardata = cleandata$yeardata
# }

Run the code above in your browser using DataLab