convert points in milliseconds
An internal function of erpR to convert milliseconds in points.
msectopoints(a, lengthsegment, startmsec, endmsec)
a number indicating the ms to be converted in points
the length (in points) of the segment
the time (in ms) of the start of the segment
the time (in ms) of the end of the segment
This is mostly an internal function of
The function returns a single value that is the conversion of
a from msec to points.
1 2 3 4
# convert 400 ms to points in a segment of 500 points starting from -200 ms # and ending at 1500 (500 Hz). msectopoints(120, 500, startmsec=-500, endmsec=1500)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.