get_fitness: Helper function for fitness-algorithm functions for...

Description Usage Arguments Value

View source: R/get_fitness.R

Description

Nests data by year and applies the chosen algorithm

Usage

1
get_fitness(df, algorithm, N)

Arguments

df

data frame containing the necessary columns: time, region, unit, rca

algorithm

character listing the algorithm to be applied. Possible values are: "fitness2012" or "fitness2018"

N

number of iterations to run algorithm

Value

see algorithm functions


sbpdata/compost documentation built on Nov. 5, 2019, 6:17 a.m.