About

import the mongoose data as csv and export to /data as .rda for inclusion in the package

library(tidyverse)
library(magrittr)

# import csv file
mongoose <- read.csv("mongooseFullData.csv", header = TRUE, 
                     stringsAsFactors = FALSE) %>% 
  select(indiv.id, pack, c13, n15)

# export only the columns we need

save(mongoose, 
     file = "../data/mongoose.rda", 
     compress = "xz")


AndrewLJackson/SIBER documentation built on June 7, 2024, 3:21 a.m.