- Hands-On Geospatial Analysis with R and QGIS
- Shammunul Islam
- 58字
- 2021-06-10 18:44:25
sapply
What we have got by using unlist(lapply(data, function, arguments_of_the_function)) can be obtained simply by using sapply(data, function, arguments_of_the_function).
sapply(all_prices4$june_price, power_function2, 4)
We are returned with a vector again as follows:

Now let's go back to the example of the all_prices3 data frame. We can see this from the screenshot that follows:

推薦閱讀
- 軟件架構設計
- Getting Started with Containerization
- Java開發(fā)技術全程指南
- 工業(yè)機器人工程應用虛擬仿真教程:MotoSim EG-VRC
- Supervised Machine Learning with Python
- 控制系統(tǒng)計算機仿真
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·工業(yè)機器人
- Pentaho Analytics for MongoDB
- Linux內(nèi)核精析
- Visual C++項目開發(fā)案例精粹
- 常用傳感器技術及應用(第2版)
- EJB JPA數(shù)據(jù)庫持久層開發(fā)實踐詳解
- Cisco UCS Cookbook
- Mastering Machine Learning with R
- 電機與電力拖動