get.weights {datplot} | R Documentation |

## Calculate the weights for each dated object

### Description

Calculates the weights from two vectors of minimum and maximum dating for each object. Returns a dataframe with the weight in the first column and FALSE in the second if two rows have the same value in both min and max dating. See [publication](https://doi.org/10.1017/aap.2021.8) for information about how this is calculated.

### Usage

```
get.weights(DAT_min, DAT_max, verbose = FALSE)
```

### Arguments

`DAT_min` |
a numeric vector containing the minimum date of each object |

`DAT_max` |
a numeric vector containing the maximum date of each object |

`verbose` |
TRUE / FALSE: Should the function issue additional messages pointing to possible inconsistencies and notify of methods? |

### Value

a vector of 'weight'-values for the datsteps-data.frame, that is a quantification of how well the object is dated (lesser value means object is dated to larger timespans, i.e. with less confidence)

### See Also

[datsteps()], [get.probability()]

*datplot*version 1.1.1 Index]