Useful functions

aaft_surrogate | Generate an amplitude adjusted Fourier transform surrogate... |

bin | Bin a dataset with multiple columns by one of the columns. |

bin_equallyspaced_df | Create equally spaced bins for a column of a data frame. |

bin_equallyspaced_vector | Create equally spaced bins for a vector. |

boxplot_maximum | Find the largest v less than or equal to upper hinge of... |

boxplot_minimum | Find the smallest v greater than or equal to lower hinge of... |

ccm | Performs CCM for a given lag. |

ccm_lagged | Cross-mapping from one variable to another variable over a... |

ccm_lagged_oneway | Cross-mapping from one variable to another variable over a... |

ccm_on_single_libsize | Performs CCM for a single set of parameters and a specified... |

ccm_over_library_sizes | Performs CCM over multiple library sizes. This function only... |

ce_surrogate | Generate a surrogate series using Davies and Harte's... |

contains_na | Check if input contains any NA values. |

create_surrogate_dataframes | Create a dataframe of multiple surrogate series. |

datamodel | Draws a random data model given a vector 'data' and its... |

datamodel_sigmas | Draws random data according to a Gaussian distribution... |

datamodel_truncated | Draws random data according to a Gaussian with standard... |

dh_surrogate | Generate a Davison and Hinkley's surrogate series. Randomises... |

directionalcausaltest | Summarise a lagged CCM result. |

draw_agemodel | Draw a random, strictly increasing age model given a vector... |

draw_random_ages | A wrapper around agemodel that returns a matrix of multiple... |

draw_random_data | Draws random datagiven a vector 'data' and its associated... |

ebisuzaki_surrogate | Generate a phase-randomised surrogate according to Ebisuzaki. |

ExponentalRegression2 | Performs an exponential regression on the form p = p_max -... |

find_local_maxima | Finds peaks in a time series by using a sliding window. |

find_local_minima | Finds troughs in a time series by using a sliding window. |

find_peaks | Finds peaks in a time series by using a sliding window.... |

find_troughs | Finds peaks in a time series by using a sliding window.... |

first_acf_minima | Finds the first minima or zero of the autocorrelation... |

first_local_minima | Finds the index of the first local minima in a series. If... |

first_mi_minima | Finds the first minima or zero of the mutual information (mi)... |

get_convergence_parameters | Computes various parameters that can be used to determine if... |

iaaft_surrogate | Generate an iterated amplitude-adjusted Fourier transform... |

is_valid_input | Checks if an input vector is valid. |

optimise_dim_boxcount | Finds the minimal embedding dimension of a series 'v'... |

optimise_dim_FNN | Finds the minimal embedding dimension of a series 'v'... |

optimise_dim_simplex | Finds the minimal embedding dimension of a series 'v'... |

optimise_embedding_dim | Finds the optimal embedding dimensions and embedding lags for... |

periodogram | Computes a periodogram for a time series. Wrapper around... |

phase_randomised_surrogate | Generate a phase randomised surrogate according to Theiler. |

random_surrogate | Generate a surrogate series by randomly shuffling the values... |

remove_outliers | Removes outliers from a vector (values outside 1.5 * IQR). |

summary_stats | Computes a set of basic statistics for a scalar valued vector |

surrogate_ccm | Cross-mapping for a surrogate ensemble. |

surrogate_ensemble | Generates surrogate series for 'ts', which is a numeric... |

validate_surrogate_method | Checks if a given surrogate method is among the currently... |

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.