
Last chance! 50% off unlimited learning
Sale ends in
sp_frame
objectsTurn sampling frames or analysis data into an sp_frame
object
or transform sp_frame
objects back into their original object.
sp_frame(frame)sp_unframe(sp_frame)
An sp_frame
object.
A sampling frame or analysis data
An sp_frame
object.
The sp_frame()
function assigns frame
class sp_frame
to be used by summary()
and plot()
. sp_frame()
objects
can sometimes clash with other sf and tidyverse generics, so un_spframe()
removes
class sp_frame()
, leaving the original classes of frame
intact.
NE_Lakes <- sp_frame(NE_Lakes)
class(NE_Lakes)
NE_Lakes <- sp_unframe(NE_Lakes)
class(NE_Lakes)
Run the code above in your browser using DataLab