Learn R Programming

AnalysisPageServer (version 1.6.2)

sine.handler: sine.handler

Description

An example handler just for testing and development

Usage

sine.handler(xmin = 0, xmax = 3 * pi, n = 100)

Arguments

xmin
Numeric. Minimum x value to plot
xmax
Numeric. Maximum x value to plot
n
Integer. Number of points to plot

Value

data.frame

Details

This handler takes three parameters, xmin, xmax and n, makes a plot of the sin curve from xmin to xmax (using n equally spaced points), and returns a data.frame with the x and y coordinates, with IDs A-Z, A.1-Z.1, ...