Description Usage Arguments Value Examples

Calculate distance reduction value due to range and accuracy of the unit and distance from the target.

1 | ```
distance_reduction(range_min, range_max, accuracy, distance)
``` |

`range_min` |
minimum range of the unit |

`range_max` |
maximum range of the unit |

`accuracy` |
accuracy of the unit |

`distance` |
distance between unit and target |

distance reduction value from [0;1] interval

1 | ```
distance_reduction(range_min = 1, range_max = 5, accuracy = 6, distance = 4)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.