Description Usage Arguments Details Examples
Returns the conditional distribution of the mole-fraction field discrepancy parameters given the mole-fraction observations and the flux field
| 1 | log_f_theta_m(theta, Yf, s, t, C_m, Qobs, Z, B, Q_zeta_fn)
 | 
| theta | mole-fraction field parameters – see details | 
| s | observation spatial locations | 
| t | observation temporal indices | 
| C_m | observation incidence matrix (of size m x n_m) | 
| Qobs | observation precision matrix (of size m x m) | 
| Z | matrix of mole fraction observations (of size m x 1) | 
| B | source-receptor relationship matrix (of size n_m x n_f) | 
| Q_zeta_fn | function which returns the inverse of the mole-fraction discrepancy correlation matrix. This function should be of the form  | 
To be completed
| 1 2 3 4 5 6 7 8 9 10 11 12 | n_m <- m_obs <- 100
n_f <- 20
Yf <- matrix(rpois(n_f,20),n_f,1)    
log_f_theta_m( theta = c(4,0.8,1),
               Yf=Yf,
               s = 1:10,
               t = 1:10,
               C_m = .symDiagonal(n_m),
               Qobs = Diagonal(n_m),
               Z = 200 + matrix(rnorm(n_m,sd=100),n_m,1),
               B = matrix(rnorm(n_m*n_f),n_m,n_f),
               Q_zeta_fn = function(s,t,d_t,d_s) Diagonal(length(t) * length(s)))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.