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, 2019 in Data Analytics by kajal
137 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

Oct 16, 2019 in Data Analytics by ch
• 3,450 points
42 views
0 votes
2 answers

How to change the value of a variable using R programming in a data frame?

You are getting this error since the ...READ MORE

answered Aug 16, 2019 in Data Analytics by anonymous
• 32,490 points
13,043 views
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, 2019 in Data Analytics by anonymous
72 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,720 points
994 views
0 votes
1 answer

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

Hi@DataKing99, You can create one function according to ...READ MORE

answered May 7, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 9 by MD 839 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,720 points
66 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, 2019 in Data Analytics by dhruv
72 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, 2019 in Data Analytics by rubini
78 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, 2019 in Data Analytics by rubini
116 views
0 votes
0 answers

Arrange the order of axis elements in ggplot

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

Jul 17, 2019 in Data Analytics by likitha
101 views