I have a data set (below) that contains several factor and integer variables. I want to calculate the descriptive statistics (mean, median, standard deviation, range and variance) across all columns. How do I convert the data set so that it makes it easier to compute the descriptive statistics? And are the codes that I can use to calculate mean, median, standard deviation, range and variance?
Observations: 285
Variables: 10
no.recurrence.events <fct> no-recurrence-events, no-recurrence-events, no-recu...
X30.39 40-49, 40-49, 60-69, 40-49, 60-69, 50-59, 60-69, 40...
premeno <fct> premeno, premeno, ge40, premeno, ge40, premeno, ge4...
X30.34 20-24, 20-24, 15-19, 0-4, 15-19, 25-29, 20-24, 50-5...
X0.2 <fct> 0-2, 0-2, 0-2, 0-2, 0-2, 0-2, 0-2, 0-2, 0-2, 0-2, 0...
no no, no, no, no, no, no, no, no, no, no, no, no, no,...
X3 <int> 2, 2, 2, 2, 2, 2, 1, 2, 2, 3, 2, 1, 3, 3, 1, 2, 3, ...
left right, left, right, right, left, left, left, left, ...
left_low <fct> right_up, left_low, left_up, right_low, left_low, l...
no.1 no, no, no, no, no, no, no, no, no, no, no, no, no,...