glottocreate_addtable: Add a table to glottodata

View source: R/glottocreate.R

glottocreate_addtableR 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")

SietzeN/glottospace documentation built on June 15, 2024, 10:45 p.m.