knitr::opts_chunk$set( message = FALSE, warning = FALSE, collapse = TRUE, comment = "#>" )
library(dplyr) library(knitr) library(tntpmetrics)
tntpmetrics
calculates engagement, relevance, and belonging metrics from student surveys. The list below shows the required column names to calculate each metric.
metric = engagement
metric = relevance
metric = belonging
# data set in tntpmetrics package data(ss_data_initial) ss_data_initial %>% select(response_id, starts_with('eng')) %>% make_metric(metric = "engagement") %>% head() %>% kable()
ss_data_initial %>% select(response_id, starts_with('rel')) %>% make_metric(metric = "relevance") %>% head() %>% kable()
ss_data_initial %>% select(response_id, starts_with('bel'), starts_with('tch')) %>% make_metric(metric = "belonging") %>% head() %>% kable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.