I'm trying to complete the Geospatial data in R tutorial webinar that was posted to Youtube on 18 Mar 2019 and I'm at the step where you create the data transStates. When I copy the code from the Markdown that reads:
transStates <- spTransform(threeStates, CRS(fire@crs@projargs))
I return the following error message:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘spTransform’ for signature ‘"sf", "CRS"’
Can anyone identify what is causing this problem?
spTransform function not working
-
- Posts: 1
- Joined: Mon Jul 26, 2021 10:14 am America/New_York
-
- Posts: 87
- Joined: Mon Sep 30, 2019 11:17 am America/New_York
- Been thanked: 4 times
Re: spTransform function not working
The Oak Ridge National Laboratory was involved with producing that webinar and they may be able to put you in contact with the people in the webinar. You can contact them at support-ornl@earthdata.nasa.gov