look_in.RdDefine what direction to look in
look_in(.df, direction = "xyz", every = 1)Data frame with x, y, z and value or component columns,
typically output from look_at().
Direction to consider. Either 1D ("x", "y", "z"), 2D
("xy", "xz", "yz") or 3D ("xyz").
Value indicating how many voxels to consider, e.g. one of two
(1/2), one every three (1/3), etc. Defaults to every voxel (1/1).
This can be a vector (row, column, layer) to thin the different dimensions
differently. Alternatively it can be a list of two vectors, where the first
one is used for the category of interest (of_category in look_at()) and
the second one is for the neighbour category (in_relation_to in
look_at(), or again of_category for a self-query).
Data frame (tibble) with x, y, and/or z, and value or
component columns.