assign.label: Assign new labels

Description Usage Arguments Details Value See Also

View source: R/functions_label.r

Description

Assigns new labels to a soc.ca object. The input labels are defined in a .csv file created by the export.label function.

Usage

1
assign.label(object, file = FALSE, encoding = "UTF-8", sep = ",")

Arguments

object

is a soc.ca object

file

is the path of the .csv file with the new labels. The file is preferably created by the export.label function

encoding

is the encoding of the imported file

sep

is the seperator used to create the imported .csv file

Details

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.

Value

a soc.ca object with altered labels in object$names.mod, object$names.ind and object$names.sup

See Also

export.label, add.to.label


soc.ca documentation built on Sept. 5, 2021, 5:21 p.m.

Related to assign.label in soc.ca...