LoadOldPhi0: Function to load an existing auxiliary parameter file without...

Description Usage Arguments Value Author(s) Examples

View source: R/LoadOldPhi0.R

Description

This function loads an existing auxiliary parameter set from a .CSV file at current path. Before using this function, please make sure your have removed all column name and row name in your .CSV file!

Usage

1
LoadOldPhi0(filename="PhiC.csv")

Arguments

filename

The name of the .CSV file which contains the existing auxiliary parameter set. Please make sure your have removed all column name and row name in your .CSV file!

Value

An auxiliary parameter set phi_0.

Author(s)

Yang Liu

Examples

1
2
3
4
5
6
## The function is currently defined as
function(filename="PhiC.csv"){
  ncol.print <- function(dat) matrix(as.matrix(dat),ncol=ncol(dat),dimnames=NULL)
  PhiC<-ncol.print(as.matrix(fread(filename,head=F)))
  return(PhiC)
}

MathBilibili/Stochastic-approximation-cut-algorithm documentation built on Dec. 25, 2021, 2:44 p.m.