createProbMat {baorista} | R Documentation |
Creates a probMat class object from user data
Description
Converts either a data.frame with the start and end date of each event or matrix of probabilities values into a probMat
class object.
Usage
createProbMat(x = NULL, pmat = NULL, timeRange = NULL, resolution = NULL)
Arguments
x |
A data.frame containing the start and end date of the timespan of each event. Dates should be in BP, with the first column defining the start and the second column defining the end of the timespan. |
pmat |
A matrix of aoristic weights (probabilities), with row representing events and column representing timeblocks. |
timeRange |
A vector of two numerical values representing the start and end of the window of analysis in BP. |
resolution |
Resolution of the timeblock. Ignored if |
Value
An object of class probMat
.
[Package baorista version 0.2.0 Index]