Description Usage Arguments Value Author(s) References Examples

View source: R/range_restriction.R

Lawley multivariate range restriction correction.

1 |

`rcov` |
The covariance matrix of the restricted sample. |

`vnp` |
The covariance matrix of predictors explicitly used for selection. This matrix should be based on the the unrestricted population. |

`as_cor` |
This argument can be set to FALSE to return a covariance matrix. |

The the correlation matrix or variance covariance in the unrestricted population.

The original function was written by Adam Beatty and adapted by Allen Goebl.

Lawley D. N (1943). A note on Karl Pearson's selection formulae.
*Proceedings of the Royal Society of Edinburgh.*,
62(Section A, Pt. 1), 28-30.

1 2 3 4 5 |

```
[,1] [,2] [,3] [,4]
[1,] 1.00000000 0.25000000 0.06254509 0.10664023
[2,] 0.25000000 1.00000000 -0.04246105 0.13994188
[3,] 0.06254509 -0.04246105 1.00000000 0.07959423
[4,] 0.10664023 0.13994188 0.07959423 1.00000000
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.