Learn R Programming

AnalysisPageServer (version 1.6.2)

default.param.set: default.param.set

Description

Build a basic ParamSet for your handler

Usage

default.param.set(handler)

Arguments

handler
A function. (Typically one you are using as an AnalysisPage handler)

Value

AnalysisPageParamSet

Details

Each argument to your handler is rendered into a simple AnalysisPageParam with the name of the argument and type "text". The idea is that you will then modify it as necessary to get more complicated widgets.

Examples

Run this code
f <- function(A=1, B=2) {}
  # param set with 2 form elements rendered as text inputs; something like   A [__________]     B [__________]
  pset <- default.param.set(f)

Run the code above in your browser using DataLab