save1D | R Documentation |
Create .1D files froma data frame * works on a dataframe with 'block' column * cats a 1D file, optionally sink'ed to a specified file
save1D(
d,
colname = 1,
fname = NULL,
dur = NULL,
amp = NULL,
nblocks = NULL,
createdirs = FALSE
)
d |
dataframe with manditory 'block' column |
colname |
is the column to use for onset time |
fname |
is where to save the output 1D. if NULL does not save to a file |
dur |
if not null, what to set as the duration part of onset:duration |
amp |
if not null, what to set as the amplitude part of onset*amplitude |
nblocks |
expected number of blocks or runs. if null will use max |
save1D( data.frame(onset=1:9,durcol=1,block=1:3), 'onset',dur='durcol')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.