I want to show only parts of an array, that has a long variable name. So far I used:
# Data
k0100_m020_r05_h10000__aea000_aee0$cumsumData = c(-1:10)
# show only parts
k0100_m020_r05_h10000__aea000_aee0$cumsumData[k0100_m020_r05_h10000__aea000_aee0$cumsumData>0]
I wonder if there is a shorter form, since I have to repeat the variable name within the square brackets. Is there a shorter reference to the variable currently used? e.g.:
k0100_m020_r05_h10000__aea000_aee0$cumsumData[_self>0]