Explain the usage of which() function in r language?
Answer / Dhramveer Singh
The which() function in R returns the position(s) of the elements in a vector or array that meet a specified condition. For example, `which(x > 5)` would return the indices of all elements in the vector x greater than 5.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how to manipulate list elements in r?
What is the difference between rnorm and runif functions ?
What is the function used for adding datasets in R?
What is an arbitrary function in r?
Explain what is t-tests in r?
How can you resample statistical tests in r language?
What is the rattle package in r?
What is bootstrapping in r?
Give examples of “rbind()” and “cbind()” functions in r
Explain how to save graphs in R?
Why is library() function used in r?
How would you check the distribution of a categorical variable in r?