automatic opening of as many numericInput() as there are clusters defined by a cluster analysis

Good morning community,

After performing an automatic cluster analysis, such as NbClust or pdfCluster functions, and report me the number of clusters identified within the dataset.

Is there a function that allows me to open as many numericInput() as the number of identified clusters?

My goal is to identify the number of clusters and then set these clusters with numeric variables.

Yes, recommended to use uiOutput and renderUI
https://shiny.rstudio.com/articles/dynamic-ui.html

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.