as.CalGrid | R Documentation |
Tries to coerce any two-column matrix or data.frame to a calibrated probability distribution (an object of class "CalGrid") for use by the rcarbon package.
as.CalGrid(x)
x |
A two-column |
A CalGrid class object of probabilities or summed probabilities per calendar year BP.
df <- data.frame(calBP=5000:2000,PrDens=runif(length(5000:2000)))
mycalgrid <- as.CalGrid(df)
plot(mycalgrid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.