Learn R Programming

beastier (version 2.5)

get_duplicate_param_ids: Find duplicate RealParameter IDs

Description

Find duplicate RealParameter IDs

Usage

get_duplicate_param_ids(text)

Value

a vector of duplicate IDs, will be empty if all IDs are unique

Arguments

text

the XML as text

Author

Richèl J.C. Bilderbeek

See Also

to see if all IDs are unique, use has_unique_ids

Examples

Run this code
check_empty_beaustier_folders()

line_1 <- ""
line_2 <- ""
# No elements
get_duplicate_param_ids(c(line_1, line_2))

# 'RealParameter.1'
get_duplicate_param_ids(c(line_1, line_1))

# 'RealParameter.2'
get_duplicate_param_ids(c(line_2, line_2))

check_empty_beaustier_folders()

Run the code above in your browser using DataLab