It sounds like the data frame produced by Simulate() doesn't set the names
you want. You can probably fix this by including
colnames(Gestion) < c("B","T1",... # etc)
immediately after the simulation.
Can't confirm this without knowing which of the excel/R interface packages
you're using, but I'd
Hi to all the people again,
I was writting a simply function in R, and wish to collect the results in a
excel file. The work goes as follows,
Ciervos<-function(K1, K0, A, R,M,Pi,Hembras)
{B<-(K1-K0)/A
T1<-(R*Pi*Hembras-M*Pi+B)/(Pi-M*Pi+R*Pi*Hembras)
P1<-Pi-B
R1<-P1*Hembras*R
M1<-P1*M
T2<-(R1-M1+B
2 matches
Mail list logo