November 2017
Beginner to intermediate
366 pages
7h 59m
English
DSD_Memory provides a streaming interface to a matrix or a dataframe in memory. One of the interesting ways to use DSD_Memory is to make it replay an old stream data.
Let us look at a small R example:
> random.stream <- DSD_Gaussians(k = 2, d = 4, mu = rbind(c(200,77,20,750),c(196,80,16,790)))> data.un <- get_points(random.stream, n =2000)> head(data.un) X1 X2 X3 X41 199.9456 77.09095 19.98670 750.11292 195.9696 80.10380 16.01115 789.97273 196.0109 79.95394 16.08678 790.10424 199.9882 77.03385 20.00825 750.00695 200.0485 76.84687 19.94311 750.01306 200.0462 76.94537 20.00657 750.0701>
We used DSD_Gaussian to create some random four-dimensional records, and have stored them in a dataframe called ...
Read now
Unlock full access