Description Usage Arguments Value Examples
View source: R/plot_spatial_outliers.R
Provide a 2D scatterplot of data for visual exploration. For data with more than two dimensions, two dimensional scatterplot is produced using the first two pricipal components.
1 | plot_spatial_outliers(X, label_outlier = TRUE, nudge_y = 0.05)
|
X |
A-mode component data with ourlying measures produced by |
label_outlier |
Whether to display labels of outlying observations. Default is set to TRUE. |
nudge_y |
Vertical adjustment to nudge labels by. Useful for offsetting text from points, particularly on discrete scales. |
A ggplot object of data space with detected outliers (if any).
1 2 3 4 5 6 7 | library(rrcov3way)
data(Arno)
result <- find_spatial_outlier(
data = Arno, tensor_decom = "Tucker3"
)
p <- plot_spatial_outliers(X = result$out_data)
print(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.