R - What this command does ? subset(df, !duplicated(x)) : I came across this question in one of my interviews. Looking for detailed answer.

> we have a dataframe(df) that contains three variables x, y, and z.
> What the following command does?

    subset(df, !duplicated(x))