Thanks all off you ;)
I think I got it.
I was saving the workplace and loading it, but after that I wasn’t calling my
data ;)
really naive.
Thanks very much.
best
RO
Atenciosamente,
Rosa Oliveira
--
Rosa Celest
Rosa,
See save() and load() functions for background. However, I suspect you will
want to do something as described in the article in this link
http://www.fromthebottomoftheheap.net/2012/04/01/saving-and-loading-r-objects/
Mark
R. Mark Sharp, Ph.D.
Director of Primate Records Database
South
Rosa,
Why not just re-load the .txt file (which I imagine be a data frame) and
then edit?
See: http://www.inside-r.org/r-doc/utils/read.table
*I would imagine something along the lines:*
simulation_results <- read.table("path_to_text_file_of_simulation")
#Double check the parameters on the fun
I believe that you need to learn to use a code editor/IDE. R is a
programming language.
See here:
http://www.rstudio.com/
or here:
http://www.sciviews.org/_rgui/
Otherwise, I also don't understand.
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge is
certainl
?saveRDS
On Sun, Jun 7, 2015 at 5:58 PM, Rosa Oliveira wrote:
> Dear Mark,
>
>
> I’ll try to explain better.
>
> Imagine I write:
>
> library(foreign)
> library(nlme)
>
> set.seed(1000)
> n.sample<-1 #sample size
> M <- 5
> DP_x <- 2
> x <- rnorm(n.sample,M,DP_x)
> p <- pnorm(-3+x)
> y <- rb
Dear Mark,
I’ll try to explain better.
Imagine I write:
library(foreign)
library(nlme)
set.seed(1000)
n.sample<-1 #sample size
M <- 5
DP_x <- 2
x <- rnorm(n.sample,M,DP_x)
p <- pnorm(-3+x)
y <- rbinom(n.sample,1,p)
dp_erro <- 0.01
erro <- rnorm(n.sample,0,dp_erro)
x.erro <- x+erro
but w
Dear all,
I’m doing simulations on R, and as my code is being changed and improved I need
to, sometimes, work in finished simulations, i.e,
After my simulation is over I need to settle another setting.
The problem is that I need to get back to the previous result.
When I save the result it sa
7 matches
Mail list logo