Description Usage Arguments Value Examples

Compute the mean of all 'a' columns (scored 1 for correct and 0 for incorrect) for each participant (row) and multiply by 100. To be called with compute().

1 | ```
computeAccuracy(x, group = c(T), na.rm = TRUE)
``` |

`x` |
Data frame from phd sample. |

`group` |
Logical vector used to return a group of the candidate results. See ?getCol for details. |

`na.rm` |
logical. Should missing values (including NaN) be omitted from the calculations? Default = True |

Accuracy vector.

1 | ```
computeAccuracy(phd[[1]]$EA)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.