Guess plot dimensions.

guess_plotdim(x, accuracy = 20)

Arguments

x

A ForestGEO-like dataframe: A ViewFullTable, tree or stem table.

accuracy

A number giving the accuracy with which to round gx and gy.

Value

A numeric vector of length 2.

See also

Other functions for fgeo census and vft: pick_drop

Other functions for fgeo census: add_status_tree(), add_var(), pick_drop

Other functions for fgeo vft: add_status_tree(), add_subquad(), add_var(), pick_drop

Other functions for internal use in other fgeo packages: flag_if(), is_multiple()

Examples

x <- data.frame(
  gx = c(0, 300, 979),
  gy = c(0, 300, 481)
)
guess_plotdim(x)
#> Guessing: plotdim = c(980, 500)
#> [1] 980 500