I'm exploring the acss package.
I want to know which strings for a given length of the acss_data
dataframe have been assigned maximum K.i
value.
tail(acss_data)
K.2 K.4 K.5 K.6 K.9
012345678883 NA NA NA NA 50.28906
012345678884 NA NA NA NA 50.31291
012345678885 NA NA NA NA 49.71200
012345678886 NA NA NA NA 49.81041
012345678887 NA NA NA NA 49.51936
012345678888 NA NA NA NA 48.61247
The acss_data
dataframe contains K.2
, K.4
, K.5
, K.6
, and K.9
values associated to strings from lengths 1 to 12, and I want to know the maximum K.i
for each string length, i.e, I want to know the max K.2
for strings of length 1, length 2, ... length 12. Then I would like to know the max K.4
for strings of length 1, length 2, ... length 12, etc.
How can I query this in R?
acss
gives the algorithmic complexity of a string as an entropy function would give you its entropy. complexitycalculator.com – andandandandacss_data["010101", ]
gives theK.i
values for the string"010101"
. I want a non-hideous and idiomatic way to get the max K.i values for strings of a given length. – andandandand