Displaying 2 results from an estimated 2 matches for "prev2".
Did you mean:
prev
2002 Oct 26
2
Fortran
Hello everybody,
Could someone please send me a very simple example using Fortran from
R? Say pass a value to an executable and get the result in R. Actually it
seems it may be possible to call an *.f file ?? or I am wrong again?
The manual is very terse on the subject.
Thank you very much
Stephen Elijah
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2011 Oct 27
2
creating vector os zeros for simulations (beginner's question)
Dear R helpers,
I know this is a simple task, but I'm new to R and I'm still havind difficulties with the language.
I want to create 30 vectors to be used in a simulation, each with 1 columm and 5 lines, of random numbers N(0,1).
What I tried was this:
N=150
u2<-rep(1:150,0)
u2<-list(matrix(0,5))
u2
for(i in 1:N)
{
u2[i]<-rnorm(5)
}
u2
### also tried this:
N=150