Learn R Programming

rdoxygen (version 1.0.0)

c_test: R frontend of the C function bar

Description

A mask function to test if the dummy C code in src/bar.c works.

Usage

c_test(x)

Arguments

x
a numeric vector

Value

a numeric vector x^2

Details

c_test(x) = x^2.

Examples

Run this code

## Not run: ------------------------------------
#   x <- rnorm(10)
#   c_test(x)
## ---------------------------------------------  

Run the code above in your browser using DataLab