Description Usage Arguments Value Examples
Repairs the component in the given rows at the given grade
1 | repairComponent(element.data, rows, grade)
|
element.data |
data.frame. The component level data. |
rows |
numeric. A vector of row indices to update |
grade |
character. One of |
The updated element.data. The new probability of being at grade A is the old probability plus the probability of being at the repaired grade. The probability of being at the repaired grade is set to zero.
1 2 | # repair all B grade components in the first five rows
blockbuster2:::repairComponent(simulated_elements, 1:5, "B")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.