1

I would like to create a user input in the form of a table in shiny. The code below would create the skeleton table:

age <- c('00-10' , '11-20' , '>21')
male <- c(NA , NA , NA)
female <- c(NA , NA , NA)

input_table <- data.frame(age , male , female)

I would like the user to see this table and be able to enter quantities for the corresponding age and gender.

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.