I am currently trying to find the mode of a given vector in R .

```
mode(x)
[1] "numeric"
```

But it is telling the type of object in the vector.

In R there are inbuilt function for calculation of mean and median of a vector .I want to know is there any inbuilt function for calculation of mode of a given vector