Displaying 3 results from an estimated 3 matches for "nael".
Did you mean:
ael
2004 Sep 28
3
slow loops in Monte Carlo Simulations
...0 and within each iteration a given subsample is extended
sequentially it takes hours to run the simulation.
Does anyone know if there is either a way to avoid using loops in
Monte Carlo Simulations or how to include possible faster "c++"
commands in R code?
many thanks in advance.
Nael Al-Anaswah
-----------------------------------------------------
Nael Al-Anaswah
Department of Econometrics
University of Muenster
Germany
2008 May 25
3
naming components of a list
Hi
I have a character vector with thousands of names which looks like this:
> V=c("Fred", "Mary", "SAM")
> V
[1] "Fred" "Mary" "SAM"
> class(V)
[1] "character"
I would like to change it to a list:
> L=as.list(V)
> L
[[1]]
[1] "Fred"
[[2]]
[1] "Mary"
[[3]]
[1] "SAM"
but I need to
2008 Jul 23
6
Convert list of lists <--> data frame
For a function that takes an argument as a list of lists of parameters,
I'd like to be able to convert that
to a data.frame and vice versa, but can't quite figure out how.
pats <- list(structure(list(shape = 0, shape.col = "black", shape.lty = 1,
cell.fill = "white", back.fill = "white", label = 1, label.size = 1,
ref.col = "gray80",