Make a list with the name my_list
with 4 objects.
–> my_vector
: a logical vector with 5 elements: True, False, False, True, True
–> my_df
: a data-frame with 5 columns and 6 rows
first column (ID): patientA, patientB, patientC, patientD, patientE, patientF
second column (survival): 0,1,1,0,0,1
third column (age in years): 56, 78, 77, 90, 80, 70
fourth column (treatment): drugA, drugB, drugA, drugA, drugA, drugB
fifth column (tumor stage): 1,2,2,1,2,2
–> my_matrix
: a matrix with 4 rows and 3 columns
row 1: 3,5,6
row 2: 3,2,9
row 3: 1,7,2
row 4: 3,8,NA
–> my_numeric_vector
: a vector with 10 elements: 10, 20, 30, 40, 50, 60, 70, 80, 90, 100