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
5 days ago in Data Analytics by kajal
6 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
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 3 days ago in Data Analytics by anonymous
• 19,550 points
113 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 in Data Analytics by anonymous
14 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,680 points
451 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,700 points
624 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,680 points
22 views
0 votes
1 answer

Check Distribution of Categorical Variable in R

Consider the iris dataset use the table() function ...READ MORE

answered Jul 30, 2018 in Data Analytics by CodingByHeart77
• 3,680 points
67 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
17 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
20 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
58 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
16 views