p2z | R Documentation |

Functions `z2p()`

and `p2z()`

functions are the inverse of each other.

```
p2z(p, scale = 100)
```

`p` |
A numerical vector with centiles. |

`scale` |
The maximum of the scale. The default ( |

A vector with `length(p)`

elements containing centiles.

Stef van Buuren, 2021

```
p <- c(2.5, 10, 50, 90, 97.5)
p2z(p)
```

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.