# getRelativePercentDifferences

> RPD between a fieldduplicate / splitsample and its original (parentsampleid), per parameter. Results pair by parameterKey + fraction + measuredin; rejected and censored (<, >, notdetected) results are skipped. RPD = |a − b| / ((a + b) / 2) × 100 (0 when both are 0). Returns [] when the sample or its

> **getRelativePercentDifferences**(`well`, `sampleId`): [`RelativePercentDifference`](/utils/api/type-aliases/RelativePercentDifference)[]

RPD between a `field_duplicate` / `split_sample` and its original
(`parent_sample_id`), per parameter. Results pair by `parameterKey` +
`fraction` + `measured_in`; rejected and censored (`<`, `>`,
`not_detected`) results are skipped. `RPD = |a − b| / ((a + b) / 2) × 100`
(0 when both are 0). Returns `[]` when the sample or its parent is missing.

## Parameters

### well

`Well`

### sampleId

`string`

## Returns

[`RelativePercentDifference`](/utils/api/type-aliases/RelativePercentDifference)[]
