Description Usage Arguments Examples
View source: R/summariseAlpha.R
This function computes approximate normal intervals, etc. for fitted alphas.
1 | summariseAlpha(alpha, prob = 0.95, coords.s, coords.r)
|
alpha |
structure containing posterior inference for remote coefficients |
prob |
confidence level for confidence intervals and significance |
coords.s |
matrix with coordinates where responses were observed (lon, lat) |
coords.r |
matrix with coordinates where remote covariates were observed (lon, lat) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
data("coprecip")
data("coprecip.fit")
attach(coprecip)
# sample posterior predictive distributions AND estimate teleconnection effects
coprecip.precict = stPredict(stFit = coprecip.fit, stData = coprecip,
stDataNew = coprecip, burn = 90,
returnFullAlphas = TRUE)
alpha.90 = summariseAlpha(alpha = coprecip.precict$alpha, prob = .9,
coords.s = coords.s, coords.r = coords.r)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.