# oa_to_oalhs

From lhs v1.0.1
by Rob Carnell

##### Create a Latin hypercube from an orthogonal array

Create a Latin hypercube from an orthogonal array

##### Usage

`oa_to_oalhs(n, k, oa)`

##### Arguments

- n
the number of samples or rows in the LHS (integer)

- k
the number of parameters or columns in the LHS (integer)

- oa
the orthogonal array to be used as the basis for the LHS (matrix of integers) or data.frame of factors

##### Value

a numeric matrix which is a Latin hypercube sample

##### Examples

```
# NOT RUN {
oa <- createBose(3, 4, TRUE)
B <- oa_to_oalhs(9, 4, oa)
# }
```

*Documentation reproduced from package lhs, version 1.0.1, License: GPL-3*

### Community examples

Looks like there are no examples yet.