surgery | R Documentation |
This function serves as a 'brute force' method for
replacing values in some matrix x
with non-missing values of y
.
surgery(x, y, suppressOverwrite = T)
x |
the original matrix is 'old' matrix representing function field model paths |
y |
matrix with non-missing cells you wish to overwrite cells in x |
suppressOverwrite |
do you wish reports of overwritten cells to be suppressed? Defaults to |
Any cell in y
given as a missing value (NA
) will return the original cell in x
Often, you will NOT want non-missing cells in x
to be overwritten. (This might indicate some problem in the model.)
If so, you can specify suppressOverwrite = F
to print when overwrites have occurred.
modified version of x
overwritten with non-missing cells from y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.