"the largest strongly connected component (LSCC)" measure equivalent in igraph?

Cross-posted on StackOverflow.


I am trying to replicate “the largest strongly connected component (LSCC)” measure which seems to be absent from the general network analysis R codes. The best I could find was “largest_component” command from igraph package, but this only gives me the list of bank names with no numbers I need. So I guess this is only sorting the firm names instead of giving me values I need like this red box (below) in the paper’s snapshot does. May I kindly ask how I can replicate this LSCC network analysis values using R program?

And the snippet of my data is as follows:

Date i j
[1,] 09/2005 AMERIS BANCORP CITY HOLDING CO
[2,] 09/2005 AMERIS BANCORP COLUMBIA BANKING SYSTEM INC
[3,] 09/2005 AMERIS BANCORP FIFTH THIRD BANCORP
[4,] 09/2005 AMERIS BANCORP HUNTINGTON BANCSHARES INC
[5,] 09/2005 AMERIS BANCORP BROOKLINE BANCORP INC
[6,] 09/2005 AMERIS BANCORP CAPITOL FEDERAL FINANCIAL IN
[7,] 09/2005 AMERIS BANCORP FIRST FINANCIAL BANCORP
[8,] 09/2005 CITIGROUP INC CULLEN/FROST BANKERS INC
[9,] 09/2005 CITIGROUP INC FULTON FINANCIAL CORP
[10,] 09/2005 CITIGROUP INC HEARTLAND FINANCIAL USA INC
[11,] 09/2005 CITIGROUP INC BANK OZK
[12,] 09/2005 CITIGROUP INC FIRST COMMONWEALTH FINL CORP
[13,] 09/2005 CITIGROUP INC FIRST FINL BANKSHARES INC
[14,] 09/2005 CITIGROUP INC FIRST MERCHANTS CORP
[15,] 09/2005 CITIGROUP INC SOUTHSTATE CORP
[16,] 09/2005 CITY HOLDING CO CVB FINANCIAL CORP
[17,] 09/2005 CITY HOLDING CO CAPITOL FEDERAL FINANCIAL IN
[18,] 09/2005 CITY HOLDING CO FIRST FINL BANKSHARES INC
[19,] 09/2005 CITY HOLDING CO FIRST MERCHANTS CORP
[20,] 09/2005 COLUMBIA BANKING SYSTEM INC FNB CORP
[21,] 09/2005 COLUMBIA BANKING SYSTEM INC BERKSHIRE HILLS BANCORP INC
[22,] 09/2005 COLUMBIA BANKING SYSTEM INC FIRST FINANCIAL BANCORP
[23,] 09/2005 COLUMBIA BANKING SYSTEM INC FIRST HORIZON CORP
[24,] 09/2005 COMERICA INC FULTON FINANCIAL CORP
[25,] 09/2005 COMERICA INC HERITAGE FINANCIAL CORP
[26,] 09/2005 COMERICA INC HUNTINGTON BANCSHARES INC
[27,] 09/2005 COMERICA INC 1ST SOURCE CORP
[28,] 09/2005 COMERICA INC BERKSHIRE HILLS BANCORP INC
[29,] 09/2005 COMERICA INC SOUTHSTATE CORP
[30,] 09/2005 COMMERCE BANCSHARES INC HERITAGE FINANCIAL CORP
[31,] 09/2005 COMMUNITY FINANCIAL SYSTEM I COMMERCE BANCSHARES INC
[32,] 09/2005 COMMUNITY FINANCIAL SYSTEM I CVB FINANCIAL CORP
[33,] 09/2005 COMMUNITY FINANCIAL SYSTEM I FULTON FINANCIAL CORP
[34,] 09/2005 COMMUNITY FINANCIAL SYSTEM I HUNTINGTON BANCSHARES INC
[35,] 09/2005 COMMUNITY FINANCIAL SYSTEM I BANCFIRST CORP
[36,] 09/2005 COMMUNITY FINANCIAL SYSTEM I BOK FINANCIAL CORPORATION
[37,] 09/2005 COMMUNITY FINANCIAL SYSTEM I FIRST COMMONWEALTH FINL CORP
[38,] 09/2005 COMMUNITY FINANCIAL SYSTEM I FIRST FINANCIAL BANCORP
[39,] 09/2005 COMMUNITY FINANCIAL SYSTEM I FIRST FINL BANKSHARES INC
[40,] 09/2005 COMMUNITY FINANCIAL SYSTEM I REGIONS FINANCIAL CORP
[41,] 09/2005 COMMUNITY FINANCIAL SYSTEM I SOUTHSTATE CORP
[42,] 09/2005 COMMUNITY FINANCIAL SYSTEM I UNITED COMMUNITY BANKS/GA
[43,] 09/2005 CULLEN/FROST BANKERS INC BANK OZK
[44,] 09/2005 CULLEN/FROST BANKERS INC CATHAY GENERAL BANCORP
[45,] 09/2005 CULLEN/FROST BANKERS INC FIRST COMMONWEALTH FINL CORP
[46,] 09/2005 CVB FINANCIAL CORP BANK OZK
[47,] 09/2005 CVB FINANCIAL CORP FIRST MERCHANTS CORP
[48,] 09/2005 EAST WEST BANCORP INC FIFTH THIRD BANCORP
[49,] 09/2005 EAST WEST BANCORP INC CATHAY GENERAL BANCORP
[50,] 09/2005 EAST WEST BANCORP INC TRUIST FINANCIAL CORP
[51,] 09/2005 EURONET WORLDWIDE INC COMMERCE BANCSHARES INC
[52,] 09/2005 EURONET WORLDWIDE INC COMMUNITY FINANCIAL SYSTEM I
[53,] 09/2005 EURONET WORLDWIDE INC FNB CORP
[54,] 09/2005 EURONET WORLDWIDE INC GERMAN AMERICAN BANCORP
[55,] 09/2005 EURONET WORLDWIDE INC HANCOCK WHITNEY CORP
[56,] 09/2005 EURONET WORLDWIDE INC INDEPENDENT BANK CORP/MA
[57,] 09/2005 EURONET WORLDWIDE INC FIRST COMMONWEALTH FINL CORP
[58,] 09/2005 EURONET WORLDWIDE INC FIRST MERCHANTS CORP
[59,] 09/2005 EURONET WORLDWIDE INC PATHWARD FINANCIAL INC
[60,] 09/2005 FIFTH THIRD BANCORP COMERICA INC
[61,] 09/2005 FIFTH THIRD BANCORP COMMERCE BANCSHARES INC
[62,] 09/2005 FIFTH THIRD BANCORP EURONET WORLDWIDE INC
[63,] 09/2005 FIFTH THIRD BANCORP FNB CORP
[64,] 09/2005 FIFTH THIRD BANCORP HEARTLAND FINANCIAL USA INC
[65,] 09/2005 FIFTH THIRD BANCORP BANCFIRST CORP
[66,] 09/2005 FIFTH THIRD BANCORP BANNER CORPORATION
[67,] 09/2005 FIFTH THIRD BANCORP BERKSHIRE HILLS BANCORP INC
[68,] 09/2005 FIFTH THIRD BANCORP FIRST FINANCIAL BANCORP
[69,] 09/2005 FIFTH THIRD BANCORP FIRST FINL BANKSHARES INC
[70,] 09/2005 FIFTH THIRD BANCORP SOUTHSTATE CORP
[71,] 09/2005 FIFTH THIRD BANCORP CADENCE BANK
[72,] 09/2005 FNB CORP HUNTINGTON BANCSHARES INC
[73,] 09/2005 FNB CORP FIRST COMMONWEALTH FINL CORP
[74,] 09/2005 FULTON FINANCIAL CORP COMMUNITY FINANCIAL SYSTEM I
[75,] 09/2005 FULTON FINANCIAL CORP BANC OF CALIFORNIA INC
[76,] 09/2005 FULTON FINANCIAL CORP BANCFIRST CORP
[77,] 09/2005 FULTON FINANCIAL CORP CAPITOL FEDERAL FINANCIAL IN
[78,] 09/2005 FULTON FINANCIAL CORP FIRST COMMONWEALTH FINL CORP
[79,] 09/2005 FULTON FINANCIAL CORP REGIONS FINANCIAL CORP
[80,] 09/2005 FULTON FINANCIAL CORP SOUTHSTATE CORP
[81,] 09/2005 GERMAN AMERICAN BANCORP COMERICA INC
[82,] 09/2005 GERMAN AMERICAN BANCORP COMMUNITY FINANCIAL SYSTEM I
[83,] 09/2005 GERMAN AMERICAN BANCORP EAST WEST BANCORP INC
[84,] 09/2005 GERMAN AMERICAN BANCORP FULTON FINANCIAL CORP
[85,] 09/2005 GERMAN AMERICAN BANCORP GLACIER BANCORP INC
[86,] 09/2005 GERMAN AMERICAN BANCORP BANCFIRST CORP
[87,] 09/2005 GERMAN AMERICAN BANCORP BERKSHIRE HILLS BANCORP INC
[88,] 09/2005 GERMAN AMERICAN BANCORP SOUTHSTATE CORP
[89,] 09/2005 GERMAN AMERICAN BANCORP CADENCE BANK
[90,] 09/2005 GLACIER BANCORP INC BANC OF CALIFORNIA INC
[91,] 09/2005 HANCOCK WHITNEY CORP FIRST FINANCIAL BANCORP
[92,] 09/2005 HANCOCK WHITNEY CORP FIRST MERCHANTS CORP
[93,] 09/2005 HEARTLAND FINANCIAL USA INC COMERICA INC
[94,] 09/2005 HEARTLAND FINANCIAL USA INC EURONET WORLDWIDE INC
[95,] 09/2005 HEARTLAND FINANCIAL USA INC FIFTH THIRD BANCORP
[96,] 09/2005 HEARTLAND FINANCIAL USA INC FNB CORP
[97,] 09/2005 HEARTLAND FINANCIAL USA INC FULTON FINANCIAL CORP
[98,] 09/2005 HEARTLAND FINANCIAL USA INC FIRST FINL BANKSHARES INC
[99,] 09/2005 HEARTLAND FINANCIAL USA INC FIRST HORIZON CORP
[100,] 09/2005 HEARTLAND FINANCIAL USA INC PATHWARD FINANCIAL INC
[101,] 09/2005 HEARTLAND FINANCIAL USA INC CADENCE BANK
[102,] 09/2005 HEARTLAND FINANCIAL USA INC TRUIST FINANCIAL CORP
[103,] 09/2005 HERITAGE FINANCIAL CORP CULLEN/FROST BANKERS INC
[104,] 09/2005 HERITAGE FINANCIAL CORP FNB CORP
[105,] 09/2005 HERITAGE FINANCIAL CORP ASSOCIATED BANC-CORP
[106,] 09/2005 HERITAGE FINANCIAL CORP BERKSHIRE HILLS BANCORP INC
[107,] 09/2005 HERITAGE FINANCIAL CORP FIRST FINANCIAL BANCORP
[108,] 09/2005 HUNTINGTON BANCSHARES INC COLUMBIA BANKING SYSTEM INC
[109,] 09/2005 HUNTINGTON BANCSHARES INC CULLEN/FROST BANKERS INC
[110,] 09/2005 HUNTINGTON BANCSHARES INC FIRST COMMONWEALTH FINL CORP
[111,] 09/2005 INDEPENDENT BANK CORP/MA CITIGROUP INC
[112,] 09/2005 INDEPENDENT BANK CORP/MA COMMUNITY FINANCIAL SYSTEM I
[113,] 09/2005 INDEPENDENT BANK CORP/MA FIFTH THIRD BANCORP
[114,] 09/2005 INDEPENDENT BANK CORP/MA FULTON FINANCIAL CORP
[115,] 09/2005 INDEPENDENT BANK CORP/MA HANCOCK WHITNEY CORP
[116,] 09/2005 INDEPENDENT BANK CORP/MA HUNTINGTON BANCSHARES INC
[117,] 09/2005 INDEPENDENT BANK CORP/MA BERKSHIRE HILLS BANCORP INC
[118,] 09/2005 INDEPENDENT BANK CORP/MA SOUTHSTATE CORP
[119,] 09/2005 INDEPENDENT BANK CORP/MA TRUIST FINANCIAL CORP
[120,] 09/2005 1ST SOURCE CORP CITIGROUP INC
[121,] 09/2005 1ST SOURCE CORP FULTON FINANCIAL CORP
[122,] 09/2005 1ST SOURCE CORP BERKSHIRE HILLS BANCORP INC
[123,] 09/2005 1ST SOURCE CORP BOK FINANCIAL CORPORATION
[124,] 09/2005 1ST SOURCE CORP ENTERPRISE FINANCIAL SERVICE
[125,] 09/2005 1ST SOURCE CORP REGIONS FINANCIAL CORP
[126,] 09/2005 ASSOCIATED BANC-CORP CVB FINANCIAL CORP
[127,] 09/2005 ASSOCIATED BANC-CORP FIFTH THIRD BANCORP
[128,] 09/2005 ASSOCIATED BANC-CORP FULTON FINANCIAL CORP
[129,] 09/2005 ASSOCIATED BANC-CORP HUNTINGTON BANCSHARES INC
[130,] 09/2005 ASSOCIATED BANC-CORP FIRST FINANCIAL BANCORP
[131,] 09/2005 BANC OF CALIFORNIA INC EAST WEST BANCORP INC
[132,] 09/2005 BANC OF CALIFORNIA INC FULTON FINANCIAL CORP
[133,] 09/2005 BANC OF CALIFORNIA INC BOK FINANCIAL CORPORATION
[134,] 09/2005 BANC OF CALIFORNIA INC TRUIST FINANCIAL CORP
[135,] 09/2005 BANCFIRST CORP EURONET WORLDWIDE INC
[136,] 09/2005 BANCFIRST CORP BOK FINANCIAL CORPORATION
[137,] 09/2005 BANCFIRST CORP CAPITOL FEDERAL FINANCIAL IN
[138,] 09/2005 BANCFIRST CORP ENTERPRISE FINANCIAL SERVICE
[139,] 09/2005 BANCFIRST CORP REGIONS FINANCIAL CORP
[140,] 09/2005 BANK OF AMERICA CORP AMERIS BANCORP
[141,] 09/2005 BANK OF AMERICA CORP CVB FINANCIAL CORP
[142,] 09/2005 BANK OF AMERICA CORP GERMAN AMERICAN BANCORP
[143,] 09/2005 BANK OF AMERICA CORP BANCFIRST CORP
[144,] 09/2005 BANK OF AMERICA CORP CADENCE BANK
[145,] 09/2005 BANK OZK BROOKLINE BANCORP INC
[146,] 09/2005 BANK OZK FIRST FINL BANKSHARES INC
[147,] 09/2005 BANK OZK PACIFIC PREMIER BANCORP INC
[148,] 09/2005 BANK OZK PATHWARD FINANCIAL INC
[149,] 09/2005 BANNER CORPORATION COMERICA INC
[150,] 09/2005 BANNER CORPORATION CULLEN/FROST BANKERS INC
[151,] 09/2005 BANNER CORPORATION HERITAGE FINANCIAL CORP
[152,] 09/2005 BANNER CORPORATION BANK OF AMERICA CORP
[153,] 09/2005 BANNER CORPORATION BERKSHIRE HILLS BANCORP INC
[154,] 09/2005 BANNER CORPORATION CATHAY GENERAL BANCORP
[155,] 09/2005 BANNER CORPORATION ENTERPRISE FINANCIAL SERVICE
[156,] 09/2005 BANNER CORPORATION TRUIST FINANCIAL CORP
[157,] 09/2005 BERKSHIRE HILLS BANCORP INC COMERICA INC
[158,] 09/2005 BERKSHIRE HILLS BANCORP INC COMMERCE BANCSHARES INC
[159,] 09/2005 BERKSHIRE HILLS BANCORP INC COMMUNITY FINANCIAL SYSTEM I
[160,] 09/2005 BERKSHIRE HILLS BANCORP INC FULTON FINANCIAL CORP
[161,] 09/2005 BERKSHIRE HILLS BANCORP INC HANCOCK WHITNEY CORP
[162,] 09/2005 BERKSHIRE HILLS BANCORP INC HUNTINGTON BANCSHARES INC
[163,] 09/2005 BERKSHIRE HILLS BANCORP INC FIRST FINANCIAL BANCORP
[164,] 09/2005 BERKSHIRE HILLS BANCORP INC FIRST FINL BANKSHARES INC
[165,] 09/2005 BERKSHIRE HILLS BANCORP INC REGIONS FINANCIAL CORP
[166,] 09/2005 BERKSHIRE HILLS BANCORP INC CADENCE BANK
[167,] 09/2005 BERKSHIRE HILLS BANCORP INC TRUIST FINANCIAL CORP
[168,] 09/2005 BOK FINANCIAL CORPORATION FIRST COMMONWEALTH FINL CORP
[169,] 09/2005 BROOKLINE BANCORP INC EAST WEST BANCORP INC
[170,] 09/2005 BROOKLINE BANCORP INC BANCFIRST CORP
[171,] 09/2005 BROOKLINE BANCORP INC BANK OF AMERICA CORP
[172,] 09/2005 BROOKLINE BANCORP INC FIRST FINANCIAL BANCORP
[173,] 09/2005 BROOKLINE BANCORP INC SOUTHSTATE CORP
[174,] 09/2005 BROOKLINE BANCORP INC TRUIST FINANCIAL CORP
[175,] 09/2005 CAPITOL FEDERAL FINANCIAL IN COMERICA INC
[176,] 09/2005 CAPITOL FEDERAL FINANCIAL IN COMMERCE BANCSHARES INC
[177,] 09/2005 CAPITOL FEDERAL FINANCIAL IN COMMUNITY FINANCIAL SYSTEM I
[178,] 09/2005 CAPITOL FEDERAL FINANCIAL IN BERKSHIRE HILLS BANCORP INC
[179,] 09/2005 CAPITOL FEDERAL FINANCIAL IN FIRST FINANCIAL BANCORP
[180,] 09/2005 CAPITOL FEDERAL FINANCIAL IN REGIONS FINANCIAL CORP
[181,] 09/2005 CATHAY GENERAL BANCORP FIFTH THIRD BANCORP
[182,] 09/2005 CATHAY GENERAL BANCORP ASSOCIATED BANC-CORP
[183,] 09/2005 CATHAY GENERAL BANCORP BERKSHIRE HILLS BANCORP INC
[184,] 09/2005 FIRST COMMONWEALTH FINL CORP BANK OZK
[185,] 09/2005 FIRST COMMONWEALTH FINL CORP FIRST MERCHANTS CORP
[186,] 09/2005 FIRST COMMONWEALTH FINL CORP CADENCE BANK
[187,] 09/2005 FIRST FINANCIAL BANCORP FNB CORP
[188,] 09/2005 FIRST FINANCIAL BANCORP 1ST SOURCE CORP
[189,] 09/2005 FIRST FINANCIAL BANCORP SOUTHSTATE CORP
[190,] 09/2005 FIRST FINL BANKSHARES INC BOK FINANCIAL CORPORATION
[191,] 09/2005 FIRST FINL BANKSHARES INC BROOKLINE BANCORP INC
[192,] 09/2005 FIRST FINL BANKSHARES INC ENTERPRISE FINANCIAL SERVICE
[193,] 09/2005 FIRST FINL BANKSHARES INC CADENCE BANK
[194,] 09/2005 FIRST HORIZON CORP CITY HOLDING CO
[195,] 09/2005 FIRST HORIZON CORP COMMUNITY FINANCIAL SYSTEM I
[196,] 09/2005 FIRST HORIZON CORP GERMAN AMERICAN BANCORP
[197,] 09/2005 FIRST HORIZON CORP 1ST SOURCE CORP
[198,] 09/2005 FIRST HORIZON CORP BANCFIRST CORP
[199,] 09/2005 FIRST HORIZON CORP FIRST FINANCIAL BANCORP
[200,] 09/2005 FIRST HORIZON CORP FIRST FINL BANKSHARES INC
[201,] 09/2005 FIRST HORIZON CORP REGIONS FINANCIAL CORP
[202,] 09/2005 FIRST MERCHANTS CORP FNB CORP
[203,] 09/2005 FIRST MERCHANTS CORP GLACIER BANCORP INC
[204,] 09/2005 FIRST MERCHANTS CORP BANK OF AMERICA CORP
[205,] 09/2005 FIRST MERCHANTS CORP BERKSHIRE HILLS BANCORP INC
[206,] 09/2005 FIRST MERCHANTS CORP FIRST COMMONWEALTH FINL CORP
[207,] 09/2005 FIRST MERCHANTS CORP CADENCE BANK
[208,] 09/2005 PACIFIC PREMIER BANCORP INC FIRST MERCHANTS CORP
[209,] 09/2005 PACIFIC PREMIER BANCORP INC SOUTHSTATE CORP
[210,] 09/2005 PATHWARD FINANCIAL INC COMERICA INC
[211,] 09/2005 PATHWARD FINANCIAL INC EAST WEST BANCORP INC
[212,] 09/2005 PATHWARD FINANCIAL INC ASSOCIATED BANC-CORP
[213,] 09/2005 PATHWARD FINANCIAL INC BANK OF AMERICA CORP
[214,] 09/2005 PATHWARD FINANCIAL INC BERKSHIRE HILLS BANCORP INC
[215,] 09/2005 PATHWARD FINANCIAL INC BROOKLINE BANCORP INC
[216,] 09/2005 PATHWARD FINANCIAL INC REGIONS FINANCIAL CORP
[217,] 09/2005 PATHWARD FINANCIAL INC CADENCE BANK
[218,] 09/2005 REGIONS FINANCIAL CORP AMERIS BANCORP
[219,] 09/2005 REGIONS FINANCIAL CORP COLUMBIA BANKING SYSTEM INC
[220,] 09/2005 REGIONS FINANCIAL CORP HUNTINGTON BANCSHARES INC
[221,] 09/2005 REGIONS FINANCIAL CORP BROOKLINE BANCORP INC
[222,] 09/2005 REGIONS FINANCIAL CORP FIRST COMMONWEALTH FINL CORP
[223,] 09/2005 SOUTHSTATE CORP COMERICA INC
[224,] 09/2005 SOUTHSTATE CORP COMMERCE BANCSHARES INC
[225,] 09/2005 SOUTHSTATE CORP FNB CORP
[226,] 09/2005 SOUTHSTATE CORP BANCFIRST CORP
[227,] 09/2005 SOUTHSTATE CORP BERKSHIRE HILLS BANCORP INC
[228,] 09/2005 SOUTHSTATE CORP CAPITOL FEDERAL FINANCIAL IN
[229,] 09/2005 SOUTHSTATE CORP REGIONS FINANCIAL CORP
[230,] 09/2005 SOUTHSTATE CORP CADENCE BANK
[231,] 09/2005 UNITED COMMUNITY BANKS/GA CITIGROUP INC
[232,] 09/2005 UNITED COMMUNITY BANKS/GA CITY HOLDING CO
[233,] 09/2005 UNITED COMMUNITY BANKS/GA COMERICA INC
[234,] 09/2005 UNITED COMMUNITY BANKS/GA COMMUNITY FINANCIAL SYSTEM I
[235,] 09/2005 UNITED COMMUNITY BANKS/GA CULLEN/FROST BANKERS INC
[236,] 09/2005 UNITED COMMUNITY BANKS/GA BANK OF AMERICA CORP
[237,] 09/2005 UNITED COMMUNITY BANKS/GA CATHAY GENERAL BANCORP
[238,] 09/2005 CADENCE BANK CITIGROUP INC
[239,] 09/2005 CADENCE BANK COMERICA INC
[240,] 09/2005 CADENCE BANK CVB FINANCIAL CORP
[241,] 09/2005 CADENCE BANK CAPITOL FEDERAL FINANCIAL IN
[242,] 09/2005 CADENCE BANK FIRST COMMONWEALTH FINL CORP
[243,] 09/2005 CADENCE BANK SOUTHSTATE CORP
[244,] 09/2005 CADENCE BANK TRUIST FINANCIAL CORP
[245,] 09/2005 TRUIST FINANCIAL CORP CVB FINANCIAL CORP
[246,] 09/2005 TRUIST FINANCIAL CORP SOUTHSTATE CORP

I don’t understand the problem. largest_component() will give you the largest weakly or strongly connected component as a new graph. All attributes are preserved, and you can continue computing with them.

Why don’t you give a specific example of an input and the corresponding output you want? Show what you did with largest_component() and explain how the output you get differs from what you desire. Keep the example no larger than necessary to make your point, ideally no more than 5-6 vertices.

I would like to permanently delete this post and permanently remove my account from this website, please. Thank you.