tetrachoric
) works through a tedious calculation. shannon finds the Shannon index (H) of diversity or of information. test.all tests all the examples in a package.psych.misc()
lowerCor(x,digits=2,use="pairwise",method="pearson")
lowerMat(R, digits = 2)
reflect(f,flip=NULL)
progressBar(value,max,label=NULL)
shannon(x,correct=FALSE,base=2)
test.all(p)
lowerCor prints the lower diagonal correlation matrix but returns (invisibly) the full correlation matrix found with the use and method parameters. The default values are for pairwise deletion of variables, and to print to 2 decimal places.
shannon
finds Shannon's H index of information. Used for estimating the complexity or diversity of the distribution of responses in a vector or matrix. $$H = -\sum{p_i log(p_i) }$$
link{test.all}
allows one to test all the examples in specified package. This allows us to make sure that those examples work when other packages are also loaded.
corr.test
to find correlations, count the pairwise occurrences, and to give significance tests for each correlation. r.test
for a number of tests of correlations, including tests of the difference between correlations. lowerUpper
will display the differences between two matrices.lowerMat(Thurstone)
lowerCor(bfi[1:10])
f3 <- fa(Thurstone,3)
f3r <- reflect(f3,2) #reflect the second factor
#find the complexity of the response patterns of the iqitems.
round(shannon(iqitems),2)
#test.all('BinNor') #Does the BinNor package work when we are using other packages
Run the code above in your browser using DataLab