Description Usage Arguments Details Value Author(s) See Also Examples
An internal function of erpR to convert points in milliseconds.
1 | pointstomsec(a, lengthsegment, startmsec, endmsec)
|
a |
a number indicating the point to be converted in ms |
lengthsegment |
the length (in points) of the segment |
startmsec |
the time (in ms) of the start of the segment |
endmsec |
the time (in ms) of the end of the segment |
This is mostly an internal function of erpR
.
The function return a single value that is the conversion of a
from points to msec.
Giorgio Arcara
1 2 3 4 5 6 |
# calculate the time in msec corresponding to the point 128
# in a segment of 500 points starting from -200 ms
# and ending at 1500 (500 Hz).
pointstomsec(128, 500, startmsec = - 500, endmsec = 1500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.