Displaying 2 results from an estimated 2 matches for "qtile".
Did you mean:
tile
2011 May 10
1
Filtering out bad data points
...question about how to do this best in R. I have a data
frame and a set of criteria to filter points out. My procedure is to
always locate indices of those points, check if index vector length is
greater than 0 or not and then remove them. Meaning
dftest <- data.frame(x=rnorm(100),y=rnorm(100));
qtile <- quantile(dftest$x,probs=c(0.05,0.95));
badIdx <- which((dftest$x < qtile[1]) | (dftest$x > qtile[2]));
if (length(badIdx) > 0) {
dftest <- dftest[-idx,];
}
My question is that is there a more streamlined way to achieve this? Thank you.
Cheers,
Robert
2014 May 19
3
Utilizar bs.data
Buen día a todos. Tengo un problema.Podría ayudarme diciendóme cómo se llama la paquetería para encontrar el comando "bs.data", lo he estado buscando para ver como escribir el comando en R y no me aparece una paquetería para ver la descripción. Saludos.
[[alternative HTML version deleted]]