r-lidar / lidR

Airborne LiDAR data manipulation and visualisation for forestry application
https://CRAN.R-project.org/package=lidR
GNU General Public License v3.0
601 stars 131 forks source link

rasterize_canopy missing #562

Closed melfed closed 2 years ago

melfed commented 2 years ago

Hi I just installed the package again and tried using both the help and search function to use rasterize_canopy but its showing the function does not exist.

 chm <- rasterize_canopy(currenttile, res = 20, pitfree(c(0,2,5,10,15), c(0, 1.5)))  
# Error in rasterize_canopy(currenttile, res = 20, pitfree(c(0, 2, 5, 10,  : 
#  could not find function "rasterize_canopy"

Any help would be greatly appreciated. Thanks!

Jean-Romain commented 2 years ago

You either missed to load lidR with library(lidR) or you did not install lidR properly.