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 titres.

Usage

add_measurement_shifts(
  predicted_titres,
  to_add,
  start_index_in_data,
  end_index_in_data
)

Arguments

to_add

NumericVector the vector of all measurement shifts to apply

start_index_in_data

int the first index of to_add and predicted_titres to combine

end_index_in_data

int the end index of to_add and predicted_titres to combine

predicted_titre

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

Value

nothing


seroanalytics/serosolver documentation built on April 24, 2023, 9:52 a.m.