center3: Center pts in 3D

Description Usage Arguments Value

View source: R/center3.R

Description

description placeholder

Usage

1
2
3
4
5
6
7
center3(
  tbl,
  at_x_ = NULL, at_y_ = NULL, at_z_ = NULL,
  x_ = x, y_ = y, z_ = z,
  use_bounding_box = TRUE,
  keep_bounding = TRUE
)

Arguments

tbl

[tibble], a tibble containing points to be centered

at_x_

[numeric], length 1, default NULL,
value by which to center x variable in tbl
default behavior is to leave center unchanged

at_y_

[numeric], length 1, default NULL,
value by which to center y variable in tbl
default behavior is to leave center unchanged

at_z_

[numeric], length 1, default NULL,
value by which to center z variable in tbl
default behavior is to leave center unchanged

x_

[expr], variable name in tbl of x variable

y_

[expr], variable name in tbl of y variable

z_

[expr], variable name in tbl of z variable

use_bounding_box

[logical], length 1, default TRUE,
if FALSE rotate3 does not use bounding box points to make computations
default behavior is to use bounding box points to make computations

keep_bounding

[logical], length 1, default TRUE,
if FALSE does not rbind the bounding box back after computation
default behavior is to use bounding box points to make computations

Value


thmshrt/ggshapes documentation built on Dec. 31, 2020, 8:37 a.m.