create_rake_constraints: Create underlying constraints for optimization problem

Description Usage Arguments

View source: R/multical.R

Description

Create underlying constraints for optimization problem

Usage

1
2
3
4
5
6
7
8
9
create_rake_constraints(
  cells,
  D,
  sample_counts,
  target_counts,
  lowlim,
  uplim,
  verbose
)

Arguments

cells

Dataframe of distinct cells

D

Design matrix, output from create_design_matrix

sample_counts

Vector of sample counts for each cell

target_counts

Vector of target counts for each cell

lowlim

Lower bound on weights, default 0

uplim

Upper bound on weights, default Inf

verbose

Boolean. Show optimization information, default False


ebenmichael/multical documentation built on Dec. 20, 2021, 3:12 a.m.