Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (2.8.10) of this package.
Take me there.
sjmisc (version 1.0.2)
Miscellaneous Data Management Tools
Description
Collection of several utility functions for reading or writing data, recoding and labelling variables and some frequently used statistical tests.
Copy Link
Link to current version
Version
Version
2.8.10
2.8.9
2.8.7
2.8.6
2.8.5
2.8.4
2.8.3
2.8.2
2.8.1
2.8.0
2.7.9
2.7.8
2.7.7
2.7.6
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.6.3
2.6.2
2.6.1
2.6.0
2.5.0
2.4.0
2.3.0
2.2.1
2.2.0
2.0.1
2.0.0
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0.3
1.0.2
1.0.1
1.0.0
Install
install.packages('sjmisc')
Monthly Downloads
32,088
Version
1.0.2
License
GPL-3
Issues
23
Pull Requests
0
Stars
159
Forks
24
Repository
https://github.com/sjPlot/sjmisc
Maintainer
Daniel Lüdecke
Last Published
May 17th, 2015
Functions in sjmisc (1.0.2)
Search all functions
eta_sq
Compute eta-squared of fitted anova
dicho
Dichotomize variables
get_val_labels
Retrieve value labels of a variable or an imported data frame
efc
Sample dataset from the EUROFAMCARE project
hoslem_gof
Performs a Hosmer-Lemeshow Goodness-of-fit-test
group_str
Group near elements of string vectors
is_num_fac
Check whether a factor has numeric levels only
efc2
Sample dataset from the EUROFAMCARE project
efc3
Sample dataset from the EUROFAMCARE project
std_beta
Compute std. beta coefficients and ci of lm and mixed models
mic
Compute mean inter-item-correlation
set_na
Set NA for specific variable values
mwu
Performs a Mann-Whitney-U-Test
phi
Phi value for a contingency table
reliab_test
Performs a reliability test on an item scale
mean_n
Compute row means with min amount of valid values
pseudo_r2
Compute Nagelkerke's and Cox-Snell's Pseudo R-squared
cv
Compute coefficient of variation
icc
Compute Intra-Class-Correlation
group_var
Recode count variables into grouped factors
set_var_labels
Attach variable label(s) to a single variable or data frame
read_sas
Import SAS dataset as data frame into R
to_fac
Convert variable into factor and keep value labels
sjmisc-package
Miscellaneous Data Management Tools
levene_test
Plot Levene-Test for One-Way-Anova
to_value
Converts factors to numeric variables
write_stata
Write content of data frame to STATA dta-file
rec
Recode numeric variables
get_var_labels
Retrieve variable labels of a data frame or a variable
to_sjPlot
Convert a haven-imported data frame to sjPlot format
table_values
Compute expected and relative table values
to_label
Converts variable into factor and replaces values with associated value labels
trim
Trim leading and trailing whitespaces from strings
write_spss
Write content of data frame to SPSS sav-file
word_wrap
Insert line breaks in long labels
cramer
Cramer's V for a contingency table
std_e
Compute standard error for variables
is_nested
Check whether two factors are nested
weight2
Weight a variable
read_stata
Import STATA dataset as data frame into R
is_crossed
Check whether two factors are crossed
group_labels
Create labels for recoded groups
weight
Weight a variable
str_pos
Find partial matching and close distance elements in strings
read_spss
Import SPSS dataset as data frame into R
cronb
Calculates Cronbach's Alpha for a matrix
chisq_gof
Performs a Chi-square goodness-of-fit-test
recode_to
Recode variable categories into new values.
cod
Computes Tjur's Coefficient of Discrimination
rmse
Compute root mean squared error (RMSE)
set_val_labels
Attach value labels to a variable or vector