Description Usage Arguments Examples
Plots the p-values for the latent variables estimated through permutation testing.
1 2 | plot_perm_results(plsr_obj, ..., alpha = NULL,
main = "Permutation Testing Results", lwd = 2, col = "red")
|
plsr_obj |
A plsr_obj. |
... |
Additional arguments passed to |
alpha |
The significance threshold used. Will be indicated in the plot by a horizontal line. If NULL (default), the alpha value of the plsr object will be used. |
main |
The title of the plot. |
lwd |
The line width of the line indicating alpha. |
col |
The color of the line indicating alpha. |
1 2 3 4 5 6 | plsr_obj = pls(rating_data,tracking_data,10,10)
plot_perm_results(plsr_obj)
#plot with 0.10 as the significance threshold instead of the one specified by the plsr object
#and a thicker blue-colored line to indicate it
plot_perm_results(plsr_obj,lwd=5,col="blue", alpha=0.10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.