Storing values in a vector using R software
How to store values in a vector for example 100 values in a vector in R language
How to create vector in R? Vectors are generally created using the c() function. For example: my_vector <- c(1,2,3,4,5) Instead of numbers from 1 to 5 you can insert your values into the funcion. If you want 100 values - numbers from 1 to 100: seq(1, 100, by=1) For further information, you can find other options in documentation of R language in section about vectors.
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Завершение процесса, код 3