# merge.formula

From lasso2 v1.2-9
by Berwin Turlach

##### Merge Formula With Right Hand Side of Second Formula

This is method for formulas of the `merge`

generic
function. Here it is support for the function `l1ce`

and
not intended to be called directly by users.

- Keywords
- utilities

##### Usage

```
## S3 method for class 'formula':
merge(x, y, \dots)
```

##### Examples

```
merge.formula(y ~ x1, ~ x2) ## -> y ~ x1 + x2
f2 <- merge.formula(y ~ x1*x2, z ~ (x2+x4)^3)
f. <- merge.formula(y ~ x1*x2, ~ (x2+x4)^3) # no LHS for 2nd term
f2
stopifnot(f2 == f.)
```

*Documentation reproduced from package lasso2, version 1.2-9, License: GPL version 2 or later*

### Community examples

Looks like there are no examples yet.