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