File: no_specials.Rd

package info (click to toggle)
r-cran-reformulas 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 668 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 544 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{no_specials}
\alias{no_specials}
\title{Drop 'specials' from a formula}
\usage{
no_specials(term, specials = c("|", "||", "s"))
}
\arguments{
\item{term}{a term or formula or list thereof}

\item{specials}{function types to drop}
}
\value{
a \code{call} or \code{language} object (or list) with specials removed
}
\description{
Drop 'specials' from a formula
}
\examples{
no_specials(findbars_x(~ 1 + s(x) + (f|g) + diag(x|y)))
no_specials(~us(f|g))
}