search for: uprange

Displaying 1 result from an estimated 1 matches for "uprange".

Did you mean: cprange
2010 Jan 17
1
Confusion in 'quantile' and getting rolling estimation of sample quantiles
...gt; c=rnorm(500,0,1) > quantile(c,0.8) 80% 0.9986075 why do the results display different? Is that because of the different type of the class? 2).And I want to use the 'rollapply' function to compute a rolling estimation of the sample quantile. the command i used is below: > uprange=rollapply(x,width=10,FUN=quantile(x,0.8),align='right') Here the 'x' is the one generated above in 1). And the R told me: "mistakes in match.fun(FUN) : 'quantile(x, 0.8)' is not a function, character or symbol" Can anyone help? Thank you in advanced. ----- -...