Displaying 1 result from an estimated 1 matches for "donwsample".
Did you mean:
do_sample
2009 Jul 24
1
downsampling
Hi,
I am looking for ways to donwsample one-dimensional vectors.
For example,
x=sample(1:5, 115, replace=TRUE)
How do I downsample this vector to 100 entries? Are there any R functions or packages that provide such functionality.
I did find the zoo package and the aggregate() function, but these appear to be rather specific for time-...