# grow.boxx

From spatstat v1.49-0
by Adrian Baddeley

##### Add margins to box in any dimension

Adds a margin to a box of class boxx.

##### Usage

`grow.boxx(W, left, right = left)`

##### Arguments

- W
A box (object of class

`"boxx"`

).- left
Width of margin to be added to left endpoint of box side in every dimension. A single nonnegative number, or a vector of same length as the dimension of the box to add different left margin in each dimension.

- right
Width of margin to be added to right endpoint of box side in every dimension. A single nonnegative number, or a vector of same length as the dimension of the box to add different right margin in each dimension.

##### Value

Another object of class `"boxx"`

representing the
window after margins are added.

##### See Also

##### Examples

```
# NOT RUN {
w <- boxx(c(0,10), c(0,10), c(0,10))
# add a margin of size 1 on both sides in all three dimensions
box11 <- grow.boxx(w, 1)
# add margin of size 2 to the three left end points
# and margin of size 3 to the right end points.
v <- grow.boxx(w, c(2,2,2), c(3,3,3))
# }
```

*Documentation reproduced from package spatstat, version 1.49-0, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.