if (FALSE) {
# Assuming 'result' is your GPvam object
# Perform bias test for all fixed effects
test_results <- bias.test.custom(result)
# Perform bias test including a custom contrast
k_custom <- c(1, -1, 0, 0) # Contrast between first and second fixed effects
test_results <- bias.test.custom(result, k_vectors = list(k_custom))
}
Run the code above in your browser using DataLab