Other packages > Find by keyword >

randcorr  

Generate a Random p x p Correlation Matrix
View on CRAN: Click here


Download and install randcorr package within the R console
Install from CRAN:
install.packages("randcorr")

Install from Github:
library("remotes")
install_github("cran/randcorr")

Install by package version:
library("remotes")
install_version("randcorr", "1.0")



Attach the package and use:
library("randcorr")
Maintained by
Daniel F. Schmidt
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-11-16
Latest Update: 2018-11-16
Description:
Implements the algorithm by Pourahmadi and Wang (2015) for generating a random p x p correlation matrix. Briefly, the idea is to represent the correlation matrix using Cholesky factorization and p(p-1)/2 hyperspherical coordinates (i.e., angles), sample the angles from a particular distribution and then convert to the standard correlation matrix form. The angles are sampled from a distribution with pdf proportional to sin^k(theta) (0 < theta < pi, k >= 1) using the efficient sampling algorithm described in Enes Makalic and Daniel F. Schmidt (2018) .
How to cite:
Daniel F. Schmidt (2018). randcorr: Generate a Random p x p Correlation Matrix. R package version 1.0, https://cran.r-project.org/web/packages/randcorr. Accessed 06 Nov. 2024.
Previous versions and publish date:
No previous versions
Other packages that cited randcorr R package
View randcorr citation profile
Other R packages that randcorr depends, imports, suggests or enhances
Complete documentation for randcorr
Functions, R codes and Examples using the randcorr R package
Some associated functions: randcorr-package . randcorr . randcorr.sample.sink . 
Some associated R codes: randcorr-package.R . randcorr.R .  Full randcorr package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
seriation  
Infrastructure for Ordering Objects Using Seriation
Infrastructure for ordering objects with an implementation of several seriation/sequencing/ordinati ...
Download / Learn more Package Citations See dependency  
memoise  
'Memoisation' of Functions
Cache the results of a function so that when you call it again with the same arguments it returns t ...
Download / Learn more Package Citations See dependency  
maic  
Matching-Adjusted Indirect Comparison
A generalised workflow for generation of subject weights to be used in Matching-Adjusted Indirect C ...
Download / Learn more Package Citations See dependency  
mailR  
A Utility to Send Emails from R
Interface to Apache Commons Email to send emails from R. ...
Download / Learn more Package Citations See dependency  
equatiomatic  
Transform Models into 'LaTeX' Equations
The goal of equatiomatic is to reduce the painassociated with writing LaTeX formulas from fitted mod ...
Download / Learn more Package Citations See dependency  

23,092

R Packages

198,677

Dependencies

62,675

Author Associations

23,089

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA