duplicate_level: Duplicate a level. (A copy of the emuR function)

duplicate_levelR Documentation

Duplicate a level. (A copy of the emuR function)

Description

Duplicate level of emuDB including all of its items and its various attributeDefinitions. If the duplicateLinks variable is set to TRUE all the links to and from the original items are duplicated.

Usage

duplicate_level(
  emuDBhandle,
  levelName,
  duplicateLevelName,
  duplicateLinks = TRUE,
  linkDuplicates = FALSE,
  linkDefType = "ONE_TO_ONE",
  verbose = TRUE
)

Arguments

emuDBhandle

emuDB handle object (see load_emuDB)

levelName

name of level in emuDB that is to be duplicated

duplicateLevelName

name given to newly duplicated level

duplicateLinks

if set to TRUE (the default) all the links to and from the original items are duplicated to point to the new items of the new duplicate level.

linkDuplicates

link the duplicated ITEMs to the originals. This can only be set to TRUE if duplicateLinks is set to FALSE.

linkDefType

type given to link definition. Only relevant if linkDuplicates is set to TRUE.

verbose

show progress bars and further information

See Also

emuR::duplicate_level


humlab-speech/reindeer documentation built on May 21, 2023, 4:43 p.m.