ImportCSV.BCal {ArchaeoPhases} | R Documentation |
Importing a csv file containing the output of the MCMC algorithm from the BCal software
ImportCSV.BCal(file, bin.width = NULL)
file |
Name of the CSV file containing the output of the MCMC algorithm. |
bin.width |
Bin width specified in a BCal project
(note: |
A data frame containing a representation of the data in the CSV file
Anne Philippe, Anne.Philippe@univ-nantes.fr,
Thomas S. Dye, tsd@tsdye.online, and
Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr
## Not run:
# Import of MCMC generated by BCal and extracted in cal BP (the year of reference is 1950)
data(Fishpond)
write.csv(Fishpond, "fishpond_MCMC.csv", row.names = FALSE)
Fishpond = ImportCSV.BCal("fishpond_MCMC.csv", bin.width = 1)
## End(Not run)
## Not run:
# equivalent call
Fishpond2 = ImportCSV("fishpond_MCMC.csv", dec = '.', sep=',', referenceYear = 1950,
rowToWithdraw = "last", bin.width = 1)
## End(Not run)