wps/src/main/webapp/R/scripts/demo_uniform.R

12 lines
360 B
R
Executable File

#
# Author: Matthias Hinz
###############################################################################
# wps.des: demo.uniform.simple, title = A Simple WPS Process,
# abstract = Example Calculation with R;
# wps.in: input, integer;
# wps.out: output, double;
# calculate something... variable "input" don't have to be initialized
output = runif(1)*input