List of useful functions in R.

## Round

- Rounds the values to a specified number

```
round(x, digits = 0)
```

## Factorial

- The product of all positive integers less than or equal to x.

```
factorial(x)
```

## Mean

- Finds the mean(average)

```
Mean(x, ...)
```

## args

- Displays the argument name and corresponding default values of a function or primitive.

```
args(name)
```

## Sample

- Sample takes a sample of the specified size from the elements of x using either with or without replacement .

```
sample(x, size, replace = FLASE, prob = NULL)
```

## sqrt

- Computes the square root of x.

```
sqrt(x)
```

## replicate

- Repeated evaluation of an expression n times.

```
replicate(n, expr)
```