get_benchmark_map: Get a benchmark map

Description Usage Arguments Value Examples

Description

this function returns an igraph object based on links or in .Rdata created previously

Usage

1
2
3
get_benchmark_map(layout = "fr", rs = NULL, pl = FALSE, lab = FALSE,
  pl_mst = FALSE, mean_degree = 4, cex = 1, mst = FALSE,
  pl_seed = pl_seed)

Arguments

data_raw

a dataframe with production data use function load_raw_data()

init

an integer pointing the initial year

end

an integer pointing the final year

producer

name of the column in data_raw that contains the name or id of producers. It should be factor.

category

name of the column in data_raw that contains the name or id of categories. It should be factor.

value

name of the column in data_raw that contains the feature to aggregate. should be numeric

agg

function to aggregate, usually sum or mean. If NaN, no aggregation is computed

Value

a Data Frame to overlay.

Examples

1

mguevara/rescinnet documentation built on July 7, 2019, 12:45 a.m.