Adds observation error shifts to predicted antibody titres.

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