How do I add a column (new feature) to the subset matrix (chosen rows) in the optimal design function?
I am doing optimal design. I have 57 runs that represent the locations of sensors. There is a factor called the Penalty factor. (not a constant factor) that is calculated based on the distances between the sensors (each sensor represents a row in the matrix). This factor should be updated after each iteration. I need to calculate the penalty factor only of the subset rows "chosen rows" (for exampl...