Displaying 1 result from an estimated 1 matches for "qtype2".
Did you mean:
qtype
2007 Aug 21
1
quantile() returns a value outside the data range
...; for(i in 1:9) { # compute 0.01 quantile, for all
'types'
+ fooQtile[i] <- quantile(foo,probs=0.01,type=i)
+ yo[,i+1] <- foo <= fooQtile[i]
+ }
> names(yo) <- c("myData",paste("qType",1:9,sep=""))
> yo
myData qType1 qType2 qType3 qType4 qType5 qType6 qType7 qType8
qType9
1 6.402611 TRUE TRUE TRUE TRUE TRUE TRUE FALSE FALSE
TRUE
2 6.402611 TRUE TRUE TRUE TRUE TRUE TRUE FALSE FALSE
TRUE
3 6.420587 FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
FALSE
> fooQtile
[1] 6...