Calculates the density of emissions observations
Arguments
- data
Emissions data from either the best source or top performers, must have a column named
emissions.- xvals
Ordered sequence of emissions to define emission densities along. Default is
NULL, in which casexvalsis a 1024 length sequence. between0and3*max(data$emissions).- up
Optional upper limit to bound density, default is
Inf.- low
Optional lower limit to bound density, default is
0.- kernel
Kernel choice for density function, default is
gammadefined on(0,Inf). Other options include:c('gaussian1','gaussian2','beta1','beta2','fb','fbl','fbu','rigaussian'). Seenp::npuniden.boundary()for more information on kernel options.- bw
Optional bandwidth, default is
NULLin which casebw = sd(emissions)*n^(-2/5), wherenis number of emissions. The bandwidth can also be provided manually, or searched for using least squares cross-validation bybw = "cv.ls"or likelihood cross-validation withbw = "cv.ml".
