Helpers Module

Contains helper functions for calling the functions generated by the R provider, such as the `namedParams` function for specifying named parameters. The module is automatically opened when you open the `RProvider` namespace.

Functions and values

Function or value Description

namedParams s

Full Usage: namedParams s

Parameters:
    s : seq<string * 'a>

Returns: IDictionary<string, obj>

Construct a dictionary of named params to pass to an R function. ## Example For example, if you want to call the `R.plot` function with named parameters specifying `x`, `type`, `col` and `ylim`, you can use the following: [ "x", box widgets; "type", box "o"; "col", box "blue"; "ylim", box [0; 25] ] |> namedParams |> R.plot

s : seq<string * 'a>
Returns: IDictionary<string, obj>