
Create a table with interpolated signals of an eeg_lst object.
Source:R/plot_helpers.R
eeg_interpolate_tbl.RdCreate a default topographic plot based on the segments of the eeg_lst object.
Usage
eeg_interpolate_tbl(.data, ...)
# S3 method for class 'eeg_lst'
eeg_interpolate_tbl(
.data,
.radius = 1.2,
.diam_points = 100,
.method = "MBA",
...
)
# S3 method for class 'data.frame'
eeg_interpolate_tbl(
.data,
.radius = 1.2,
.x = .x,
.y = .y,
.value = .value,
.label = .key,
.diam_points = 100,
.method = "MBA",
...
)Arguments
- .data
An
eeg_lstobject or a long table with amplitudes..- ...
Various arguments passed to the interpolation method.
- .radius
Indicates the radius of the extrapolation, for standard locations of electrodes,
1indicates no extrapolation beyond the position of the electrodes,1.2is the default- .diam_points
Density of the interpolation (number of points that are interpolated in the diameter of the scalp).
- .method
Method of interpolation (
"MBA"Multilevel B-splines using the functionmba.surfof the packageMBAor ("akima"bicubic spline Akima interpolation algorithm using the functioninterpof the packageakima.)..).- .x
Variable storing the x coordinate, generally
.x(default).- .y
Variable storing the y coordinate, generally
.y(default).- .value
Values used for the interpolation, generally
.value(default).- .label
Label of the points that are used for the interpolation, generally
.key(default).