This repository contains the files required to run a discrete event simulation based economic evaluation of a number of different screening strategies to detect breast cancer in women in the UK
Problem
After running an analysis the code reports a large number of warnings
Probably cause
An object in the code being written into a space that is too large for it. I.e. a vector being written into a longer vector whose size is not a multiple of the original vector. Alternatively, the model may be trying to combine vectors of different lengths in an object resulting in open spaces at the end of some vectors which are then filled with the first value.
Consequence
We do not believe this error affects the results. It has only appeared in a recent version of the model and the results align with the results of previous versions. It is likely that part of the vector just repeats itself again at the end of the larger vector. It may be worth checking the clinical outputs of the model if these are being used in case a column is being repeated.
Short term fix
Ignore warnings
Long term fix
Check length of vectors aligns in code
Problem After running an analysis the code reports a large number of warnings
Probably cause An object in the code being written into a space that is too large for it. I.e. a vector being written into a longer vector whose size is not a multiple of the original vector. Alternatively, the model may be trying to combine vectors of different lengths in an object resulting in open spaces at the end of some vectors which are then filled with the first value.
Consequence We do not believe this error affects the results. It has only appeared in a recent version of the model and the results align with the results of previous versions. It is likely that part of the vector just repeats itself again at the end of the larger vector. It may be worth checking the clinical outputs of the model if these are being used in case a column is being repeated.
Short term fix Ignore warnings
Long term fix Check length of vectors aligns in code