Debian Codegraph @

inst/example_API/man/pkg.Rd

raw
1 \name{foo}
2 \alias{foo}
3 \alias{bar}
4 \title{Test functions}
5 \description{
6 These functions test the interface to the C routines of package
7 \pkg{expint}.
8 }
9 \usage{
10 foo(x)
11 bar(a, x)
12 }
13 %- maybe also 'usage' for other objects documented here.
14 \arguments{
15 \item{x, a}{vectors of real numbers}
16 }
17 \details{
18 \code{foo} is an interface to \code{expint_E1}.
19
20 \code{bar} is an interface to \code{gamma_inc}.
21
22 Both functions are vectorized.
23 }
24 \value{
25 ...
26 }
27 \author{ ~~who you are~~ }
28 \seealso{ ~~objects to See Also as \code{\link{help}}, ~~~ }
29 \examples{
30 ## Compare results with functions expint() and gammainc()
31 ## of package expint
32 foo(1.275)
33
34 x <- c(0.2, 2.5, 5, 8, 10)
35 a <- 1.2
36 bar(a, x)
37 }
38 \keyword{math}