convert_table_unit: Convert Unit used by Metrics Table

Description Usage Arguments

View source: R/calculations.R

Description

Convert units used to calculate metrics.

Usage

1
2
3
4
5
6
convert_table_unit(
  metrics_table,
  conversion_rate_width = NULL,
  conversion_rate_height = NULL,
  unit = "cm"
)

Arguments

metrics_table

Output from calculate_metrics().

conversion_rate_width

Default: NULL. Value of unit conversion rate. If rate values differ from width and height, a length two numeric vector with conversion rates for width and lengths can be supplied.

conversion_rate_height

Default: NULL. Value of unit conversion rate. If rate values differ from width and height, a length two numeric vector with conversion rates for width and lengths can be supplied.

unit

Unit to convert values from pixel.


emphazis-org/emphazis documentation built on April 27, 2021, 1:27 a.m.