# Define threee study objects
studyOne <- createStudy(name = "One",
description = "First study",
studyMeta = list(metafield1 = "metavalue1"))
studyTwo <- createStudy(name = "Two",
description = "Second study",
maintainer = "The Maintainer",
studyMeta = list(metafield2 = "metavalue2"))
studyThree <- createStudy(name = "Three",
description = "Third study",
studyMeta = list(metafield3 = "metavalue3"))
# Combine the three studies
combineStudies(studyOne, studyTwo, studyThree)
# Equivalently, can use c()
c(studyOne, studyTwo, studyThree)
Run the code above in your browser using DataLab