ImportCSV.BCal {ArchaeoPhases}R Documentation

Importing a BCal csv file

Description

Importing a csv file containing the output of the MCMC algorithm from the BCal software

Usage

ImportCSV.BCal(file, bin.width = NULL)

Arguments

file

Name of the CSV file containing the output of the MCMC algorithm.

bin.width

Bin width specified in a BCal project (note: bin.width does not have to be set if the BCal default bin width of 1 is used).

Value

A data frame containing a representation of the data in the CSV file

Author(s)

Anne Philippe, Anne.Philippe@univ-nantes.fr,

Thomas S. Dye, tsd@tsdye.online, and

Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr

Examples

## 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)

[Package ArchaeoPhases version 1.8 Index]