Man pages for feng-li/flutils
Feng Li's utility functions

array2listConvert an array (or a matrix) to a list
attached.packageslist all attached packages
block.diagBlock diagonal matrix.
close_allClose all graphics devices.
data.partitionPartition data index for cross validation.
DensGradHessA collection of gradient and Hessian for the log form of...
diwishartDensity for the inverse wishart distribution
d.matrixDesign matrix for splines
dmixnormDensity for normal mixtures
dmixnorm.tsThe conditional density for AR-type mixture of normals
dot-ls.objectsList the object size Modified from Dirk Eddelbuettel's...
dsplittSplit student-t distribution
foldMatFold a matrix
ghypergeoThe generalized hypergeometric function pFq.
grapes-d-times-grapesFast matrix algebra with diagonal matrices.
grid2Add grids on plot
harmonicHarmonic number
hessApproxNumerical approximation of Hessian
hessian_approxNumerical approximation of hessian matrix.
ibetaIncomplete beta function
ineffInefficiency factor
is.displayopenis.displayopen
is.singularCheck if a square matrix is computational singular
locate.knotsLocate knots in a m-space using Villani(2009)'s algorithm.
make.knotsLocate the knots in m-space.
make_stepsizeMake step size for SGLD
mesh.gridSame as expand.grid function but return a matrix.
mseqA simple sequence generator
mvgammaMultivariate gamma function
MVStocksMultivariate Variables for Stocks
parLinkFunTransform the mean function in the GLM framework.
parMeanFunTransform the mean function in the GLM framework.
parMeanFunGradThe gradient for the mean function in the GLM framework.
pochhammerPochhammer symbol
progressbarVery Simple progress bar for "for loops"
rbeta2The reparameterized beta distribution
rdistEuclidean distance matrix between two matrices
rhexRandom hex
riwishartRandom draws from Wishart (nu,V) and IW
rlnorm2Log-normal distribution with alternative parametrization.
rmixnormRandom variables from normal mixture
rmixnorm.tsAR-type random variables from mixture of normals
rwishartRandom draws from Wishart (nu,V) and IW
save.allSave all the objects to a folder.
set.crossvalidSetup cross-validation
sizePrint object.size
sourceDirsourceDir
StdDataStdData
stock2covariatesConstruct time series covariates.
trtrace of a matrix
vechMake a vech vector from a full matrix
vech2mConvert from the vech vector to the full matrix.
whichIndRaw indices finder for array.
feng-li/flutils documentation built on Oct. 1, 2020, 9:09 p.m.