Tools for Analyzing Phonetic Cue Distributions

apply_model_list | Compute likelihood of many models on the same data |

classify | Use trained models to classify observed cue values |

classify_indexical_with_holdout | Classify test data with cross-validated models |

cue_matrix | Extract matrix of cues from data frame columns |

get_accuracy | Two methods to compute accuracy from classifier |

KL_mods | Compute KL divergence of one model from a second |

KL_mvnorm | Calculate the KL divergence between two multivariate... |

list_models | Convert data frame of models to named list |

lower_tri_to_full | Expand lower-triangular vector to full matrix |

marginal_model_lhood | Marginal likelihood of data under mixture model |

model_lhood | Likelihood of data under one category's model |

model_matrix | Create data matrix for a model |

sample_n_groups | Randomly subsample data by group |

train_models | Train models on specified grouping variable. |

train_models_indexical_subsample_holdout | Train indexical group models with holdout and subsampling... |

train_models_indexical_with_holdout | Train indexical models with cross-validation |

train_test_split | Split data into training and test sets |

unlist_models | Convert named list of models to data frame |

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.