Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain the usage of which() function in r language?



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

Post New Answer

More R Programming Interview Questions

Explain how to manipulate list elements in r?

1 Answers  


What is the difference between rnorm and runif functions ?

1 Answers  


What is the function used for adding datasets in R?

1 Answers  


What is an arbitrary function in r?

1 Answers  


Explain what is t-tests in r?

1 Answers  


How can you resample statistical tests in r language?

1 Answers  


What is the rattle package in r?

1 Answers  


What is bootstrapping in r?

1 Answers  


Give examples of “rbind()” and “cbind()” functions in r

1 Answers  


Explain how to save graphs in R?

1 Answers  


Why is library() function used in r?

1 Answers  


How would you check the distribution of a categorical variable in r?

1 Answers  


Categories