Description Usage Arguments Value Examples
a convenient function to rearrange p.prior or an element in a
pp.prior as a data frame for inspection.  Do not be confused by
another function called View (uppercase) in utils package.
| 1 | view(p.prior)
 | 
| p.prior | a prior distribution list, usually created by
 | 
a data frame listing prior distribution settings
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | pop.mean  <- c(a=1,  v.f1=1,  v.f2=.2, z=.5, sz=.3,  sv.f1=.25, sv.f2=.23,
               t0=.3)
pop.scale <- c(a=.2, v.f1=.2, v.f2=.2, z=.1, sz=.05, sv.f1=.05, sv.f2=.05,
               t0=.05)
p.prior <- prior.p.dmc(
  dists = rep("tnorm", 8),
  p1    = pop.mean,
  p2    = pop.scale,
  lower = c(0,-5, -5, 0, 0, 0, 0,0),
  upper = c(2, 5, 5, 1, 2, 2, 1, 1))
view(p.prior)
##       mean   sd lower upper log  dist  untrans
## a        1  0.2     0     2   1 tnorm identity
## v.f1     1  0.2    -5     5   1 tnorm identity
## v.f2   0.2  0.2    -5     5   1 tnorm identity
## z      0.5  0.1     0     1   1 tnorm identity
## sz     0.3 0.05     0     2   1 tnorm identity
## sv.f1 0.25 0.05     0     2   1 tnorm identity
## sv.f2 0.23 0.05     0     1   1 tnorm identity
## t0     0.3 0.05     0     1   1 tnorm identity
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.