Mengubah kelompok dasar dalam faktor dalam r

df$x <- relevel(df$x, "x_a")
#x_a is the intended group to be set as the base group
Successful Salmon