module-coerce {esquisse}R Documentation

Coerce data.frame's columns module

Description

DEPRECATED, please see package datamods for similar features.

Usage

coerceUI(id)

coerceServer(input, output, session, data, reactiveValuesSlot = "data")

Arguments

id

Module id. See callModule.

input, output, session

standards shiny server arguments.²

data

A data.frame or a reactive function returning a data.frame or a reactivevalues with a slot containing a data.frame (use reactiveValuesSlot to identify that slot)

reactiveValuesSlot

If data is a reactivevalues, specify the name of the slot containing data.

Value

a reactiveValues with two slots: data original data.frame with modified columns, and names column's names with call to coerce method.


[Package esquisse version 1.0.2 Index]