# NOT RUN {
# }
# NOT RUN {
data(eco.test)
togstudio <- ecogen2gstudio(eco, type = "codominant")
togstudio
toeco <- gstudio2ecogen(togstudio, ID = "ID", lat = "Latitude",
lon = "Longitude", struct = "pop")
toeco
# as ID, Latitude and Longitude are column names in the <togstudio> data frame
# (that match default parameter values for gstudio2ecogen),
# the latter is identical to this:
toeco <- gstudio2ecogen(togstudio, struct = "pop")
toeco
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace