0
で
Error in FUN(X[[i]], ...) : n < m
エラーがコードを実行した後に表示されます。ここでは
rslt <- lapply(split(my$symbol, my$character), combn, 2, simplify = F)
my
は私のデータフレームとシンボルであり、文字は、データフレームの列です。データフレームには26,552行が含まれています。私は私のデータの小さな部分を投稿しました。
my:
symbol character
BHMT Abruptio Placentae
BHMT Diabetes Mellitus, Type 2
BHMT Lymphoma, Non-Hodgkin
BHMT Neural Tube Defects
BID Carcinoma, Hepatocellular
BID Stomach Neoplasms
BIN1 Alzheimer Disease
BIN1 Myopathies, Structural, Congenital
BIN1 Myopathy, Centronuclear, Autosomal Recessive
BIRC5 Lung Neoplasms
BIRC5 Ovarian Neoplasms
BIRC5 Stomach Neoplasms
BIRC6 Neoplasms
BIRC7 Carcinoma, Renal Cell
BLK Arthritis, Rheumatoid
BLK Lupus Erythematosus, Systemic
BLK Maturity-onset diabetes of the young, type 11
助けてください。ありがとうございました。