yarout: An R function that calls a function written in C

Description Usage Arguments Examples

Description

An R function that calls a function written in C. The C function is defined at $PKG/src/yaout.c. By default, R installation would take care of the compilation.

Usage

1
yarout(x, y)

Arguments

x
y

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
x <- 1:4
y <- 2:5
print(yarout(x, y)) 

toyRpkg documentation built on May 2, 2019, 5:49 p.m.