Description Usage Arguments Details Value Note Author(s) Examples
View source: R/functionsContinuousAccumulationsMatrix.R
Plots a density histogram of random sample with specified triangle distribution overlaid.
1  | plotTriDistribution(plotName, plotVarSample, plotVarParams, bins)
 | 
plotName | 
 Name of data being plotted (e.g. 'Drainage Area')  | 
plotVarSample | 
 Sampled data vector  | 
plotVarParams | 
 Triangle distribution parameters c(min,mode,max)  | 
bins | 
 Number of bins to use for distribution  | 
Sample distribution bin width = 1 for unrisked or (max-min)/4 for risked
Plot in default viewer
Edited by CDMartinez 30 Nov 15
Created by CDMartinez 30 Nov 15
1 2 3 4 5 6 7 8 9 10 11 12 13  | OGasmt = continuousAssessment(auMC = 50000,
auType = 'Gas',
auProbability = 1,
auAreaProductive = c(100,1000,1000000),
auAreaDrainage = c(10,20,40),
auPercAreaUntested = c(93,96,99),
auPercAreaSweet = c(100,100,100),
auPercFutureSS = c(80,92,94),
auEURss = c(0.15,0.4,0.65),
auLGR = c(.08,.5,1),
year = 2016)
plotTriDistribution('Drainage Area',OGasmt$risked$DrainageArea, c(10,20,40),50)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.