# \donttest{
library(dplyr)
# One-way Kruskal-Wallis Test
try({ # May fail if dependencies are not installed
kruskal_results <- olink_one_non_parametric(df = npx_data1,
variable = "Site")
})
#Friedman Test
friedman_results <- olink_one_non_parametric(df = npx_data1,
variable = "Time",
subject = "Subject",
dependence = TRUE)# }
Run the code above in your browser using DataLab