Rev 5693 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: splitFormula.Rd,v 1.6 2002/03/05 14:59:39 bates Exp $\name{splitFormula}\title{Split a Formula}\usage{splitFormula(form, sep)}\alias{splitFormula}\arguments{\item{form}{a \code{formula} object.}\item{sep}{an optional character string specifying the separator to beused for splitting the formula. Defaults to \code{"/"}. }}\description{Splits the right hand side of \code{form} into a list of subformulasaccording to the presence of \code{sep}. The left hand side of\code{form}, if present, will be ignored. The length of the returnedlist will be equal to the number of occurrences of \code{sep} in\code{form} plus one.}\value{a list of formulas, corresponding to the split of \code{form}according to \code{sep}.}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{formula}}}\examples{splitFormula(~ g1/g2/g3)}\keyword{models}