glottocreate_addtable {glottospace}R Documentation

Add a table to glottodata

Description

Add a table to glottodata

Usage

glottocreate_addtable(glottodata, table, name)

Arguments

glottodata

A glottodata table, or a list of glottodata tables

table

A table to be added

name

A name for the table

Value

a glottodata object with structure table added to it.

Examples

glottodata <- glottoget("demodata", meta = FALSE)
structuretable <- glottocreate_structuretable(varnames = colnames(glottodata)[-1])
glottodata <- glottocreate_addtable(glottodata, table = structuretable, name = "structure")

[Package glottospace version 0.0.112 Index]