add_measurement_shifts: Add measurement shifts to predictions

View source: R/RcppExports.R

add_measurement_shiftsR Documentation

Add measurement shifts to predictions

Description

Adds observation error shifts to predicted antibody levels.

Usage

add_measurement_shifts(
  predicted_antibody_levels,
  to_add,
  start_index_in_data,
  end_index_in_data
)

Arguments

predicted_antibody_levels

NumericVector, the predicted antibody levels. Note that this vector will be changed!

to_add

NumericVector the vector of all measurement shifts to apply

start_index_in_data

int the first index of to_add and predicted_antibody_levels to combine

end_index_in_data

int the end index of to_add and predicted_antibody_levels to combine

Value

nothing


seroanalytics/serosolver documentation built on Dec. 14, 2024, 5:33 a.m.