View source: R/print.dbmssEnvelope.R
print.dbmssEnvelope | R Documentation |
Prints useful information of a confidence envelope of class "dbmssEnvelope"
## S3 method for class 'dbmssEnvelope'
print(x, ...)
x |
An object of class "dbmssEnvelope". |
... |
Ignored. |
"dbmssEnvelope" objects are similar to envelope
objects. The way they are printed is different to take into account the possibility of building global envelope following Duranton and Overman (2005): the global envelope is calculated by iteration: the simulations reaching one of the upper or lower values at any distance are eliminated at each step. The process is repeated until Alpha / Number of simulations simulations are dropped. The remaining upper and lower bounds at all distances constitute the global envelope. Interpolation is used if the exact ratio cannot be reached.
Duranton, G. and Overman, H. G. (2005). Testing for Localisation Using Micro-Geographic Data. Review of Economic Studies 72(4): 1077-1106
data(paracou16)
autoplot(paracou16)
# Calculate intertype K envelope
Envelope <- KEnvelope(paracou16, NumberOfSimulations = 20, Global = TRUE,
ReferenceType = "V. Americana", NeighborType = "Q. Rosea")
autoplot(Envelope)
# print
print(Envelope)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.