= R psych = '''psych''' is a library of utilities for [[Psychology|psychology]] and psychometrics. <> ---- == Installation == [[R/InstallingPackages|Install]] the `psych` package. {{{ install.packages('psych') }}} ---- == Usage == The built-in To output a matrix of plots (similar to the [[R/BuiltinFunctions#Plotting_functions|pairs function]]) with... * univariate density plots on the diagonal, * [[Statistics/Correlation|correlations]] on the upper triangle, and * bivariate scatterplots on the lower triangle ...then try: {{{ library(psych) pairs.panels(mtcars) }}} ---- CategoryRicottone