Skip to contents

max_abs_xyz extracts max values for plot limits.

Usage

max_abs_xyz(.tbl)

dist_euclidean(.tbl, point = c(x = 0, y = 0, z = 0))

transform_rotate(.tbl, theta, axis = c("z", "x", "y"))

Arguments

.tbl

data.frame with (x, y, z) columns

point

named vector or tibble

theta

radian angle

axis

a string

Details

dist_euclidean calculates distance from a specified cell.

rotate modifies coordinates centering on a specified axis.

Examples

max_abs_xyz(data.frame(x = 2, y = -3, z = 4))
#> [1] 4