I have 3 dataframes with similar dimensions with the following structure:
> str(Results_first_experiment)
Classes ‘tbl_df’, ‘tbl’ and 'data.frame': 30 obs. of 8 variables:
$ Strain: chr "1" "2" "3" "4" ...
$ 0.5 : num 3452 4126 2200 3125 1392 ...
$ 1 : num 11918 14445 7899 11735 5813 ...
$ 2 : num 19848 20872 16089 19759 13746 ...
$ 3 : num 20188 19937 20509 21012 19792 ...
$ 4 : num 16586 17074 15426 14748 15470 ...
$ 5 : num 16850 17288 17801 14051 17305 ...
$ 6 : num 12816 14682 16325 15948 16069 ...
> head (Results_first_experiment)
# A tibble: 6 x 8
Strain `0.5` `1` `2` `3` `4` `5` `6`
<chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 1 3452. 11918. 19848. 20188. 16586. 16850. 12816
2 2 4126 14445. 20872. 19937. 17074. 17288 14682.
3 3 2200. 7899. 16089. 20509 15426. 17801 16325.
4 4 3125. 11735. 19758. 21012. 14748 14051. 15948.
5 5 1392. 5813. 13746 19792. 15470. 17305. 16069.
6 6 1501 5769 12730 18339. 17369 18645. 18463.
I would like to retrieve the mean of the 3 data frames per position. Ive tried to have a look How to get mean, median, and other statistics over entire matrix, array or dataframe?. However I could not get the mean across the 3 dataframes per position
Any help would be appreciated.