# asOneSidedFormula

##### Convert to One-Sided Formula

Names, expressions, numeric values, and character strings are converted to
one-sided formulae. If `object`

is a formula, it must be
one-sided, in which case it is returned unaltered.

- Keywords
- models

##### Usage

`asOneSidedFormula(object)`

##### Arguments

- object
- a one-sided formula, an expression, a numeric value, or a character string.

##### Value

- a one-sided formula representing
`object`

##### encoding

UTF-8

##### See Also

##### Examples

`library(stats)`

```
asOneSidedFormula("age")
asOneSidedFormula(~ age)
```

*Documentation reproduced from package stats, version 3.3, License: Part of R 3.3*

### Community examples

Looks like there are no examples yet.