Update value of one variable from another variable in shiny

0 votes
How to update the value of one variable from another variable in shiny?

My dataset consists of sales and profit of various products, which I'm trying to show average and SD and perform more visualization using the value.

What i need - when the inputs are given if no data exists that matches the condition, then the variable should take default value and update the other variable. I select year and goal of sales, if no products reach a goal that year, then update the sales value to average value
Aug 13 in Data Analytics by kajal
21 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Data Analytics

0 votes
0 answers

How to get the value passed through url from one page to another in R?

How to get the value passed through ...READ MORE

5 days ago in Data Analytics by ch
• 2,370 points
6 views
0 votes
2 answers
0 votes
1 answer

How to check row value of one column wrt another column?

Hi ratna, For suppose DF is the DataFrame ...READ MORE

answered Jul 25 in Data Analytics by anonymous
19 views
0 votes
1 answer

How to create dummy variables based on a categorical variable of lists in R?

You can use mtabulate in the following way: library(qdapTools) cbind(data[1], ...READ MORE

answered Apr 13, 2018 in Data Analytics by CodingByHeart77
• 3,690 points
545 views
0 votes
1 answer

How to drop rows of Pandas DataFrame whose value in certain coulmns is NaN

Easy Way: This Way we can easily handle ...READ MORE

answered May 7, 2018 in Data Analytics by DeepCoder786
• 1,720 points
665 views
0 votes
1 answer

Mean of one column with respect to another

Consider the inbuilt iris dataset in R. Use ...READ MORE

answered Jul 25, 2018 in Data Analytics by CodingByHeart77
• 3,690 points
32 views
0 votes
0 answers

How to trigger an action after clicking on a button? - R

Hi, i want to show the updated ...READ MORE

Jul 16 in Data Analytics by dhruv
23 views
0 votes
0 answers

Check type of input taken through textInput in shiny app

How to Check type of input taken ...READ MORE

Jul 16 in Data Analytics by rubini
26 views
0 votes
0 answers

Give output variable as input to another vaiable in shiny app

Can i send the output stored in ...READ MORE

Jul 16 in Data Analytics by rubini
66 views
0 votes
0 answers

Arrange the order of axis elements in ggplot

How to arrange the order of axis ...READ MORE

Jul 17 in Data Analytics by likitha
28 views