Provide selection of parameter in rmarkdown

0 votes
How to provide parameter selection using slider to select number input in rmarkdown?
Jul 30 in Data Analytics by anonymous
26 views

1 answer to this question.

0 votes

Use choices attribute to provide a list of choice along with label and value attribute like below.

Clusters:
    label: "Size"
    value: 3
    input: select
    choices: [1,3,5,7]
answered Jul 30 by Cherukuri
• 32,260 points

Related Questions In Data Analytics

0 votes
1 answer

Append r output in the title of rmarkdown document

Insert with `r <code> ` withion markdown ...READ MORE

answered Sep 10 in Data Analytics by priya
26 views
+1 vote
3 answers

Problem with installation of Wordcloud in anaconda

Using Anaconda Python 3.6 version For Windows ...READ MORE

answered Aug 7, 2018 in Data Analytics by Priyaj
• 56,960 points
4,312 views
0 votes
1 answer

Finding frequency of observations in R

You can use the "dplyr" package to ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
230 views
+1 vote
2 answers

Custom Function to replace missing values in a vector with the mean of values

Try this. lapply(a,function(x){ifelse(is.na(x),mean(a,na.rm = TRUE) ...READ MORE

answered Aug 14 in Data Analytics by anonymous
105 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 30 in Data Analytics by anonymous
28 views
0 votes
1 answer
0 votes
1 answer

parameterized reports using RMarkdown

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

answered Nov 4 in Data Analytics by kamal
41 views
0 votes
1 answer

Error: object 'params' not found.

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

answered Nov 4 in Data Analytics by priya
92 views
0 votes
1 answer

File selection for parameter in rmarkdown

A small example -  params: dataset: ...READ MORE

answered Jul 30 in Data Analytics by Cherukuri
• 32,260 points
26 views
0 votes
1 answer

What are the different types of input for parameters in rmarkdown?

There are different types of inputs that ...READ MORE

answered Jul 30 in Data Analytics by Cherukuri
• 32,260 points
33 views