plot_perm_distr: Plots null distributions constructed via permutation testing

Description Usage Arguments Examples

View source: R/pls_func.R

Description

Plots histograms of the null distribution for values of singular values of latent variables constructed via permutation testing.

Usage

1
2
plot_perm_distr(plsr_obj, ..., lwd = 2, bar_col = "grey",
  line_col = "red")

Arguments

plsr_obj

A plsr object.

...

Further parameters to be passed to hist.

lwd

Line width of vertical line indicating the estimated value of the singular value.

bar_col

Color of the bars in the histograms.

line_col

Color of the vertial line indicating the estimated value of the singular value.

Examples

1
2
3
4
plsr_obj = pls(rating_data,tracking_data,10,10)
plot_perm_distr(plsr_obj)

plot_perm_distr(plsr_obj,breaks=5,lwd=5 ,bar_col = "white", line_col = "green")

plsr documentation built on May 1, 2019, 11:28 p.m.