Skip to content

Commit

Permalink
Styler
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanmontenegro99 committed Jun 26, 2024
1 parent e747bd3 commit a20167e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions R/spatiotemporal.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,14 @@ morans_index <- function(incidence_object, scale = 100000, threshold = 2,
# Influential observations
significant_municipalities <- paste(
sprintf(
"%s with %s (incidence - spatial correlation)",
row.names(moran_data_frame[moran_data_frame$quadr != "Not Significant", ]),
moran_data_frame[moran_data_frame$quadr != "Not Significant", "quadr"]
), collapse = "\n")
"%s with %s (incidence - spatial correlation)",
row.names(
moran_data_frame[moran_data_frame$quadr != "Not Significant", ]
),
moran_data_frame[moran_data_frame$quadr != "Not Significant", "quadr"]
),
collapse = "\n"
)
message(significant_municipalities)
}
# Plot
Expand Down

0 comments on commit a20167e

Please sign in to comment.