weight_economic_value: Multiply Economic Values With A Weight Matrix

Description Usage Arguments Value

Description

Compute the weighted factors based on an input tibble with unweighted economic values and a tibble with weighting factors. The two input tibbles must have the same dimensions. If the first column contains some names this is indicated with the parameter pb_first_col_trait_name and the first column is ignored for the computation x of the weighted factors. In the result the first column is added back in.

Usage

1
2
weight_economic_value(ptbl_economic_value, ptbl_weight,
  pb_first_col_trait_name = FALSE)

Arguments

ptbl_economic_value

tibble with economic values

ptbl_weight

tibble containing weights

pb_first_col_trait_name

flag indicating wether first column are trait names

Value

tbl_weighted_result weighted economic factors


pvrqualitasag/MeatValueIndex documentation built on May 13, 2019, 4:44 p.m.