Displaying 3 results from an estimated 3 matches for "datagen".
Did you mean:
dataget
2011 Sep 04
1
generating multiple dataset and applying function and output multiple output dataset......
...ard for me...
I want to generate multiple datasets, then apply a function to these
datasets and output corresponding output in single or multiple dataset
(whatever possible)...
# my example, although I need to generate a large number of variables and
datasets
seed <- round(runif(10)*1000000)
datagen <- function(x){
set.seed(x)
var <- rep(1:3, c(rep(3, 3)))
yvar <- rnorm(length(var), 50, 10)
matrix <- matrix(sample(1:10, c(10*length(var)), replace = TRUE), ncol = 10)
mydata <- data.frame(var, yvar, matrix)
}
gdt <- lapply (seed, datagen)
# resulting list (I believe is corre...
2004 Jan 20
1
requesting new entry to keywords.db
R-developers:
How do we go about adding keywords to the KEYWORDS and KEYWORDS.db files?
I would like to add "econometrics & Econometrics" to the Statistics
section of the file... Is this something I would have to do through CVS?
Statistics
datagen & Functions for generating data sets
distribution & Probability Distributions and Random Numbers
univar & simple univariate statistics [!= S]
htest & Statistical Inference
models & Statistical Models
Thanks for handling my ignorance,
Jeff.
---
Jeff D. Hamann
Forest...
2013 Jan 17
1
exporting simulated data
Dear All,
I wrote a function datagen to simulate a dataset. I would like to generate
1000 datasets and export them with file names from data0001.dat to
data1000.dat. Would anybody please provide some useful codes on this? Thank
you very much.
Best Regards,
Ray
[[alternative HTML version deleted]]