Assigns new labels to a soc.ca object. The input labels are defined in a .csv file created by the export.label function.
assign.label(object, file = FALSE, encoding = "UTF-8", sep = ",")
is a soc.ca object
is the path of the .csv file with the new labels. The file is preferably created by the export.label function
is the encoding of the imported file
is the seperator used to create the imported .csv file
a soc.ca object with altered labels in object$names.mod
, object$names.ind
and
object$names.sup
To use this function first export the labels from your soc.mca analysis with the export.label function. Then open and edit the created file with your favorite spreadsheet editor, like LibreOffice Calc. Change labels in the "new.label" column to the desired values and save. Use the assign.label function but remember to assign the results into a new object or overwrite the existing object.