Dear Forum
In my code, I am trying to compute Value at risk.
I have an issue as mentioned below:
I have defined
options(digits = 14)
But my output is something like
> df$price
[1] 98.7185273 103.10265923
However, if use Excel, I get values as
98.718527356108 103.1026592370
: [R] Multiplying each row of data.frame by a row in another
data.frame
Does this produce the desired results?
Also, even if this produces your desired results, I am not sure it is
the "best" way to do this. There might be better ways.
data.frame( t ( t(val_df) * (weights$value
Der r helpers,
I have a following set of data. Though some other software, I know it follows 3
parameter Gamma distrinution.
I need to write a R code for estimating the parameters of 3 Parameter Gamma
distribution.
c(0,0,18561.9,0,0,0,34400,0,0,0,0,2190,0,0,0,0,6,0,0,0,
19583,0,0,0,109
3 matches
Mail list logo