Forum: help
Monitor Forum | Start New ThreadRE: R programming help!!!! [ Reply ] By: Ankit Lathiya on 2021-01-01 10:56 | [forum:48573] |
The sapply() function in R works like lapply(), but it tries to interpret the output to the most fundamental data structure possible, which is either Vector or Matrix. The sapply() is a “wrapper” function for lapply(). The apply() function returns the vector or array by applying a function to the margins of the array or matrix. The lapply() function is useful for performing operations on list objects and returns the list object of the same length as the original set. To know more check the following link. https://r-lang.com/r-sapply/ |
R programming help!!!! [ Reply ] By: NICOLA CHEN on 2018-11-08 07:46 | [forum:46414] 11111.png (231) downloads |
Could you help me to solve c and d, with just using apply(), sapply(), lapply(), tapply(). |