For observation 16, the value for variable X is 2, the value for variable Y is 5.5, and the value for variable Z is 16.
Table 1 - Observation 16
Variable | Value |
X | 2 |
Y | 5.5 |
Z | 16 |
Is there a good way to do this? I thought about transposing the data so the observations are the columns. I did this using sxpose because there are a number of string variables in my data set. When I transpose the data, I lose the variable names and it is difficult to keep track of them. I know there is an option to keep the variable names when using xpose, but that drops string variables in my experience and I cannot have that happen. It would be easiest for me to find a way to display the data without having to transpose it.
Thanks in advance!
0 Response to Creating table based on one observation
Post a Comment