Description Usage Arguments Examples
This function will output every Nth NONZERO entry of a vector to a file. Useful if you need just a sample of a large vector.
1 | cwriteStep(y, l, file, step, showWarnings = TRUE)
|
y |
vector to write. |
l |
length of the vector; (you can provide length(y)). |
file |
output filename. |
step |
output every Nth entry in the vector y. |
1 2 | d = rnorm(1000);
cwriteStep(d, length(d), "output.txt", step=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.