title: Difference between "Data" and "Values" in R
body: <p>I've recently transitioned from STATA to R. I am using RSTudio as my IDE. I found that some of my variables go into "Data" section in RStudio and some go into "Values." These are in the "Environment" window. I googled this a bit and found that there is some major concept in R that I am missing. What's the difference between "Data" and "Values"? It'll be great if someone could post an example when a variable will go to the Data section and when it would go to the Values section.</p>
  
  <p>Here's the link I am referring to:<a href="https://support.rstudio.com/hc/en-us/community/posts/202201648-What-is-the-difference-between-Data-and-Values-in-the-Environment-pane-" rel="noreferrer">https://support.rstudio.com/hc/en-us/community/posts/202201648-What-is-the-difference-between-Data-and-Values-in-the-Environment-pane-</a></p>
  
  <p>I'd appreciate any thoughts.</p>