data(pisa_2022)
# For non-grouped data
processed_data <- process_data_statistical(
data = pisa_2022,
from = "from",
to = "to",
sig = "sig",
thresh = 0.05
)
# For grouped data
processed_data <- process_data_statistical(
data = pisa_2022,
from = "from",
to = "to",
sig = "sig",
group = "group",
thresh = 0.05
)
Run the code above in your browser using DataLab