Let’s say you want to calculate the ratio of the standard deviation and mean of a given vector of five numbers. The input values are (3, 7, 2, 6, 9). To give these five values as an input to a function, you need to create a vector that contains these numbers as follows:
V1 <- c(3, 7, 2, 6, 9)