make.movieframes | R Documentation |
The mean firing rate of each unit is computed and represented as a circle with the area proportional to the firing rate. The sequence of frames are then coerced into a movie.
make.movieframes(x, beg = 1, end = dim(x$rates$rates)[1],
outputdir = dirname(tempfile()), prefix = "mea",
show.frames = interactive(), seconds = TRUE, delete.first = TRUE,
clean.after = FALSE, anim.delay = 5)
x |
The "s" object. |
beg |
start time of the movie |
end |
end time of the movie |
outputdir |
directory to store the frames (no slash at end). If directory does not exist, it is created first. |
prefix |
prefix file name for frames |
show.frames |
Boolean – do we show the frames on screen as well? |
seconds |
Boolean: draw the time above the plot? |
delete.first |
Boolean: delete the outputdir before starting? |
clean.after |
Boolean: delete the outputdir after finishing? |
anim.delay |
time (in seconds) delay between frames. If delay is zero, do not convert movie. |
NULL.
Stephen Eglen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.