Example - alpha function from psych package
This is an example to use alpha function from psych R package from Exploratory Desktop.Install Required Package
In this example, psych is already installed as a default dependency package but the function you want to use might be from a package that we don’t install as default. In that case, please install the package following this instruction. Install R PackageAdd R Script
Create a new R script from the left tree.
Define the Function
Define a function. Please note that the first argument is data frame and the output is also data frame, so that it can be used from command line.
Use It as a Command
You can use the function from a data frame you want to apply. Click ‘Add’ (Plus) button and click “Custom Command”.

