The following command
matrixset::apply_matrix_dfl(column_group_by(student_results, program), FC = colMeans(.m))
returns (not reporting the $remedial element)
$failure
# A tibble: 3 × 3
program FC.name FC
<chr> <chr> <dbl>
1 Applied Science Mathematics 0.287
2 Applied Science Science 0.209
3 Literature NA 0.265
English should be reported as opposed to NA.
The same happens with apply_matrix_dfw, where 'English' is not part of the column names
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4