Create a vector "v" with 10 random numbers with 2 decimals. Check if the values of the vector are less than 0.50. In r
Answers
Answered by
68
Answer:
Step-by-step explanation:
Answered by
0
Answer:
V = round(runif(10,0,1), 2)
check <- V<0.50
print(check)
Step-by-step explanation:
10: Number of random numbers
0: Min value
1: max value
2: rounded to two decimal palaces
Also Check will compare the vector if less than 0.50 and result will be generate in Logical operator ( TRUE / FALSE )
Similar questions