What are the different types of input for parameters in rmarkdown

0 votes
What are the different types of input for parameters in rmarkdown?
Jul 30, 2019 in Data Analytics by anonymous
902 views

1 answer to this question.

0 votes

There are different types of inputs that are allowed for a parameter - 

Defined by giving value to label attribute.

  • Slider Input  
  • Numerical/ date/ text Input
  • Password Input
  • select list
  • radio buttons
  • file input

All the types follow the same syntax for defining the parameter.

title: sample
output: html_document
params:
  year:
    label: "Year"
    value: 2017
    input: slider
    min: 2010
    max: 2018
    step: 1
    sep: ""

---

The attributes change depending on the type of input such as value, sep.min,max ,etc.

answered Jul 31, 2019 by Cherukuri
• 33,030 points

Related Questions In Data Analytics

0 votes
1 answer

What are the different ways of writing into file from R?

Hi Payal, These are the ways to write text ...READ MORE

answered Aug 29, 2019 in Data Analytics by anonymous
• 33,030 points
857 views
0 votes
1 answer

What are the different ways to manage NA's in data?

A few functions to manage NA are ...READ MORE

answered Oct 16, 2019 in Data Analytics by Cherukuri
• 33,030 points
480 views
0 votes
1 answer
0 votes
2 answers

R function for finding the index of an element in a vector?

The function match works on vectors : x <- sample(1:10) x # ...READ MORE

answered Dec 12, 2020 in Data Analytics by Rajiv
• 8,910 points
55,988 views
0 votes
1 answer

Display only output and caption with any warnings or code in Rmarkdown

Use echo=FALSE and fig.cap = "caption in ...READ MORE

answered Jul 31, 2019 in Data Analytics by anonymous
433 views
0 votes
1 answer

display the output r code as title in R script Rmarkdown script to html page

Use the file input from parameter and ...READ MORE

answered Jul 31, 2019 in Data Analytics by anonymous
1,146 views
0 votes
1 answer

parameterized reports using RMarkdown

Add params attribute like below specifying dataset ...READ MORE

answered Nov 4, 2019 in Data Analytics by kamal
811 views
0 votes
1 answer

Error: object 'params' not found.

@pragyat, Remove " " around data value in ...READ MORE

answered Nov 4, 2019 in Data Analytics by priya
2,693 views
0 votes
2 answers

what are the different ways of getting/reading data into for cleaning

Most used functions for reading or extracting ...READ MORE

answered Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
460 views
0 votes
1 answer

What are the top packages in R for data visualization?

These are the top R packages used ...READ MORE

answered Aug 26, 2019 in Data Analytics by Cherukuri
• 33,030 points
671 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP