Änderung der Basisgruppe in Faktor in r

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