is_num_fac
(Package: sjmisc) :
Check whether a factor has numeric levels only
This function checks whether a factor has only numeric or any non-numeric factor levels.
● Data Source:
CranContrib
● Keywords:
● Alias: is_num_fac
●
0 images
|
zap_unlabelled
(Package: sjmisc) :
Convert non-labelled values into NA
For (partially) labelled vectors, all values that don't have a value label attribute will be replaced by NA .
● Data Source:
CranContrib
● Keywords:
● Alias: zap_unlabelled
●
0 images
|
group_labels
(Package: sjmisc) :
Create labels for recoded groups
Creates the related labels for the grouped variable created by group_var .
● Data Source:
CranContrib
● Keywords:
● Alias: group_labels
●
0 images
|
group_var
(Package: sjmisc) :
Recode numeric variables into equal-ranged groups
Recode numeric variables into equal spaced grouped factors, i.e. a variable is cut into a smaller number of groups, where each group has values of equal range.
● Data Source:
CranContrib
● Keywords:
● Alias: group_var
●
0 images
|
lbl_df
(Package: sjmisc) :
Create a labelled data frame
This method wraps a local data frame and adds a lbl_df class attribute. Printing a lbl_df -data frame is comparable to printing tbl_df objects, but the class information in the output is replaced by the variable label.
● Data Source:
CranContrib
● Keywords:
● Alias: lbl_df
●
0 images
|
to_long
(Package: sjmisc) :
Convert wide data to long format
This function converts wide data into long format. It allows to transform multiple key-value pairs to be transformed from wide to long format in one single step.
● Data Source:
CranContrib
● Keywords:
● Alias: to_long
●
0 images
|
weight2
(Package: sjmisc) :
Weight a variable
This function weights the variable x by a specific vector of weights . It's an alternative weight calculation to weight , though weight usage is recommended.
● Data Source:
CranContrib
● Keywords:
● Alias: weight2
●
0 images
|
get_values
(Package: sjmisc) :
Retrieve values of labelled variables
This function retrieves the values associated with value labels of an imported SPSS, SAS or STATA data set (via read_spss , read_sas or read_stata ), or of a labelled vector.
● Data Source:
CranContrib
● Keywords:
● Alias: get_values
●
0 images
|
to_dummy
(Package: sjmisc) :
Split (categorical) vectors into dummy variables
This function splits categorical or numeric vectors with more than two categories into 0/1-coded dummy variables.
● Data Source:
CranContrib
● Keywords:
● Alias: to_dummy
●
0 images
|
get_frq
(Package: sjmisc) :
Get summary of labelled vectors
This function returns a summary, including frequency table, of labelled vectors, as data frame. Unlike summary , the frq method also prints label and missing attributes.
● Data Source:
CranContrib
● Keywords:
● Alias: get_frq
●
0 images
|