make_weight.Rd
`make_weight()` creates weights coherently with an identity matrix, `x` and a matrix giving the quantities for each crop for one or several years. Called in `prepare_typology()`
make_weight(x, y, weight = TRUE, trim = 0)
identity matrix indicating the correspondance between a crop typology and another.
matrix, quantity of each crop to be used to create weights.
logical, should weights be applied to result. Should be set to FALSE to return a matrix filled with values of y coherently with correspondance. Default to TRUE.
integer, argument passed to `mean()`, default to 0.
matrix of weights.