diff --git a/R/print.datatagr.R b/R/print.datatagr.R index 54d2a66..5d917f6 100644 --- a/R/print.datatagr.R +++ b/R/print.datatagr.R @@ -38,7 +38,7 @@ print.datatagr <- function(x, ...) { label_names <- names(label_values) # Construct the labels_txt string from the filtered pairs - labels_txt <- paste(label_names, label_values, sep = "-", collapse = ", ") + labels_txt <- paste(label_names, label_values, sep = " - ", collapse = ", ") if (labels_txt == "") { labels_txt <- "[no labelled variables]"