Hello, I am a basic user of SAS and need to create a table in R, but I am well lost in R.
The command given in SAS is
DATA MEDIAS; SET TEMP;
PROC MEANS N MEAN MIN MAX STD;
VAR a1 a2 b1 b2 c1 c2 T R E;
RUN;
In sas it frees me this table:
So far in R I have been able to insert the data as a data frame with the variables, but I need it to organize these variables in column, and drop the number of observations of each, the averages, the maximums the minimums and the standard deviation. I have lost data in this file that is already in NA format.
Can anyone help me in the code in R?