Space-Time Anomaly Detection using Scan Statistics

aggregate_per_location | Aggregate (sum) values over all data streams, and... |

aggregate_per_stream | Aggregate (sum) values over all locations, and cumulatively... |

apply_rowwise | Apply a function to each row of a matrix. |

closest_subsets | Set of increasing sets from left to right of input vector. |

connected_neighbors | Find the connected sets for a location and its k nearest... |

connected_to | Return those elements in the second set which are connected... |

coords_to_knn | Get the k nearest neighbors for each location, given its... |

df_to_matrix | Convert a long data frame to a wide matrix. |

dist_to_knn | Given a distance matrix, find the k nearest neighbors. |

estimate_baselines | Estimate baselines based on observed counts. |

estimate_variances | Estimate variances based on observed counts. |

estimate_zip_params | Estimate the parameters of a ZIP distribution. |

exponential_lambda | Compute the score for an individual exponential observation. |

exponential_priority | Compute exponential priority function values cumulatively... |

exponential_qmax | Calculates the largest value for which the exponential score... |

exponential_score | Compute the exponential score for each priority subset, for... |

flexible_zones | Computes the flexibly shaped zones as in Tango (2005). |

flipud | Flip a matrix upside down |

gaussian_lambda | Compute the score for an individual Gaussian observation. |

gaussian_priority | Compute Gaussian priority function values cumulatively over... |

gaussian_qmax | Calculates the largest value for which the Gaussian score... |

gaussian_score | Compute the Gaussian score for each priority subset, for each... |

get_subset | Get either a location or stream subset. |

get_zero_indices | Get indices of zero elements in a vector. |

get_zone | Extract a zone from the set of all zones. |

gumbel_pvalue | Calculate the Gumbel p-value for a scan statistic. |

has_converged | Is the relative error between two numbers is less than the... |

if_connected | Return a set of the location and its neighbors if they are... |

is_connected | Returns TRUE if the neighboring locations are connected to... |

knn_zones | Find the increasing subsets of k nearest neighbors for all... |

matrix_to_df | Convert a matrix to a data frame. |

mc_pvalue | Calculate the Monte Carlo p-value for a scan statistic. |

mscan_fss | Compute the Fast Subset Scan statistic for multivariate... |

NM_geo | Longitude and latitude of New Mexico county seats. |

NM_map | Data to plot the counties of New Mexico. |

NM_popcas | Population and brain cancer cases in New Mexico counties... |

permute_matrix | Permute the entries of the matrix, preserving row and column... |

poisson_lambda | Compute the score for an individual Poisson observation. |

poisson_priority | Compute Poisson priority function values cumulatively over... |

poisson_qmax | Calculates the largest value for which the Poisson score... |

poisson_score | Compute the Poisson score for each priority subset, for each... |

powerset_zones | Creates a set of all non-empty subsets of the integers from 1... |

print.scanstatistic | Print a scanstatistic object. |

prioritize_and_execute | Order locations accorder to priority, then apply function. |

prioritize_cols | Order row contents by priority for each timepoint. |

reorder_rows | Reorder rows by priority. |

run_scan | Run a scan statistic analysis. |

scan_bayes_negbin | Calculate the negative binomial bayesian scan statistic.. |

scan_bayes_negbin_cpp | Calculate the "Bayesian Spatial Scan Statistic" by Neill et... |

scan_eb_negbin | Calculate the expectation-based negative binomial scan... |

scan_eb_negbin_cpp | Calculate the expectation-based negative binomial scan... |

scan_eb_poisson | Calculate the expectation-based Poisson scan statistic. |

scan_eb_poisson_cpp | Calculate the expecation-based Poisson scan statistic. |

scan_eb_zip | Calculate the expectation-based ZIP scan statistic. |

scan_eb_zip_cpp | Calculate the highest-value EB ZIP loglihood ratio statistic. |

scan_pb_perm_cpp | Calculate the space-time permutation scan statistic. |

scan_pb_poisson | Calculate the population-based Poisson scan statistic. |

scan_pb_poisson_cpp | Calculate the population-based Poisson scan statistic. |

scan_permutation | Calculate the space-time permutation scan statistic. |

scanstatistics | scanstatistics: Space-time anomaly detection using scan... |

score_locations | Score each location over zones and duration. |

score_priority_subset | Compute the highest scoring subset for aggregated data. |

subset_aggregation | Subset Aggregation over locations and data streams, naive or... |

subset_aggregation_FF | Fast Subset Aggregation over both locations and data streams. |

subset_aggregation_FN_NF | Compute the most likely cluster using the FN/NF Subset... |

sum_over_subset | For each array in a list, sum over dimension 'd'. |

sum_reorder_sum | Cumulatively sum, order by priority, then sum again. |

top_clusters | Get the top (non-overlappig) clusters. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.