Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

renderSurvey

Server code for adding survey questions


Description

Include server-side logic for shinysurveys.

Usage

renderSurvey(df, theme = "#63B8FF")

Arguments

df

A user supplied dataframe in the format of teaching_r_questions.

theme

A valid R color: predefined such as "red" or "blue"; hex colors such as #63B8FF (default)

Value

NA; used for server-side logic in Shiny apps.

Examples

if (interactive()) {
renderSurvey(df = shinysurveys::teaching_r_questions,
theme = "#63B8FF")
}

shinysurveys

Create and Deploy Surveys in 'Shiny'

v0.1.2
MIT + file LICENSE
Authors
Jonathan Trattner [aut, cre] (<https://orcid.org/0000-0002-1097-7603>), Lucy D'Agostino McGowan [aut], Paul Le Grand [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.