Displaying 3 results from an estimated 3 matches for "lrphase".
Did you mean:
3phase
2009 Aug 13
1
for(variable in [])do
In this code i try to calculate le difference between too number for two value of th variable phase i have did this
> (output <- read.csv2("C:/RM2Param.csv",sep=","))
OptimYear LRPhase PriorLRPosition OptimPosition
1 2009 -1 1.15641679414676 0.252662968666702
2 2009 -1 1.05365365779321 0.119348307634027
3 2009 -1 0.959670688361124 0.0179266585317901
4 2009 -1 0.87403582415134 0.0217791412141115
5 2009 1 1.15641679414...
2009 Aug 12
1
to extract a section of the matrix
HI,
i have this matrix and i want to extract a section of the matrix which present the first and second value of optim position:
OptimYear LRPhase PriorLRPosition OptimPosition LRPosition
5 2009 1 1.15641679414676 0.33037984561357 1
6 2009 1 ...
2009 Jul 31
1
what meaning missing value True /False needed
...rket price (excluding inflation) scenarios :
######################################################
MarketPriceMatrix <- function(NbOfFutureSimYear ,NbOfSimScenar,Phase,LRUpBound ,LRLowBound,TransitCoefMean,
TransitCoefStdDev,PriorMarketPricePosition,MarketPricePhase,MarketPriceLTMean)
{
LRPhase <- -MarketPricePhase
MarketPriceMatrix <- matrix(numeric(NbOfFutureSimYear*NbOfSimScenar), nrow=NbOfSimScenar,ncol=NbOfFutureSimYear)
PriorLR <- 1 / (MarketPriceLTMean * PriorMarketPricePosition)
for (i in 1:NbOfSimScenar)
MarketPriceMatrix[i,] <- 1/ LRScenar (PriorLR,LRPhase,LRU...