model_weights: Compute Model Weights

Description Usage Arguments Details Value Author(s) See Also

View source: R/model_weights.R

Description

Compute Model Weights

Usage

1
model_weights(pred, groupvars, errvar)

Arguments

pred

data.frame with at least one column called model

groupvars

quoted variable names used to define groups within which models should be ranked.

errvar

quoted column name that contains the metric used to rank models

Details

Compute model weights within each group

Value

named list where the names are the combinations of models run for a group, and each element of the list is a data.frame containing model weights outputted from model_weights_in_group

Author(s)

Sangeeta Bhatia

See Also

model_weights_in_group


mrc-ide/weighter documentation built on May 16, 2020, 2:34 a.m.