| selectResponse | R Documentation | 
Return the response variable contained in the formula.
selectResponse(object, ...)
## S3 method for class 'formula'
selectResponse(object, format = "call", ...)
| object | a formula | 
| ... | [internal] Only used by the generic method. | 
| format | [character] should an object of type call be returned ( | 
See argument format.
## Not run: 
selectResponse <- lavaSearch2:::selectResponse
selectResponse.formula <- lavaSearch2:::selectResponse.formula
selectResponse(Y1~X1+X2)
selectResponse(Y1~X1+X2, format = "vars")
selectResponse(Surv(event,time)~X1+X2, format = "vars")
selectResponse(Y1~X1+Y1)
selectResponse(Y1+Y2~X1+Y1, format = "vars")
selectResponse(~X1+X2)
selectResponse(~X1+X2, format = "vars")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.