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