powered by
proj(preds_indiv, pred_total, weights_indiv, weight_total)
K <- 5 proj(preds_indiv = rep(0, K), 1, weights_indiv = rep(1, K), weight_total = 2)
Run the code above in your browser using DataLab