View source: R/od_adjustment.R

phi_func | R Documentation |

Internal function to perform the transformations for data types.

```
phi_func(n, zscores)
```

`n` |
Single numeric value for the count of the number of groups (and therefore z-scores) |

`zscores` |
Vector of z-scores z-scores to be used. Commonly, this would be 'winsorised' first to remove impact of extreme outliers. SHMI truncates instead, but this simply reduced the n as well as the z-score. |

A numeric phi value

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.