title: Silhouette plot in R
body: <p>I have a set of data containing:
  item, associated cluster, silhouette coefficient. I can further augment this data set with more information if necessary.</p>
  
  <p>I would like to generate a silhouette plot in R. I am having trouble with this because examples I came across use the built-in kmeans (or related) clustering function and plot the result. I want to bypass this step and produce the plot for my own clustering algorithm but I'm ending up short on providing the correct arguments to the plot function.</p>
  
  <p>Thank you.</p>
  
  <p>EDIT</p>
  
  <p>Data set example <a href="https://pastebin.mozilla.org/8853427" rel="noreferrer">https://pastebin.mozilla.org/8853427</a></p>
  
  <p>What I've tried is loading the dataset and passing it to the <code>plot</code> function using various arguments based on <a href="https://stat.ethz.ch/R-manual/R-devel/library/cluster/html/silhouette.html" rel="noreferrer">https://stat.ethz.ch/R-manual/R-devel/library/cluster/html/silhouette.html</a></p>