These functions compute matrixes of distances and similarities between documents or features from a dfm and return a dist object (or a matrix if specific targets are selected). They are fast and robust because they operate directly on the sparse dfm objects.

textstat_simil(x, selection = NULL, margin = c("documents",
  "features"), method = c("correlation", "cosine", "jaccard", "ejaccard",
  "dice", "edice", "hamman", "simple matching", "faith"), upper = FALSE,
  diag = FALSE)

textstat_dist(x, selection = NULL, margin = c("documents", "features"),
  method = c("euclidean", "kullback", "manhattan", "maximum", "canberra",
  "minkowski"), upper = FALSE, diag = FALSE, p = 2)

Arguments

x

a dfm object

selection

a valid index for document or feature names (depending on margin) from x, to be selected for comparison

margin

identifies the margin of the dfm on which similarity or difference will be computed: "documents" for documents or "features" for word/term features.

method

method the similarity or distance measure to be used; see Details.

upper

whether the upper triangle of the symmetric \(V \times V\) matrix is recorded. Only used when value = "dist".

diag

whether the diagonal of the distance matrix should be recorded. . Only used when value = "dist".

p

The power of the Minkowski distance.

Value

By default, textstat_simil and textstat_dist return dist class objects if selection is NULL, otherwise, a matrix is returned matching distances to the documents or features identified in the selection.

These can be transformed into a list format using as.list.dist, if that format is preferred.

Details

textstat_simil options are: "correlation" (default), "cosine", "jaccard", "ejaccard", "dice", "edice", "simple matching", "hamman", and "faith".

textstat_dist options are: "euclidean" (default), "kullback". "manhattan", "maximum", "canberra", and "minkowski".

Note

If you want to compute similarity on a "normalized" dfm object (controlling for variable document lengths, for methods such as correlation for which different document lengths matter), then wrap the input dfm in dfm_weight(x, "prop").

References

"kullback" is the Kullback-Leibler distance, which assumes that \(P(x_i) = 0\) implies \(P(y_i)=0\), and in case either \(P(x_i)\) or \(P(y_i)\) equals to zero, then \(P(x_i) * log(p(x_i)/p(y_i))\) is assumed to be zero as the limit value. The formula is: $$\sum{P(x)*log(P(x)/p(y))}$$

All other measures are described in the proxy package.

See also

Examples

# similarities for documents mt <- dfm(data_corpus_inaugural, remove_punct = TRUE, remove = stopwords("english")) (s1 <- textstat_simil(mt, method = "cosine", margin = "documents"))
#> 1789-Washington 1793-Washington 1797-Adams 1801-Jefferson #> 1793-Washington 0.24034815 #> 1797-Adams 0.47274042 0.24450220 #> 1801-Jefferson 0.39653869 0.23362585 0.43305637 #> 1805-Jefferson 0.40780660 0.22468244 0.41477024 0.46988145 #> 1809-Madison 0.34659106 0.11292426 0.41577759 0.33904612 #> 1813-Madison 0.29893485 0.16891685 0.33028361 0.25749365 #> 1817-Monroe 0.48460136 0.19685585 0.55308815 0.42841599 #> 1821-Monroe 0.43237712 0.21146735 0.47890380 0.38200653 #> 1825-Adams 0.40544547 0.19837997 0.51317148 0.44187907 #> 1829-Jackson 0.41684048 0.25852339 0.46775875 0.37884333 #> 1833-Jackson 0.42171550 0.25473796 0.51534683 0.44049765 #> 1837-VanBuren 0.48877657 0.25768226 0.54937638 0.45126607 #> 1841-Harrison 0.49500295 0.26644514 0.59692165 0.47322207 #> 1845-Polk 0.47573822 0.24050134 0.53596569 0.46230558 #> 1849-Taylor 0.37374323 0.38060783 0.41849682 0.39086815 #> 1853-Pierce 0.44576853 0.24142425 0.48099464 0.44739068 #> 1857-Buchanan 0.44959994 0.31964858 0.57951112 0.42715013 #> 1861-Lincoln 0.43901044 0.33454524 0.50520056 0.40435963 #> 1865-Lincoln 0.20252776 0.15149733 0.19830890 0.25864919 #> 1869-Grant 0.36967059 0.24805857 0.40680493 0.35621578 #> 1873-Grant 0.35245566 0.20319496 0.42083249 0.35071785 #> 1877-Hayes 0.44622004 0.26934189 0.51909760 0.41492796 #> 1881-Garfield 0.41646099 0.26909563 0.56391192 0.41989244 #> 1885-Cleveland 0.43136198 0.32365196 0.53503064 0.43572096 #> 1889-Harrison 0.39711309 0.29023848 0.55192493 0.38260199 #> 1893-Cleveland 0.43549526 0.22895195 0.48046233 0.40181597 #> 1897-McKinley 0.46197235 0.29564744 0.55022537 0.38666718 #> 1901-McKinley 0.37290259 0.25976322 0.49142042 0.37743425 #> 1905-Roosevelt 0.23699949 0.09349731 0.32974156 0.32364007 #> 1909-Taft 0.39878673 0.22563965 0.43329237 0.37069124 #> 1913-Wilson 0.32762809 0.14964806 0.35692752 0.32190438 #> 1917-Wilson 0.27444059 0.20882968 0.35401744 0.33686128 #> 1921-Harding 0.33344011 0.17328670 0.38789822 0.36012244 #> 1925-Coolidge 0.42163513 0.16785751 0.51367041 0.42452927 #> 1929-Hoover 0.37440542 0.19149175 0.50701202 0.38666729 #> 1933-Roosevelt 0.38680011 0.18983023 0.39165538 0.33085608 #> 1937-Roosevelt 0.36394904 0.19137869 0.46207058 0.36726473 #> 1941-Roosevelt 0.24275622 0.11164501 0.38682456 0.28997462 #> 1945-Roosevelt 0.18654742 0.22905385 0.21735908 0.26493839 #> 1949-Truman 0.27545822 0.12034135 0.38752884 0.30468309 #> 1953-Eisenhower 0.28495424 0.17072907 0.36759409 0.39941047 #> 1957-Eisenhower 0.26585376 0.14894786 0.41662094 0.34133714 #> 1961-Kennedy 0.27764964 0.14882051 0.27219322 0.41127910 #> 1965-Johnson 0.26991611 0.11589319 0.30288714 0.34448050 #> 1969-Nixon 0.25654328 0.15478782 0.33546152 0.38349609 #> 1973-Nixon 0.26594312 0.12543622 0.31621959 0.40395536 #> 1977-Carter 0.30748030 0.12159459 0.35751123 0.31665961 #> 1981-Reagan 0.31849316 0.18078041 0.36045704 0.44681905 #> 1985-Reagan 0.30994756 0.15666667 0.35183661 0.42998415 #> 1989-Bush 0.30096856 0.10323314 0.33715219 0.35486215 #> 1993-Clinton 0.24269024 0.14759571 0.29069134 0.30090827 #> 1997-Clinton 0.30088324 0.12265128 0.32023523 0.38156991 #> 2001-Bush 0.33394422 0.13386242 0.33082352 0.34735772 #> 2005-Bush 0.32070169 0.14795231 0.35428068 0.33822533 #> 2009-Obama 0.31949428 0.13852677 0.34073158 0.38801201 #> 2013-Obama 0.32667184 0.16938815 0.35488795 0.38147853 #> 2017-Trump 0.29203107 0.19457268 0.35260320 0.24956785 #> 1805-Jefferson 1809-Madison 1813-Madison 1817-Monroe #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison 0.40091515 #> 1813-Madison 0.28248568 0.31846640 #> 1817-Monroe 0.45709695 0.43593210 0.40316430 #> 1821-Monroe 0.45109268 0.37696663 0.42415816 0.67801222 #> 1825-Adams 0.42660132 0.41871708 0.30122658 0.54786706 #> 1829-Jackson 0.44696493 0.39164289 0.25237444 0.47743172 #> 1833-Jackson 0.38658632 0.33672521 0.27552508 0.55258510 #> 1837-VanBuren 0.43902928 0.40623899 0.35507243 0.57296343 #> 1841-Harrison 0.45119292 0.38460468 0.32849208 0.57326271 #> 1845-Polk 0.45919367 0.38387032 0.34331269 0.63516424 #> 1849-Taylor 0.37285490 0.29314467 0.23028676 0.45965746 #> 1853-Pierce 0.42235926 0.40743614 0.28241571 0.51583483 #> 1857-Buchanan 0.45326460 0.35344079 0.35301532 0.59609044 #> 1861-Lincoln 0.38989313 0.30867369 0.26004579 0.48890755 #> 1865-Lincoln 0.26783326 0.15759843 0.33864361 0.29381002 #> 1869-Grant 0.37506373 0.33720909 0.29981531 0.42847471 #> 1873-Grant 0.31297506 0.31308052 0.27756903 0.43200125 #> 1877-Hayes 0.42268733 0.38058037 0.31422799 0.54788720 #> 1881-Garfield 0.37474652 0.34302370 0.30946598 0.55149968 #> 1885-Cleveland 0.41774694 0.30398787 0.26214564 0.50634158 #> 1889-Harrison 0.43001742 0.36270963 0.29822638 0.53377806 #> 1893-Cleveland 0.35543029 0.29354769 0.26896608 0.48174356 #> 1897-McKinley 0.38742172 0.35385143 0.32194080 0.55657948 #> 1901-McKinley 0.35498420 0.34007055 0.37715364 0.51818610 #> 1905-Roosevelt 0.29027487 0.22974459 0.18787127 0.34332757 #> 1909-Taft 0.35849205 0.29378127 0.27494200 0.46171455 #> 1913-Wilson 0.26341382 0.21820330 0.20754633 0.37869845 #> 1917-Wilson 0.33656389 0.29997925 0.24472706 0.36490739 #> 1921-Harding 0.31941096 0.28105075 0.30945589 0.35747691 #> 1925-Coolidge 0.39034348 0.38223679 0.30479235 0.50078584 #> 1929-Hoover 0.35889887 0.33462056 0.28270830 0.41938741 #> 1933-Roosevelt 0.35239229 0.27286205 0.25027839 0.39517057 #> 1937-Roosevelt 0.29235547 0.25186500 0.27548299 0.41988816 #> 1941-Roosevelt 0.24371179 0.21941353 0.23614402 0.30751367 #> 1945-Roosevelt 0.24517021 0.17496174 0.14032175 0.21623180 #> 1949-Truman 0.30225190 0.35660840 0.22041509 0.33600041 #> 1953-Eisenhower 0.31617578 0.29114770 0.23403761 0.34051890 #> 1957-Eisenhower 0.31864422 0.31259002 0.20114379 0.30680098 #> 1961-Kennedy 0.32503436 0.26236866 0.24323532 0.29058539 #> 1965-Johnson 0.31468608 0.24119139 0.21448830 0.33133314 #> 1969-Nixon 0.28736334 0.23888377 0.20564610 0.31410797 #> 1973-Nixon 0.28802675 0.23957257 0.18671945 0.35763786 #> 1977-Carter 0.28773369 0.27187339 0.23709583 0.33507566 #> 1981-Reagan 0.32227766 0.23077254 0.22287865 0.41412633 #> 1985-Reagan 0.31092225 0.23939944 0.21768241 0.39722481 #> 1989-Bush 0.29963267 0.21940063 0.19945597 0.34696589 #> 1993-Clinton 0.25324983 0.17711943 0.18230178 0.27764780 #> 1997-Clinton 0.29715593 0.20049966 0.20214836 0.34247252 #> 2001-Bush 0.34059134 0.26399211 0.25676620 0.34741186 #> 2005-Bush 0.31063854 0.29464437 0.25295883 0.30885339 #> 2009-Obama 0.31917224 0.27270243 0.26348359 0.36473285 #> 2013-Obama 0.34179811 0.25822844 0.24743604 0.38805941 #> 2017-Trump 0.20223426 0.19890421 0.22201880 0.31234591 #> 1821-Monroe 1825-Adams 1829-Jackson 1833-Jackson 1837-VanBuren #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams 0.49041056 #> 1829-Jackson 0.41679468 0.42997604 #> 1833-Jackson 0.45924479 0.54102999 0.42916089 #> 1837-VanBuren 0.50018105 0.51265762 0.42755385 0.49319849 #> 1841-Harrison 0.54622812 0.55161851 0.47957287 0.54153318 0.61871386 #> 1845-Polk 0.54821092 0.61989088 0.48150594 0.64269156 0.55862939 #> 1849-Taylor 0.37009860 0.43256834 0.47474628 0.39750688 0.42296889 #> 1853-Pierce 0.45641937 0.53849869 0.43122525 0.49232115 0.57965778 #> 1857-Buchanan 0.55547012 0.49173291 0.45386583 0.52266377 0.52781993 #> 1861-Lincoln 0.43755241 0.48327895 0.40888225 0.50553761 0.48895444 #> 1865-Lincoln 0.31065929 0.26650084 0.21428790 0.21651684 0.25001133 #> 1869-Grant 0.37901749 0.39146017 0.33487993 0.34945557 0.42735281 #> 1873-Grant 0.43446534 0.41138195 0.31615370 0.37429592 0.43501701 #> 1877-Hayes 0.49159171 0.56397245 0.42718111 0.49620191 0.54288065 #> 1881-Garfield 0.50535620 0.53975094 0.41555346 0.53676863 0.51547190 #> 1885-Cleveland 0.38699203 0.48369131 0.47591673 0.49314903 0.51385225 #> 1889-Harrison 0.48071637 0.47523768 0.44654864 0.48110839 0.51155886 #> 1893-Cleveland 0.37024547 0.39992169 0.45015889 0.46552005 0.53399847 #> 1897-McKinley 0.52229330 0.49182176 0.45775361 0.52100488 0.56779576 #> 1901-McKinley 0.48310702 0.46645472 0.39210740 0.48870525 0.47185139 #> 1905-Roosevelt 0.31845504 0.26611097 0.22490412 0.26724883 0.39183070 #> 1909-Taft 0.45517897 0.39995112 0.38363299 0.39933451 0.45443998 #> 1913-Wilson 0.36889114 0.34506505 0.23607221 0.27891156 0.37305710 #> 1917-Wilson 0.35779417 0.37164679 0.28284437 0.33945900 0.40992713 #> 1921-Harding 0.33915787 0.33125043 0.28337424 0.35374506 0.38387678 #> 1925-Coolidge 0.45398862 0.47173335 0.36388978 0.42890936 0.50991241 #> 1929-Hoover 0.38858718 0.45167534 0.37825118 0.43381978 0.46022785 #> 1933-Roosevelt 0.36420014 0.33996311 0.35950487 0.33822243 0.41462253 #> 1937-Roosevelt 0.37394820 0.39041587 0.32679446 0.41421118 0.43887032 #> 1941-Roosevelt 0.28193064 0.28990421 0.19771635 0.27643197 0.33731804 #> 1945-Roosevelt 0.20582618 0.21596311 0.21757633 0.19428624 0.22803076 #> 1949-Truman 0.30013383 0.30259211 0.25421582 0.31074406 0.34775425 #> 1953-Eisenhower 0.30260766 0.32731697 0.28324734 0.29351017 0.38014739 #> 1957-Eisenhower 0.31745283 0.31439195 0.25460776 0.29201834 0.36487516 #> 1961-Kennedy 0.27643335 0.24110866 0.25492649 0.26425267 0.31538384 #> 1965-Johnson 0.29917458 0.32668153 0.20133860 0.32206250 0.33728324 #> 1969-Nixon 0.27786315 0.27281163 0.23825073 0.31569871 0.34334872 #> 1973-Nixon 0.29795952 0.28753771 0.23372905 0.29878473 0.34092753 #> 1977-Carter 0.27541786 0.28441748 0.25592964 0.29687495 0.35033722 #> 1981-Reagan 0.32411673 0.34735959 0.28979424 0.39831671 0.42354419 #> 1985-Reagan 0.34649317 0.36276234 0.26965979 0.39461226 0.42290206 #> 1989-Bush 0.33491998 0.27861795 0.23138180 0.27143330 0.32651050 #> 1993-Clinton 0.24803705 0.20986362 0.20817658 0.28807576 0.30749466 #> 1997-Clinton 0.31288767 0.29702299 0.22533429 0.30808661 0.39600728 #> 2001-Bush 0.30490726 0.29923443 0.26156927 0.28571966 0.38442277 #> 2005-Bush 0.31426136 0.31511422 0.24686579 0.27770481 0.35867703 #> 2009-Obama 0.31013629 0.28854418 0.26288200 0.29598439 0.41293156 #> 2013-Obama 0.34267861 0.31935387 0.27163770 0.34850301 0.43673997 #> 2017-Trump 0.30654801 0.25463252 0.19061655 0.26588277 0.35289030 #> 1841-Harrison 1845-Polk 1849-Taylor 1853-Pierce 1857-Buchanan #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk 0.64839716 #> 1849-Taylor 0.46264577 0.46399946 #> 1853-Pierce 0.59813215 0.55762715 0.43340403 #> 1857-Buchanan 0.61949895 0.63967027 0.49483171 0.51465786 #> 1861-Lincoln 0.61605178 0.61202113 0.42912350 0.53734566 0.60472824 #> 1865-Lincoln 0.22520247 0.25281528 0.24798292 0.25892035 0.29660868 #> 1869-Grant 0.41436011 0.42480012 0.36323079 0.41789432 0.44898851 #> 1873-Grant 0.47843556 0.39866759 0.35605037 0.45696371 0.43963695 #> 1877-Hayes 0.56576178 0.56663376 0.44716678 0.53915328 0.55020869 #> 1881-Garfield 0.61379431 0.60781179 0.42369649 0.55163789 0.60613601 #> 1885-Cleveland 0.53549028 0.54654147 0.48732318 0.48440390 0.51173223 #> 1889-Harrison 0.58423581 0.53895452 0.48319672 0.53783430 0.58511075 #> 1893-Cleveland 0.51728252 0.48326828 0.37751844 0.47965013 0.42552443 #> 1897-McKinley 0.61485813 0.58840082 0.46411361 0.57635557 0.57858234 #> 1901-McKinley 0.51148250 0.51011235 0.44432556 0.46111480 0.50373907 #> 1905-Roosevelt 0.33397117 0.25931930 0.23256695 0.36853941 0.27973562 #> 1909-Taft 0.50556983 0.50534098 0.39809358 0.48200986 0.47391088 #> 1913-Wilson 0.37938655 0.32993919 0.28086597 0.39923480 0.32603185 #> 1917-Wilson 0.40382699 0.34185520 0.30636179 0.46936504 0.36364115 #> 1921-Harding 0.35175317 0.35573543 0.29358998 0.42846257 0.34546398 #> 1925-Coolidge 0.52206541 0.47610572 0.34250890 0.53033395 0.44930866 #> 1929-Hoover 0.47041970 0.48978476 0.32042443 0.48627866 0.41886450 #> 1933-Roosevelt 0.41985253 0.36021929 0.32746318 0.43996437 0.39623363 #> 1937-Roosevelt 0.46286871 0.44898658 0.30505736 0.42812988 0.39678089 #> 1941-Roosevelt 0.32531398 0.27446380 0.19741165 0.33067155 0.29336262 #> 1945-Roosevelt 0.22104872 0.21174736 0.26055768 0.24661929 0.27523244 #> 1949-Truman 0.29948969 0.32365209 0.21461474 0.35769118 0.33616763 #> 1953-Eisenhower 0.36219960 0.34382384 0.28312295 0.42932874 0.37215138 #> 1957-Eisenhower 0.36183675 0.29632223 0.21737034 0.39029826 0.35543422 #> 1961-Kennedy 0.29494878 0.25860393 0.25524661 0.34480445 0.29353015 #> 1965-Johnson 0.32490266 0.29150056 0.21308454 0.36457798 0.28987786 #> 1969-Nixon 0.30844431 0.28643772 0.24318795 0.35084346 0.28712532 #> 1973-Nixon 0.27240119 0.29205210 0.26487004 0.36637267 0.27682379 #> 1977-Carter 0.34086872 0.31086138 0.22588128 0.40827909 0.28640517 #> 1981-Reagan 0.39704505 0.39458716 0.29461352 0.42757408 0.33352687 #> 1985-Reagan 0.38611376 0.39091273 0.26042358 0.40392535 0.34741805 #> 1989-Bush 0.35021814 0.29950627 0.21865980 0.36668647 0.30198229 #> 1993-Clinton 0.26424577 0.24835825 0.19793846 0.30468611 0.23844638 #> 1997-Clinton 0.33497294 0.32092603 0.23294383 0.36910962 0.28525680 #> 2001-Bush 0.35479990 0.29084406 0.25451488 0.36893800 0.30172489 #> 2005-Bush 0.37690070 0.32018957 0.20480171 0.35030587 0.32466469 #> 2009-Obama 0.34134963 0.29133409 0.27457836 0.41395089 0.31227232 #> 2013-Obama 0.38632567 0.33863308 0.24548366 0.41015032 0.31319315 #> 2017-Trump 0.33272316 0.30100161 0.22936337 0.30063010 0.29859681 #> 1861-Lincoln 1865-Lincoln 1869-Grant 1873-Grant 1877-Hayes #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln 0.26539311 #> 1869-Grant 0.40254769 0.26940619 #> 1873-Grant 0.40036268 0.23059636 0.42253163 #> 1877-Hayes 0.49578789 0.22973003 0.50075382 0.47120447 #> 1881-Garfield 0.64499634 0.25483523 0.41068831 0.46091273 0.55231719 #> 1885-Cleveland 0.48260260 0.21056342 0.36504935 0.36702825 0.52599912 #> 1889-Harrison 0.55292842 0.27821243 0.43489409 0.44359919 0.55354506 #> 1893-Cleveland 0.45937920 0.18646360 0.36675715 0.36833820 0.47821542 #> 1897-McKinley 0.55449860 0.27743450 0.48584125 0.47621427 0.61482436 #> 1901-McKinley 0.47234924 0.29687892 0.40496698 0.42136600 0.50810747 #> 1905-Roosevelt 0.23818145 0.20026160 0.25191367 0.29819548 0.29264109 #> 1909-Taft 0.50023376 0.25293313 0.40911597 0.40107768 0.48412414 #> 1913-Wilson 0.33187719 0.22562806 0.29607871 0.30535763 0.36565123 #> 1917-Wilson 0.36570436 0.30129129 0.28657102 0.32960228 0.38385023 #> 1921-Harding 0.36745858 0.30749308 0.29553168 0.34692086 0.35909462 #> 1925-Coolidge 0.50242943 0.22330986 0.40810639 0.43128044 0.51415658 #> 1929-Hoover 0.45195875 0.21021535 0.36483275 0.37251506 0.49302644 #> 1933-Roosevelt 0.41603559 0.23508990 0.33710353 0.35733607 0.36898859 #> 1937-Roosevelt 0.40953128 0.21710854 0.31709033 0.38023026 0.40628256 #> 1941-Roosevelt 0.24118077 0.20199592 0.24962533 0.25145312 0.25938036 #> 1945-Roosevelt 0.27290347 0.26591313 0.17105024 0.18934887 0.22046878 #> 1949-Truman 0.32448559 0.19312307 0.27144654 0.30746683 0.30440004 #> 1953-Eisenhower 0.33489199 0.25824105 0.29592956 0.32670141 0.36793185 #> 1957-Eisenhower 0.34618984 0.22344285 0.28473350 0.28719588 0.30516363 #> 1961-Kennedy 0.25940032 0.28799139 0.27477160 0.27512517 0.26823647 #> 1965-Johnson 0.33051942 0.30560707 0.31343860 0.31398550 0.28778820 #> 1969-Nixon 0.33611653 0.26157344 0.28435310 0.32033969 0.26002842 #> 1973-Nixon 0.27532122 0.30443069 0.27269625 0.30292322 0.28568730 #> 1977-Carter 0.34385054 0.22005028 0.27844370 0.30538356 0.29228119 #> 1981-Reagan 0.35422945 0.24356694 0.32438181 0.34066484 0.36401108 #> 1985-Reagan 0.37463715 0.29197668 0.33976936 0.35965508 0.36660633 #> 1989-Bush 0.30642604 0.23229647 0.25883642 0.32529640 0.30422480 #> 1993-Clinton 0.26764638 0.23300887 0.21864383 0.24601330 0.26319353 #> 1997-Clinton 0.29620065 0.26009491 0.30034090 0.30955217 0.31408423 #> 2001-Bush 0.26098499 0.20822040 0.33886576 0.29504183 0.36769623 #> 2005-Bush 0.29650528 0.18779175 0.30803537 0.28379626 0.32637785 #> 2009-Obama 0.30638153 0.29250023 0.34764260 0.31307232 0.31711871 #> 2013-Obama 0.34538013 0.28834591 0.34737032 0.30976937 0.37069750 #> 2017-Trump 0.28465671 0.18532582 0.29329408 0.30526099 0.31663832 #> 1881-Garfield 1885-Cleveland 1889-Harrison 1893-Cleveland #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland 0.53187232 #> 1889-Harrison 0.60780968 0.56800934 #> 1893-Cleveland 0.50865340 0.61594201 0.52171557 #> 1897-McKinley 0.59458365 0.56485375 0.63900051 0.56545142 #> 1901-McKinley 0.57592674 0.49385182 0.55433231 0.47848829 #> 1905-Roosevelt 0.34362928 0.30156839 0.33641388 0.35782661 #> 1909-Taft 0.51917761 0.42516925 0.51718434 0.43440321 #> 1913-Wilson 0.38571474 0.32434924 0.40399505 0.33685910 #> 1917-Wilson 0.40587978 0.33089482 0.40396019 0.35297458 #> 1921-Harding 0.39478748 0.36743132 0.39099738 0.36966227 #> 1925-Coolidge 0.49979611 0.43872432 0.48504945 0.46278663 #> 1929-Hoover 0.49244670 0.48237116 0.51129061 0.48267889 #> 1933-Roosevelt 0.42029290 0.36371845 0.40534655 0.40562145 #> 1937-Roosevelt 0.49175213 0.43041262 0.43583549 0.43565571 #> 1941-Roosevelt 0.33595595 0.28363932 0.32149410 0.31006478 #> 1945-Roosevelt 0.22976368 0.23660800 0.25737140 0.20887263 #> 1949-Truman 0.36361930 0.29546189 0.33033589 0.30617606 #> 1953-Eisenhower 0.37057871 0.35556548 0.41159617 0.37939393 #> 1957-Eisenhower 0.37751628 0.28309850 0.37133402 0.30219533 #> 1961-Kennedy 0.32323448 0.24671026 0.26601446 0.25934883 #> 1965-Johnson 0.37102192 0.27530459 0.34884278 0.34269856 #> 1969-Nixon 0.38660374 0.31060377 0.33724667 0.34755768 #> 1973-Nixon 0.34027233 0.31429436 0.30309362 0.30865989 #> 1977-Carter 0.38590202 0.28841100 0.33812397 0.36834001 #> 1981-Reagan 0.42649687 0.37649870 0.36079473 0.42176641 #> 1985-Reagan 0.43405290 0.37235388 0.36332580 0.41976098 #> 1989-Bush 0.36835812 0.26729287 0.34508946 0.30296834 #> 1993-Clinton 0.31552772 0.27948805 0.29106559 0.33206849 #> 1997-Clinton 0.39684798 0.33377320 0.34557495 0.36760908 #> 2001-Bush 0.32977294 0.30582236 0.32635700 0.34837311 #> 2005-Bush 0.36860783 0.26523760 0.31817274 0.29032436 #> 2009-Obama 0.38264765 0.29864148 0.35173800 0.38299271 #> 2013-Obama 0.39337211 0.34146778 0.36000694 0.41344542 #> 2017-Trump 0.31861520 0.30966079 0.31321961 0.30368882 #> 1897-McKinley 1901-McKinley 1905-Roosevelt 1909-Taft #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley 0.62347626 #> 1905-Roosevelt 0.34306364 0.35625565 #> 1909-Taft 0.60063386 0.48687135 0.26768962 #> 1913-Wilson 0.41772399 0.36577436 0.37963141 0.37954513 #> 1917-Wilson 0.46402544 0.44460573 0.41186171 0.34639756 #> 1921-Harding 0.46067461 0.43343074 0.40398865 0.43699340 #> 1925-Coolidge 0.58559298 0.48153479 0.41015628 0.53229576 #> 1929-Hoover 0.55850599 0.47808937 0.35567466 0.49913550 #> 1933-Roosevelt 0.48512947 0.42083103 0.37076151 0.41100033 #> 1937-Roosevelt 0.45562850 0.47522397 0.39508613 0.41091868 #> 1941-Roosevelt 0.30872818 0.35298243 0.39319116 0.24165433 #> 1945-Roosevelt 0.26807727 0.25502009 0.27228514 0.24334605 #> 1949-Truman 0.38619968 0.38203398 0.35410232 0.34097073 #> 1953-Eisenhower 0.42766643 0.38472955 0.40575819 0.34605382 #> 1957-Eisenhower 0.40159503 0.36429231 0.35541440 0.33774900 #> 1961-Kennedy 0.27603065 0.27833828 0.34317261 0.26247994 #> 1965-Johnson 0.35610837 0.34329665 0.40846263 0.28722158 #> 1969-Nixon 0.34153266 0.37475390 0.41523767 0.28108054 #> 1973-Nixon 0.32779708 0.36740089 0.40578063 0.29587910 #> 1977-Carter 0.36302527 0.35558119 0.39372316 0.30895953 #> 1981-Reagan 0.42537248 0.41267444 0.44499092 0.36519330 #> 1985-Reagan 0.43294811 0.44194970 0.45237741 0.35500638 #> 1989-Bush 0.37209682 0.37004222 0.42552051 0.33436675 #> 1993-Clinton 0.36341869 0.33030734 0.38735016 0.29633799 #> 1997-Clinton 0.36191296 0.36986832 0.44650231 0.31116004 #> 2001-Bush 0.35014770 0.32033719 0.39862012 0.29354921 #> 2005-Bush 0.33860540 0.34300090 0.30490461 0.29199790 #> 2009-Obama 0.36794304 0.38735086 0.46932976 0.32551229 #> 2013-Obama 0.43696201 0.41513648 0.44186171 0.35561853 #> 2017-Trump 0.36069815 0.30880270 0.28402536 0.27929338 #> 1913-Wilson 1917-Wilson 1921-Harding 1925-Coolidge 1929-Hoover #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley #> 1905-Roosevelt #> 1909-Taft #> 1913-Wilson #> 1917-Wilson 0.43849137 #> 1921-Harding 0.35744522 0.42282129 #> 1925-Coolidge 0.44710395 0.44479040 0.55447128 #> 1929-Hoover 0.40715602 0.42373206 0.54199282 0.60451250 #> 1933-Roosevelt 0.36983868 0.42376427 0.45928422 0.47907248 0.42207401 #> 1937-Roosevelt 0.46046429 0.42101849 0.43364517 0.46938720 0.52596359 #> 1941-Roosevelt 0.34210952 0.36295461 0.38586009 0.34921315 0.36486557 #> 1945-Roosevelt 0.26084314 0.34962097 0.33017211 0.30802128 0.30641656 #> 1949-Truman 0.27099816 0.43127013 0.48445149 0.51198033 0.47759122 #> 1953-Eisenhower 0.31992133 0.47999980 0.47444444 0.47340019 0.44523355 #> 1957-Eisenhower 0.32573729 0.42788734 0.50108255 0.50903025 0.46675977 #> 1961-Kennedy 0.27773374 0.37330419 0.38172086 0.38188284 0.31179386 #> 1965-Johnson 0.38069826 0.35531063 0.41856677 0.42444093 0.36518960 #> 1969-Nixon 0.33721466 0.43048094 0.44405638 0.44700288 0.38982785 #> 1973-Nixon 0.33585310 0.40150499 0.46657315 0.45756009 0.42176825 #> 1977-Carter 0.31719188 0.36750583 0.44681028 0.46485483 0.42156590 #> 1981-Reagan 0.36067122 0.38688360 0.45140759 0.47516694 0.45345018 #> 1985-Reagan 0.35852524 0.41348277 0.49924811 0.48659256 0.45723197 #> 1989-Bush 0.40266534 0.39571072 0.44910632 0.47292479 0.40317998 #> 1993-Clinton 0.28024813 0.35315792 0.52800245 0.43434415 0.38730565 #> 1997-Clinton 0.37968651 0.37672752 0.45814147 0.42145500 0.38953781 #> 2001-Bush 0.33341604 0.36211896 0.41911834 0.44043890 0.40916822 #> 2005-Bush 0.30241968 0.31665079 0.41042658 0.43722569 0.38514494 #> 2009-Obama 0.40020967 0.44656550 0.46025947 0.45680612 0.40345834 #> 2013-Obama 0.34220621 0.40526300 0.46972068 0.46759481 0.40486351 #> 2017-Trump 0.30972551 0.29754819 0.40852504 0.40530824 0.33803689 #> 1933-Roosevelt 1937-Roosevelt 1941-Roosevelt 1945-Roosevelt #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley #> 1905-Roosevelt #> 1909-Taft #> 1913-Wilson #> 1917-Wilson #> 1921-Harding #> 1925-Coolidge #> 1929-Hoover #> 1933-Roosevelt #> 1937-Roosevelt 0.41636254 #> 1941-Roosevelt 0.33731285 0.43882494 #> 1945-Roosevelt 0.29626704 0.33358147 0.23990429 #> 1949-Truman 0.36900702 0.40795246 0.37853094 0.35357584 #> 1953-Eisenhower 0.36760871 0.38924566 0.40276825 0.39711612 #> 1957-Eisenhower 0.38293658 0.36486972 0.36064679 0.35579059 #> 1961-Kennedy 0.33481621 0.32174983 0.30908795 0.30148527 #> 1965-Johnson 0.37875254 0.39912125 0.42711980 0.28695343 #> 1969-Nixon 0.38433497 0.45060012 0.42853047 0.36501094 #> 1973-Nixon 0.33443210 0.40309315 0.36312304 0.33521858 #> 1977-Carter 0.38722915 0.42093954 0.43727173 0.24821987 #> 1981-Reagan 0.40321672 0.44659212 0.41608862 0.27585141 #> 1985-Reagan 0.41641159 0.46356172 0.45092833 0.32514474 #> 1989-Bush 0.42075775 0.46470281 0.43885426 0.32980110 #> 1993-Clinton 0.38338836 0.37287484 0.40029515 0.28975633 #> 1997-Clinton 0.38055782 0.46525678 0.45219119 0.25500616 #> 2001-Bush 0.34343895 0.39649938 0.41920231 0.26816892 #> 2005-Bush 0.32211066 0.34900759 0.46695904 0.26661587 #> 2009-Obama 0.43971002 0.44844599 0.48066756 0.31353533 #> 2013-Obama 0.41287010 0.41926353 0.45282712 0.31938209 #> 2017-Trump 0.29206480 0.37019305 0.36393663 0.21110979 #> 1949-Truman 1953-Eisenhower 1957-Eisenhower 1961-Kennedy #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley #> 1905-Roosevelt #> 1909-Taft #> 1913-Wilson #> 1917-Wilson #> 1921-Harding #> 1925-Coolidge #> 1929-Hoover #> 1933-Roosevelt #> 1937-Roosevelt #> 1941-Roosevelt #> 1945-Roosevelt #> 1949-Truman #> 1953-Eisenhower 0.55997896 #> 1957-Eisenhower 0.58960501 0.56979604 #> 1961-Kennedy 0.41691061 0.43637463 0.40669785 #> 1965-Johnson 0.38614288 0.40811470 0.42151254 0.38533567 #> 1969-Nixon 0.46357869 0.46689227 0.45457987 0.52772469 #> 1973-Nixon 0.43133151 0.43530190 0.40994142 0.55134860 #> 1977-Carter 0.43364155 0.42241540 0.41778484 0.43173213 #> 1981-Reagan 0.41207693 0.46025402 0.39034033 0.47087022 #> 1985-Reagan 0.47864465 0.48368287 0.44876845 0.48347724 #> 1989-Bush 0.44449353 0.49019616 0.45102763 0.46566637 #> 1993-Clinton 0.40775070 0.41502111 0.42488056 0.45620998 #> 1997-Clinton 0.36944224 0.40948553 0.37108164 0.48069030 #> 2001-Bush 0.34014687 0.42785879 0.35943469 0.41163941 #> 2005-Bush 0.44837083 0.47418060 0.45793937 0.38854759 #> 2009-Obama 0.41151575 0.46852944 0.45267158 0.50914156 #> 2013-Obama 0.43365594 0.47754865 0.41780885 0.42817665 #> 2017-Trump 0.31441657 0.32291811 0.33327189 0.32370213 #> 1965-Johnson 1969-Nixon 1973-Nixon 1977-Carter 1981-Reagan #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley #> 1905-Roosevelt #> 1909-Taft #> 1913-Wilson #> 1917-Wilson #> 1921-Harding #> 1925-Coolidge #> 1929-Hoover #> 1933-Roosevelt #> 1937-Roosevelt #> 1941-Roosevelt #> 1945-Roosevelt #> 1949-Truman #> 1953-Eisenhower #> 1957-Eisenhower #> 1961-Kennedy #> 1965-Johnson #> 1969-Nixon 0.48219641 #> 1973-Nixon 0.42568119 0.63075399 #> 1977-Carter 0.46898127 0.52723339 0.52125482 #> 1981-Reagan 0.48898322 0.54283212 0.53507686 0.49373303 #> 1985-Reagan 0.54608872 0.61319195 0.60869214 0.52419428 0.68853755 #> 1989-Bush 0.48445071 0.54980853 0.52585385 0.51489765 0.53422271 #> 1993-Clinton 0.53266534 0.51649051 0.55952627 0.48601114 0.55882427 #> 1997-Clinton 0.55824015 0.56163323 0.63041739 0.54351837 0.56204855 #> 2001-Bush 0.43316804 0.42890963 0.45007440 0.44177546 0.49723890 #> 2005-Bush 0.42980974 0.38583967 0.38097456 0.41190362 0.45772049 #> 2009-Obama 0.53980818 0.57894092 0.58704876 0.53126811 0.57684859 #> 2013-Obama 0.54613258 0.52032048 0.52076527 0.52135354 0.60541808 #> 2017-Trump 0.39972221 0.41978221 0.40194117 0.36198248 0.42342726 #> 1985-Reagan 1989-Bush 1993-Clinton 1997-Clinton 2001-Bush #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley #> 1905-Roosevelt #> 1909-Taft #> 1913-Wilson #> 1917-Wilson #> 1921-Harding #> 1925-Coolidge #> 1929-Hoover #> 1933-Roosevelt #> 1937-Roosevelt #> 1941-Roosevelt #> 1945-Roosevelt #> 1949-Truman #> 1953-Eisenhower #> 1957-Eisenhower #> 1961-Kennedy #> 1965-Johnson #> 1969-Nixon #> 1973-Nixon #> 1977-Carter #> 1981-Reagan #> 1985-Reagan #> 1989-Bush 0.55698251 #> 1993-Clinton 0.59293824 0.54631952 #> 1997-Clinton 0.64090868 0.57239381 0.62580466 #> 2001-Bush 0.49513346 0.49823572 0.47751095 0.54425292 #> 2005-Bush 0.51132317 0.45566968 0.43961068 0.43551695 0.52043546 #> 2009-Obama 0.58925565 0.57215348 0.59258204 0.62979733 0.54116494 #> 2013-Obama 0.63317292 0.52903301 0.59979927 0.61218085 0.55619724 #> 2017-Trump 0.47342606 0.45304070 0.49824651 0.49474570 0.45189354 #> 2005-Bush 2009-Obama 2013-Obama #> 1793-Washington #> 1797-Adams #> 1801-Jefferson #> 1805-Jefferson #> 1809-Madison #> 1813-Madison #> 1817-Monroe #> 1821-Monroe #> 1825-Adams #> 1829-Jackson #> 1833-Jackson #> 1837-VanBuren #> 1841-Harrison #> 1845-Polk #> 1849-Taylor #> 1853-Pierce #> 1857-Buchanan #> 1861-Lincoln #> 1865-Lincoln #> 1869-Grant #> 1873-Grant #> 1877-Hayes #> 1881-Garfield #> 1885-Cleveland #> 1889-Harrison #> 1893-Cleveland #> 1897-McKinley #> 1901-McKinley #> 1905-Roosevelt #> 1909-Taft #> 1913-Wilson #> 1917-Wilson #> 1921-Harding #> 1925-Coolidge #> 1929-Hoover #> 1933-Roosevelt #> 1937-Roosevelt #> 1941-Roosevelt #> 1945-Roosevelt #> 1949-Truman #> 1953-Eisenhower #> 1957-Eisenhower #> 1961-Kennedy #> 1965-Johnson #> 1969-Nixon #> 1973-Nixon #> 1977-Carter #> 1981-Reagan #> 1985-Reagan #> 1989-Bush #> 1993-Clinton #> 1997-Clinton #> 2001-Bush #> 2005-Bush #> 2009-Obama 0.45752973 #> 2013-Obama 0.51636443 0.63733180 #> 2017-Trump 0.43490302 0.44819498 0.45469454
as.matrix(s1)
#> 1789-Washington 1793-Washington 1797-Adams 1801-Jefferson #> 1789-Washington 1.0000000 0.24034815 0.4727404 0.3965387 #> 1793-Washington 0.2403482 1.00000000 0.2445022 0.2336258 #> 1797-Adams 0.4727404 0.24450220 1.0000000 0.4330564 #> 1801-Jefferson 0.3965387 0.23362585 0.4330564 1.0000000 #> 1805-Jefferson 0.4078066 0.22468244 0.4147702 0.4698814 #> 1809-Madison 0.3465911 0.11292426 0.4157776 0.3390461 #> 1813-Madison 0.2989348 0.16891685 0.3302836 0.2574937 #> 1817-Monroe 0.4846014 0.19685585 0.5530882 0.4284160 #> 1821-Monroe 0.4323771 0.21146735 0.4789038 0.3820065 #> 1825-Adams 0.4054455 0.19837997 0.5131715 0.4418791 #> 1829-Jackson 0.4168405 0.25852339 0.4677588 0.3788433 #> 1833-Jackson 0.4217155 0.25473796 0.5153468 0.4404977 #> 1837-VanBuren 0.4887766 0.25768226 0.5493764 0.4512661 #> 1841-Harrison 0.4950030 0.26644514 0.5969216 0.4732221 #> 1845-Polk 0.4757382 0.24050134 0.5359657 0.4623056 #> 1849-Taylor 0.3737432 0.38060783 0.4184968 0.3908681 #> 1853-Pierce 0.4457685 0.24142425 0.4809946 0.4473907 #> 1857-Buchanan 0.4495999 0.31964858 0.5795111 0.4271501 #> 1861-Lincoln 0.4390104 0.33454524 0.5052006 0.4043596 #> 1865-Lincoln 0.2025278 0.15149733 0.1983089 0.2586492 #> 1869-Grant 0.3696706 0.24805857 0.4068049 0.3562158 #> 1873-Grant 0.3524557 0.20319496 0.4208325 0.3507179 #> 1877-Hayes 0.4462200 0.26934189 0.5190976 0.4149280 #> 1881-Garfield 0.4164610 0.26909563 0.5639119 0.4198924 #> 1885-Cleveland 0.4313620 0.32365196 0.5350306 0.4357210 #> 1889-Harrison 0.3971131 0.29023848 0.5519249 0.3826020 #> 1893-Cleveland 0.4354953 0.22895195 0.4804623 0.4018160 #> 1897-McKinley 0.4619723 0.29564744 0.5502254 0.3866672 #> 1901-McKinley 0.3729026 0.25976322 0.4914204 0.3774343 #> 1905-Roosevelt 0.2369995 0.09349731 0.3297416 0.3236401 #> 1909-Taft 0.3987867 0.22563965 0.4332924 0.3706912 #> 1913-Wilson 0.3276281 0.14964806 0.3569275 0.3219044 #> 1917-Wilson 0.2744406 0.20882968 0.3540174 0.3368613 #> 1921-Harding 0.3334401 0.17328670 0.3878982 0.3601224 #> 1925-Coolidge 0.4216351 0.16785751 0.5136704 0.4245293 #> 1929-Hoover 0.3744054 0.19149175 0.5070120 0.3866673 #> 1933-Roosevelt 0.3868001 0.18983023 0.3916554 0.3308561 #> 1937-Roosevelt 0.3639490 0.19137869 0.4620706 0.3672647 #> 1941-Roosevelt 0.2427562 0.11164501 0.3868246 0.2899746 #> 1945-Roosevelt 0.1865474 0.22905385 0.2173591 0.2649384 #> 1949-Truman 0.2754582 0.12034135 0.3875288 0.3046831 #> 1953-Eisenhower 0.2849542 0.17072907 0.3675941 0.3994105 #> 1957-Eisenhower 0.2658538 0.14894786 0.4166209 0.3413371 #> 1961-Kennedy 0.2776496 0.14882051 0.2721932 0.4112791 #> 1965-Johnson 0.2699161 0.11589319 0.3028871 0.3444805 #> 1969-Nixon 0.2565433 0.15478782 0.3354615 0.3834961 #> 1973-Nixon 0.2659431 0.12543622 0.3162196 0.4039554 #> 1977-Carter 0.3074803 0.12159459 0.3575112 0.3166596 #> 1981-Reagan 0.3184932 0.18078041 0.3604570 0.4468190 #> 1985-Reagan 0.3099476 0.15666667 0.3518366 0.4299841 #> 1989-Bush 0.3009686 0.10323314 0.3371522 0.3548621 #> 1993-Clinton 0.2426902 0.14759571 0.2906913 0.3009083 #> 1997-Clinton 0.3008832 0.12265128 0.3202352 0.3815699 #> 2001-Bush 0.3339442 0.13386242 0.3308235 0.3473577 #> 2005-Bush 0.3207017 0.14795231 0.3542807 0.3382253 #> 2009-Obama 0.3194943 0.13852677 0.3407316 0.3880120 #> 2013-Obama 0.3266718 0.16938815 0.3548880 0.3814785 #> 2017-Trump 0.2920311 0.19457268 0.3526032 0.2495679 #> 1805-Jefferson 1809-Madison 1813-Madison 1817-Monroe #> 1789-Washington 0.4078066 0.3465911 0.2989348 0.4846014 #> 1793-Washington 0.2246824 0.1129243 0.1689168 0.1968558 #> 1797-Adams 0.4147702 0.4157776 0.3302836 0.5530882 #> 1801-Jefferson 0.4698814 0.3390461 0.2574937 0.4284160 #> 1805-Jefferson 1.0000000 0.4009151 0.2824857 0.4570969 #> 1809-Madison 0.4009151 1.0000000 0.3184664 0.4359321 #> 1813-Madison 0.2824857 0.3184664 1.0000000 0.4031643 #> 1817-Monroe 0.4570969 0.4359321 0.4031643 1.0000000 #> 1821-Monroe 0.4510927 0.3769666 0.4241582 0.6780122 #> 1825-Adams 0.4266013 0.4187171 0.3012266 0.5478671 #> 1829-Jackson 0.4469649 0.3916429 0.2523744 0.4774317 #> 1833-Jackson 0.3865863 0.3367252 0.2755251 0.5525851 #> 1837-VanBuren 0.4390293 0.4062390 0.3550724 0.5729634 #> 1841-Harrison 0.4511929 0.3846047 0.3284921 0.5732627 #> 1845-Polk 0.4591937 0.3838703 0.3433127 0.6351642 #> 1849-Taylor 0.3728549 0.2931447 0.2302868 0.4596575 #> 1853-Pierce 0.4223593 0.4074361 0.2824157 0.5158348 #> 1857-Buchanan 0.4532646 0.3534408 0.3530153 0.5960904 #> 1861-Lincoln 0.3898931 0.3086737 0.2600458 0.4889075 #> 1865-Lincoln 0.2678333 0.1575984 0.3386436 0.2938100 #> 1869-Grant 0.3750637 0.3372091 0.2998153 0.4284747 #> 1873-Grant 0.3129751 0.3130805 0.2775690 0.4320012 #> 1877-Hayes 0.4226873 0.3805804 0.3142280 0.5478872 #> 1881-Garfield 0.3747465 0.3430237 0.3094660 0.5514997 #> 1885-Cleveland 0.4177469 0.3039879 0.2621456 0.5063416 #> 1889-Harrison 0.4300174 0.3627096 0.2982264 0.5337781 #> 1893-Cleveland 0.3554303 0.2935477 0.2689661 0.4817436 #> 1897-McKinley 0.3874217 0.3538514 0.3219408 0.5565795 #> 1901-McKinley 0.3549842 0.3400705 0.3771536 0.5181861 #> 1905-Roosevelt 0.2902749 0.2297446 0.1878713 0.3433276 #> 1909-Taft 0.3584920 0.2937813 0.2749420 0.4617145 #> 1913-Wilson 0.2634138 0.2182033 0.2075463 0.3786985 #> 1917-Wilson 0.3365639 0.2999792 0.2447271 0.3649074 #> 1921-Harding 0.3194110 0.2810508 0.3094559 0.3574769 #> 1925-Coolidge 0.3903435 0.3822368 0.3047923 0.5007858 #> 1929-Hoover 0.3588989 0.3346206 0.2827083 0.4193874 #> 1933-Roosevelt 0.3523923 0.2728620 0.2502784 0.3951706 #> 1937-Roosevelt 0.2923555 0.2518650 0.2754830 0.4198882 #> 1941-Roosevelt 0.2437118 0.2194135 0.2361440 0.3075137 #> 1945-Roosevelt 0.2451702 0.1749617 0.1403217 0.2162318 #> 1949-Truman 0.3022519 0.3566084 0.2204151 0.3360004 #> 1953-Eisenhower 0.3161758 0.2911477 0.2340376 0.3405189 #> 1957-Eisenhower 0.3186442 0.3125900 0.2011438 0.3068010 #> 1961-Kennedy 0.3250344 0.2623687 0.2432353 0.2905854 #> 1965-Johnson 0.3146861 0.2411914 0.2144883 0.3313331 #> 1969-Nixon 0.2873633 0.2388838 0.2056461 0.3141080 #> 1973-Nixon 0.2880267 0.2395726 0.1867194 0.3576379 #> 1977-Carter 0.2877337 0.2718734 0.2370958 0.3350757 #> 1981-Reagan 0.3222777 0.2307725 0.2228786 0.4141263 #> 1985-Reagan 0.3109222 0.2393994 0.2176824 0.3972248 #> 1989-Bush 0.2996327 0.2194006 0.1994560 0.3469659 #> 1993-Clinton 0.2532498 0.1771194 0.1823018 0.2776478 #> 1997-Clinton 0.2971559 0.2004997 0.2021484 0.3424725 #> 2001-Bush 0.3405913 0.2639921 0.2567662 0.3474119 #> 2005-Bush 0.3106385 0.2946444 0.2529588 0.3088534 #> 2009-Obama 0.3191722 0.2727024 0.2634836 0.3647328 #> 2013-Obama 0.3417981 0.2582284 0.2474360 0.3880594 #> 2017-Trump 0.2022343 0.1989042 0.2220188 0.3123459 #> 1821-Monroe 1825-Adams 1829-Jackson 1833-Jackson 1837-VanBuren #> 1789-Washington 0.4323771 0.4054455 0.4168405 0.4217155 0.4887766 #> 1793-Washington 0.2114673 0.1983800 0.2585234 0.2547380 0.2576823 #> 1797-Adams 0.4789038 0.5131715 0.4677588 0.5153468 0.5493764 #> 1801-Jefferson 0.3820065 0.4418791 0.3788433 0.4404977 0.4512661 #> 1805-Jefferson 0.4510927 0.4266013 0.4469649 0.3865863 0.4390293 #> 1809-Madison 0.3769666 0.4187171 0.3916429 0.3367252 0.4062390 #> 1813-Madison 0.4241582 0.3012266 0.2523744 0.2755251 0.3550724 #> 1817-Monroe 0.6780122 0.5478671 0.4774317 0.5525851 0.5729634 #> 1821-Monroe 1.0000000 0.4904106 0.4167947 0.4592448 0.5001810 #> 1825-Adams 0.4904106 1.0000000 0.4299760 0.5410300 0.5126576 #> 1829-Jackson 0.4167947 0.4299760 1.0000000 0.4291609 0.4275538 #> 1833-Jackson 0.4592448 0.5410300 0.4291609 1.0000000 0.4931985 #> 1837-VanBuren 0.5001810 0.5126576 0.4275538 0.4931985 1.0000000 #> 1841-Harrison 0.5462281 0.5516185 0.4795729 0.5415332 0.6187139 #> 1845-Polk 0.5482109 0.6198909 0.4815059 0.6426916 0.5586294 #> 1849-Taylor 0.3700986 0.4325683 0.4747463 0.3975069 0.4229689 #> 1853-Pierce 0.4564194 0.5384987 0.4312252 0.4923211 0.5796578 #> 1857-Buchanan 0.5554701 0.4917329 0.4538658 0.5226638 0.5278199 #> 1861-Lincoln 0.4375524 0.4832790 0.4088823 0.5055376 0.4889544 #> 1865-Lincoln 0.3106593 0.2665008 0.2142879 0.2165168 0.2500113 #> 1869-Grant 0.3790175 0.3914602 0.3348799 0.3494556 0.4273528 #> 1873-Grant 0.4344653 0.4113819 0.3161537 0.3742959 0.4350170 #> 1877-Hayes 0.4915917 0.5639725 0.4271811 0.4962019 0.5428807 #> 1881-Garfield 0.5053562 0.5397509 0.4155535 0.5367686 0.5154719 #> 1885-Cleveland 0.3869920 0.4836913 0.4759167 0.4931490 0.5138522 #> 1889-Harrison 0.4807164 0.4752377 0.4465486 0.4811084 0.5115589 #> 1893-Cleveland 0.3702455 0.3999217 0.4501589 0.4655200 0.5339985 #> 1897-McKinley 0.5222933 0.4918218 0.4577536 0.5210049 0.5677958 #> 1901-McKinley 0.4831070 0.4664547 0.3921074 0.4887053 0.4718514 #> 1905-Roosevelt 0.3184550 0.2661110 0.2249041 0.2672488 0.3918307 #> 1909-Taft 0.4551790 0.3999511 0.3836330 0.3993345 0.4544400 #> 1913-Wilson 0.3688911 0.3450651 0.2360722 0.2789116 0.3730571 #> 1917-Wilson 0.3577942 0.3716468 0.2828444 0.3394590 0.4099271 #> 1921-Harding 0.3391579 0.3312504 0.2833742 0.3537451 0.3838768 #> 1925-Coolidge 0.4539886 0.4717333 0.3638898 0.4289094 0.5099124 #> 1929-Hoover 0.3885872 0.4516753 0.3782512 0.4338198 0.4602279 #> 1933-Roosevelt 0.3642001 0.3399631 0.3595049 0.3382224 0.4146225 #> 1937-Roosevelt 0.3739482 0.3904159 0.3267945 0.4142112 0.4388703 #> 1941-Roosevelt 0.2819306 0.2899042 0.1977163 0.2764320 0.3373180 #> 1945-Roosevelt 0.2058262 0.2159631 0.2175763 0.1942862 0.2280308 #> 1949-Truman 0.3001338 0.3025921 0.2542158 0.3107441 0.3477542 #> 1953-Eisenhower 0.3026077 0.3273170 0.2832473 0.2935102 0.3801474 #> 1957-Eisenhower 0.3174528 0.3143919 0.2546078 0.2920183 0.3648752 #> 1961-Kennedy 0.2764333 0.2411087 0.2549265 0.2642527 0.3153838 #> 1965-Johnson 0.2991746 0.3266815 0.2013386 0.3220625 0.3372832 #> 1969-Nixon 0.2778631 0.2728116 0.2382507 0.3156987 0.3433487 #> 1973-Nixon 0.2979595 0.2875377 0.2337291 0.2987847 0.3409275 #> 1977-Carter 0.2754179 0.2844175 0.2559296 0.2968750 0.3503372 #> 1981-Reagan 0.3241167 0.3473596 0.2897942 0.3983167 0.4235442 #> 1985-Reagan 0.3464932 0.3627623 0.2696598 0.3946123 0.4229021 #> 1989-Bush 0.3349200 0.2786179 0.2313818 0.2714333 0.3265105 #> 1993-Clinton 0.2480370 0.2098636 0.2081766 0.2880758 0.3074947 #> 1997-Clinton 0.3128877 0.2970230 0.2253343 0.3080866 0.3960073 #> 2001-Bush 0.3049073 0.2992344 0.2615693 0.2857197 0.3844228 #> 2005-Bush 0.3142614 0.3151142 0.2468658 0.2777048 0.3586770 #> 2009-Obama 0.3101363 0.2885442 0.2628820 0.2959844 0.4129316 #> 2013-Obama 0.3426786 0.3193539 0.2716377 0.3485030 0.4367400 #> 2017-Trump 0.3065480 0.2546325 0.1906166 0.2658828 0.3528903 #> 1841-Harrison 1845-Polk 1849-Taylor 1853-Pierce 1857-Buchanan #> 1789-Washington 0.4950030 0.4757382 0.3737432 0.4457685 0.4495999 #> 1793-Washington 0.2664451 0.2405013 0.3806078 0.2414243 0.3196486 #> 1797-Adams 0.5969216 0.5359657 0.4184968 0.4809946 0.5795111 #> 1801-Jefferson 0.4732221 0.4623056 0.3908681 0.4473907 0.4271501 #> 1805-Jefferson 0.4511929 0.4591937 0.3728549 0.4223593 0.4532646 #> 1809-Madison 0.3846047 0.3838703 0.2931447 0.4074361 0.3534408 #> 1813-Madison 0.3284921 0.3433127 0.2302868 0.2824157 0.3530153 #> 1817-Monroe 0.5732627 0.6351642 0.4596575 0.5158348 0.5960904 #> 1821-Monroe 0.5462281 0.5482109 0.3700986 0.4564194 0.5554701 #> 1825-Adams 0.5516185 0.6198909 0.4325683 0.5384987 0.4917329 #> 1829-Jackson 0.4795729 0.4815059 0.4747463 0.4312252 0.4538658 #> 1833-Jackson 0.5415332 0.6426916 0.3975069 0.4923211 0.5226638 #> 1837-VanBuren 0.6187139 0.5586294 0.4229689 0.5796578 0.5278199 #> 1841-Harrison 1.0000000 0.6483972 0.4626458 0.5981321 0.6194990 #> 1845-Polk 0.6483972 1.0000000 0.4639995 0.5576272 0.6396703 #> 1849-Taylor 0.4626458 0.4639995 1.0000000 0.4334040 0.4948317 #> 1853-Pierce 0.5981321 0.5576272 0.4334040 1.0000000 0.5146579 #> 1857-Buchanan 0.6194990 0.6396703 0.4948317 0.5146579 1.0000000 #> 1861-Lincoln 0.6160518 0.6120211 0.4291235 0.5373457 0.6047282 #> 1865-Lincoln 0.2252025 0.2528153 0.2479829 0.2589203 0.2966087 #> 1869-Grant 0.4143601 0.4248001 0.3632308 0.4178943 0.4489885 #> 1873-Grant 0.4784356 0.3986676 0.3560504 0.4569637 0.4396369 #> 1877-Hayes 0.5657618 0.5666338 0.4471668 0.5391533 0.5502087 #> 1881-Garfield 0.6137943 0.6078118 0.4236965 0.5516379 0.6061360 #> 1885-Cleveland 0.5354903 0.5465415 0.4873232 0.4844039 0.5117322 #> 1889-Harrison 0.5842358 0.5389545 0.4831967 0.5378343 0.5851107 #> 1893-Cleveland 0.5172825 0.4832683 0.3775184 0.4796501 0.4255244 #> 1897-McKinley 0.6148581 0.5884008 0.4641136 0.5763556 0.5785823 #> 1901-McKinley 0.5114825 0.5101124 0.4443256 0.4611148 0.5037391 #> 1905-Roosevelt 0.3339712 0.2593193 0.2325670 0.3685394 0.2797356 #> 1909-Taft 0.5055698 0.5053410 0.3980936 0.4820099 0.4739109 #> 1913-Wilson 0.3793866 0.3299392 0.2808660 0.3992348 0.3260319 #> 1917-Wilson 0.4038270 0.3418552 0.3063618 0.4693650 0.3636412 #> 1921-Harding 0.3517532 0.3557354 0.2935900 0.4284626 0.3454640 #> 1925-Coolidge 0.5220654 0.4761057 0.3425089 0.5303339 0.4493087 #> 1929-Hoover 0.4704197 0.4897848 0.3204244 0.4862787 0.4188645 #> 1933-Roosevelt 0.4198525 0.3602193 0.3274632 0.4399644 0.3962336 #> 1937-Roosevelt 0.4628687 0.4489866 0.3050574 0.4281299 0.3967809 #> 1941-Roosevelt 0.3253140 0.2744638 0.1974117 0.3306715 0.2933626 #> 1945-Roosevelt 0.2210487 0.2117474 0.2605577 0.2466193 0.2752324 #> 1949-Truman 0.2994897 0.3236521 0.2146147 0.3576912 0.3361676 #> 1953-Eisenhower 0.3621996 0.3438238 0.2831229 0.4293287 0.3721514 #> 1957-Eisenhower 0.3618367 0.2963222 0.2173703 0.3902983 0.3554342 #> 1961-Kennedy 0.2949488 0.2586039 0.2552466 0.3448044 0.2935301 #> 1965-Johnson 0.3249027 0.2915006 0.2130845 0.3645780 0.2898779 #> 1969-Nixon 0.3084443 0.2864377 0.2431879 0.3508435 0.2871253 #> 1973-Nixon 0.2724012 0.2920521 0.2648700 0.3663727 0.2768238 #> 1977-Carter 0.3408687 0.3108614 0.2258813 0.4082791 0.2864052 #> 1981-Reagan 0.3970450 0.3945872 0.2946135 0.4275741 0.3335269 #> 1985-Reagan 0.3861138 0.3909127 0.2604236 0.4039254 0.3474181 #> 1989-Bush 0.3502181 0.2995063 0.2186598 0.3666865 0.3019823 #> 1993-Clinton 0.2642458 0.2483582 0.1979385 0.3046861 0.2384464 #> 1997-Clinton 0.3349729 0.3209260 0.2329438 0.3691096 0.2852568 #> 2001-Bush 0.3547999 0.2908441 0.2545149 0.3689380 0.3017249 #> 2005-Bush 0.3769007 0.3201896 0.2048017 0.3503059 0.3246647 #> 2009-Obama 0.3413496 0.2913341 0.2745784 0.4139509 0.3122723 #> 2013-Obama 0.3863257 0.3386331 0.2454837 0.4101503 0.3131931 #> 2017-Trump 0.3327232 0.3010016 0.2293634 0.3006301 0.2985968 #> 1861-Lincoln 1865-Lincoln 1869-Grant 1873-Grant 1877-Hayes #> 1789-Washington 0.4390104 0.2025278 0.3696706 0.3524557 0.4462200 #> 1793-Washington 0.3345452 0.1514973 0.2480586 0.2031950 0.2693419 #> 1797-Adams 0.5052006 0.1983089 0.4068049 0.4208325 0.5190976 #> 1801-Jefferson 0.4043596 0.2586492 0.3562158 0.3507179 0.4149280 #> 1805-Jefferson 0.3898931 0.2678333 0.3750637 0.3129751 0.4226873 #> 1809-Madison 0.3086737 0.1575984 0.3372091 0.3130805 0.3805804 #> 1813-Madison 0.2600458 0.3386436 0.2998153 0.2775690 0.3142280 #> 1817-Monroe 0.4889075 0.2938100 0.4284747 0.4320012 0.5478872 #> 1821-Monroe 0.4375524 0.3106593 0.3790175 0.4344653 0.4915917 #> 1825-Adams 0.4832790 0.2665008 0.3914602 0.4113819 0.5639725 #> 1829-Jackson 0.4088823 0.2142879 0.3348799 0.3161537 0.4271811 #> 1833-Jackson 0.5055376 0.2165168 0.3494556 0.3742959 0.4962019 #> 1837-VanBuren 0.4889544 0.2500113 0.4273528 0.4350170 0.5428807 #> 1841-Harrison 0.6160518 0.2252025 0.4143601 0.4784356 0.5657618 #> 1845-Polk 0.6120211 0.2528153 0.4248001 0.3986676 0.5666338 #> 1849-Taylor 0.4291235 0.2479829 0.3632308 0.3560504 0.4471668 #> 1853-Pierce 0.5373457 0.2589203 0.4178943 0.4569637 0.5391533 #> 1857-Buchanan 0.6047282 0.2966087 0.4489885 0.4396369 0.5502087 #> 1861-Lincoln 1.0000000 0.2653931 0.4025477 0.4003627 0.4957879 #> 1865-Lincoln 0.2653931 1.0000000 0.2694062 0.2305964 0.2297300 #> 1869-Grant 0.4025477 0.2694062 1.0000000 0.4225316 0.5007538 #> 1873-Grant 0.4003627 0.2305964 0.4225316 1.0000000 0.4712045 #> 1877-Hayes 0.4957879 0.2297300 0.5007538 0.4712045 1.0000000 #> 1881-Garfield 0.6449963 0.2548352 0.4106883 0.4609127 0.5523172 #> 1885-Cleveland 0.4826026 0.2105634 0.3650494 0.3670283 0.5259991 #> 1889-Harrison 0.5529284 0.2782124 0.4348941 0.4435992 0.5535451 #> 1893-Cleveland 0.4593792 0.1864636 0.3667572 0.3683382 0.4782154 #> 1897-McKinley 0.5544986 0.2774345 0.4858413 0.4762143 0.6148244 #> 1901-McKinley 0.4723492 0.2968789 0.4049670 0.4213660 0.5081075 #> 1905-Roosevelt 0.2381815 0.2002616 0.2519137 0.2981955 0.2926411 #> 1909-Taft 0.5002338 0.2529331 0.4091160 0.4010777 0.4841241 #> 1913-Wilson 0.3318772 0.2256281 0.2960787 0.3053576 0.3656512 #> 1917-Wilson 0.3657044 0.3012913 0.2865710 0.3296023 0.3838502 #> 1921-Harding 0.3674586 0.3074931 0.2955317 0.3469209 0.3590946 #> 1925-Coolidge 0.5024294 0.2233099 0.4081064 0.4312804 0.5141566 #> 1929-Hoover 0.4519587 0.2102154 0.3648327 0.3725151 0.4930264 #> 1933-Roosevelt 0.4160356 0.2350899 0.3371035 0.3573361 0.3689886 #> 1937-Roosevelt 0.4095313 0.2171085 0.3170903 0.3802303 0.4062826 #> 1941-Roosevelt 0.2411808 0.2019959 0.2496253 0.2514531 0.2593804 #> 1945-Roosevelt 0.2729035 0.2659131 0.1710502 0.1893489 0.2204688 #> 1949-Truman 0.3244856 0.1931231 0.2714465 0.3074668 0.3044000 #> 1953-Eisenhower 0.3348920 0.2582410 0.2959296 0.3267014 0.3679318 #> 1957-Eisenhower 0.3461898 0.2234429 0.2847335 0.2871959 0.3051636 #> 1961-Kennedy 0.2594003 0.2879914 0.2747716 0.2751252 0.2682365 #> 1965-Johnson 0.3305194 0.3056071 0.3134386 0.3139855 0.2877882 #> 1969-Nixon 0.3361165 0.2615734 0.2843531 0.3203397 0.2600284 #> 1973-Nixon 0.2753212 0.3044307 0.2726962 0.3029232 0.2856873 #> 1977-Carter 0.3438505 0.2200503 0.2784437 0.3053836 0.2922812 #> 1981-Reagan 0.3542295 0.2435669 0.3243818 0.3406648 0.3640111 #> 1985-Reagan 0.3746371 0.2919767 0.3397694 0.3596551 0.3666063 #> 1989-Bush 0.3064260 0.2322965 0.2588364 0.3252964 0.3042248 #> 1993-Clinton 0.2676464 0.2330089 0.2186438 0.2460133 0.2631935 #> 1997-Clinton 0.2962007 0.2600949 0.3003409 0.3095522 0.3140842 #> 2001-Bush 0.2609850 0.2082204 0.3388658 0.2950418 0.3676962 #> 2005-Bush 0.2965053 0.1877917 0.3080354 0.2837963 0.3263778 #> 2009-Obama 0.3063815 0.2925002 0.3476426 0.3130723 0.3171187 #> 2013-Obama 0.3453801 0.2883459 0.3473703 0.3097694 0.3706975 #> 2017-Trump 0.2846567 0.1853258 0.2932941 0.3052610 0.3166383 #> 1881-Garfield 1885-Cleveland 1889-Harrison 1893-Cleveland #> 1789-Washington 0.4164610 0.4313620 0.3971131 0.4354953 #> 1793-Washington 0.2690956 0.3236520 0.2902385 0.2289520 #> 1797-Adams 0.5639119 0.5350306 0.5519249 0.4804623 #> 1801-Jefferson 0.4198924 0.4357210 0.3826020 0.4018160 #> 1805-Jefferson 0.3747465 0.4177469 0.4300174 0.3554303 #> 1809-Madison 0.3430237 0.3039879 0.3627096 0.2935477 #> 1813-Madison 0.3094660 0.2621456 0.2982264 0.2689661 #> 1817-Monroe 0.5514997 0.5063416 0.5337781 0.4817436 #> 1821-Monroe 0.5053562 0.3869920 0.4807164 0.3702455 #> 1825-Adams 0.5397509 0.4836913 0.4752377 0.3999217 #> 1829-Jackson 0.4155535 0.4759167 0.4465486 0.4501589 #> 1833-Jackson 0.5367686 0.4931490 0.4811084 0.4655200 #> 1837-VanBuren 0.5154719 0.5138522 0.5115589 0.5339985 #> 1841-Harrison 0.6137943 0.5354903 0.5842358 0.5172825 #> 1845-Polk 0.6078118 0.5465415 0.5389545 0.4832683 #> 1849-Taylor 0.4236965 0.4873232 0.4831967 0.3775184 #> 1853-Pierce 0.5516379 0.4844039 0.5378343 0.4796501 #> 1857-Buchanan 0.6061360 0.5117322 0.5851107 0.4255244 #> 1861-Lincoln 0.6449963 0.4826026 0.5529284 0.4593792 #> 1865-Lincoln 0.2548352 0.2105634 0.2782124 0.1864636 #> 1869-Grant 0.4106883 0.3650494 0.4348941 0.3667572 #> 1873-Grant 0.4609127 0.3670283 0.4435992 0.3683382 #> 1877-Hayes 0.5523172 0.5259991 0.5535451 0.4782154 #> 1881-Garfield 1.0000000 0.5318723 0.6078097 0.5086534 #> 1885-Cleveland 0.5318723 1.0000000 0.5680093 0.6159420 #> 1889-Harrison 0.6078097 0.5680093 1.0000000 0.5217156 #> 1893-Cleveland 0.5086534 0.6159420 0.5217156 1.0000000 #> 1897-McKinley 0.5945837 0.5648537 0.6390005 0.5654514 #> 1901-McKinley 0.5759267 0.4938518 0.5543323 0.4784883 #> 1905-Roosevelt 0.3436293 0.3015684 0.3364139 0.3578266 #> 1909-Taft 0.5191776 0.4251693 0.5171843 0.4344032 #> 1913-Wilson 0.3857147 0.3243492 0.4039950 0.3368591 #> 1917-Wilson 0.4058798 0.3308948 0.4039602 0.3529746 #> 1921-Harding 0.3947875 0.3674313 0.3909974 0.3696623 #> 1925-Coolidge 0.4997961 0.4387243 0.4850495 0.4627866 #> 1929-Hoover 0.4924467 0.4823712 0.5112906 0.4826789 #> 1933-Roosevelt 0.4202929 0.3637184 0.4053466 0.4056215 #> 1937-Roosevelt 0.4917521 0.4304126 0.4358355 0.4356557 #> 1941-Roosevelt 0.3359560 0.2836393 0.3214941 0.3100648 #> 1945-Roosevelt 0.2297637 0.2366080 0.2573714 0.2088726 #> 1949-Truman 0.3636193 0.2954619 0.3303359 0.3061761 #> 1953-Eisenhower 0.3705787 0.3555655 0.4115962 0.3793939 #> 1957-Eisenhower 0.3775163 0.2830985 0.3713340 0.3021953 #> 1961-Kennedy 0.3232345 0.2467103 0.2660145 0.2593488 #> 1965-Johnson 0.3710219 0.2753046 0.3488428 0.3426986 #> 1969-Nixon 0.3866037 0.3106038 0.3372467 0.3475577 #> 1973-Nixon 0.3402723 0.3142944 0.3030936 0.3086599 #> 1977-Carter 0.3859020 0.2884110 0.3381240 0.3683400 #> 1981-Reagan 0.4264969 0.3764987 0.3607947 0.4217664 #> 1985-Reagan 0.4340529 0.3723539 0.3633258 0.4197610 #> 1989-Bush 0.3683581 0.2672929 0.3450895 0.3029683 #> 1993-Clinton 0.3155277 0.2794881 0.2910656 0.3320685 #> 1997-Clinton 0.3968480 0.3337732 0.3455750 0.3676091 #> 2001-Bush 0.3297729 0.3058224 0.3263570 0.3483731 #> 2005-Bush 0.3686078 0.2652376 0.3181727 0.2903244 #> 2009-Obama 0.3826476 0.2986415 0.3517380 0.3829927 #> 2013-Obama 0.3933721 0.3414678 0.3600069 0.4134454 #> 2017-Trump 0.3186152 0.3096608 0.3132196 0.3036888 #> 1897-McKinley 1901-McKinley 1905-Roosevelt 1909-Taft #> 1789-Washington 0.4619723 0.3729026 0.23699949 0.3987867 #> 1793-Washington 0.2956474 0.2597632 0.09349731 0.2256397 #> 1797-Adams 0.5502254 0.4914204 0.32974156 0.4332924 #> 1801-Jefferson 0.3866672 0.3774343 0.32364007 0.3706912 #> 1805-Jefferson 0.3874217 0.3549842 0.29027487 0.3584920 #> 1809-Madison 0.3538514 0.3400705 0.22974459 0.2937813 #> 1813-Madison 0.3219408 0.3771536 0.18787127 0.2749420 #> 1817-Monroe 0.5565795 0.5181861 0.34332757 0.4617145 #> 1821-Monroe 0.5222933 0.4831070 0.31845504 0.4551790 #> 1825-Adams 0.4918218 0.4664547 0.26611097 0.3999511 #> 1829-Jackson 0.4577536 0.3921074 0.22490412 0.3836330 #> 1833-Jackson 0.5210049 0.4887053 0.26724883 0.3993345 #> 1837-VanBuren 0.5677958 0.4718514 0.39183070 0.4544400 #> 1841-Harrison 0.6148581 0.5114825 0.33397117 0.5055698 #> 1845-Polk 0.5884008 0.5101124 0.25931930 0.5053410 #> 1849-Taylor 0.4641136 0.4443256 0.23256695 0.3980936 #> 1853-Pierce 0.5763556 0.4611148 0.36853941 0.4820099 #> 1857-Buchanan 0.5785823 0.5037391 0.27973562 0.4739109 #> 1861-Lincoln 0.5544986 0.4723492 0.23818145 0.5002338 #> 1865-Lincoln 0.2774345 0.2968789 0.20026160 0.2529331 #> 1869-Grant 0.4858413 0.4049670 0.25191367 0.4091160 #> 1873-Grant 0.4762143 0.4213660 0.29819548 0.4010777 #> 1877-Hayes 0.6148244 0.5081075 0.29264109 0.4841241 #> 1881-Garfield 0.5945837 0.5759267 0.34362928 0.5191776 #> 1885-Cleveland 0.5648537 0.4938518 0.30156839 0.4251693 #> 1889-Harrison 0.6390005 0.5543323 0.33641388 0.5171843 #> 1893-Cleveland 0.5654514 0.4784883 0.35782661 0.4344032 #> 1897-McKinley 1.0000000 0.6234763 0.34306364 0.6006339 #> 1901-McKinley 0.6234763 1.0000000 0.35625565 0.4868713 #> 1905-Roosevelt 0.3430636 0.3562556 1.00000000 0.2676896 #> 1909-Taft 0.6006339 0.4868713 0.26768962 1.0000000 #> 1913-Wilson 0.4177240 0.3657744 0.37963141 0.3795451 #> 1917-Wilson 0.4640254 0.4446057 0.41186171 0.3463976 #> 1921-Harding 0.4606746 0.4334307 0.40398865 0.4369934 #> 1925-Coolidge 0.5855930 0.4815348 0.41015628 0.5322958 #> 1929-Hoover 0.5585060 0.4780894 0.35567466 0.4991355 #> 1933-Roosevelt 0.4851295 0.4208310 0.37076151 0.4110003 #> 1937-Roosevelt 0.4556285 0.4752240 0.39508613 0.4109187 #> 1941-Roosevelt 0.3087282 0.3529824 0.39319116 0.2416543 #> 1945-Roosevelt 0.2680773 0.2550201 0.27228514 0.2433460 #> 1949-Truman 0.3861997 0.3820340 0.35410232 0.3409707 #> 1953-Eisenhower 0.4276664 0.3847295 0.40575819 0.3460538 #> 1957-Eisenhower 0.4015950 0.3642923 0.35541440 0.3377490 #> 1961-Kennedy 0.2760306 0.2783383 0.34317261 0.2624799 #> 1965-Johnson 0.3561084 0.3432966 0.40846263 0.2872216 #> 1969-Nixon 0.3415327 0.3747539 0.41523767 0.2810805 #> 1973-Nixon 0.3277971 0.3674009 0.40578063 0.2958791 #> 1977-Carter 0.3630253 0.3555812 0.39372316 0.3089595 #> 1981-Reagan 0.4253725 0.4126744 0.44499092 0.3651933 #> 1985-Reagan 0.4329481 0.4419497 0.45237741 0.3550064 #> 1989-Bush 0.3720968 0.3700422 0.42552051 0.3343668 #> 1993-Clinton 0.3634187 0.3303073 0.38735016 0.2963380 #> 1997-Clinton 0.3619130 0.3698683 0.44650231 0.3111600 #> 2001-Bush 0.3501477 0.3203372 0.39862012 0.2935492 #> 2005-Bush 0.3386054 0.3430009 0.30490461 0.2919979 #> 2009-Obama 0.3679430 0.3873509 0.46932976 0.3255123 #> 2013-Obama 0.4369620 0.4151365 0.44186171 0.3556185 #> 2017-Trump 0.3606982 0.3088027 0.28402536 0.2792934 #> 1913-Wilson 1917-Wilson 1921-Harding 1925-Coolidge 1929-Hoover #> 1789-Washington 0.3276281 0.2744406 0.3334401 0.4216351 0.3744054 #> 1793-Washington 0.1496481 0.2088297 0.1732867 0.1678575 0.1914917 #> 1797-Adams 0.3569275 0.3540174 0.3878982 0.5136704 0.5070120 #> 1801-Jefferson 0.3219044 0.3368613 0.3601224 0.4245293 0.3866673 #> 1805-Jefferson 0.2634138 0.3365639 0.3194110 0.3903435 0.3588989 #> 1809-Madison 0.2182033 0.2999792 0.2810508 0.3822368 0.3346206 #> 1813-Madison 0.2075463 0.2447271 0.3094559 0.3047923 0.2827083 #> 1817-Monroe 0.3786985 0.3649074 0.3574769 0.5007858 0.4193874 #> 1821-Monroe 0.3688911 0.3577942 0.3391579 0.4539886 0.3885872 #> 1825-Adams 0.3450651 0.3716468 0.3312504 0.4717333 0.4516753 #> 1829-Jackson 0.2360722 0.2828444 0.2833742 0.3638898 0.3782512 #> 1833-Jackson 0.2789116 0.3394590 0.3537451 0.4289094 0.4338198 #> 1837-VanBuren 0.3730571 0.4099271 0.3838768 0.5099124 0.4602279 #> 1841-Harrison 0.3793866 0.4038270 0.3517532 0.5220654 0.4704197 #> 1845-Polk 0.3299392 0.3418552 0.3557354 0.4761057 0.4897848 #> 1849-Taylor 0.2808660 0.3063618 0.2935900 0.3425089 0.3204244 #> 1853-Pierce 0.3992348 0.4693650 0.4284626 0.5303339 0.4862787 #> 1857-Buchanan 0.3260319 0.3636412 0.3454640 0.4493087 0.4188645 #> 1861-Lincoln 0.3318772 0.3657044 0.3674586 0.5024294 0.4519587 #> 1865-Lincoln 0.2256281 0.3012913 0.3074931 0.2233099 0.2102154 #> 1869-Grant 0.2960787 0.2865710 0.2955317 0.4081064 0.3648327 #> 1873-Grant 0.3053576 0.3296023 0.3469209 0.4312804 0.3725151 #> 1877-Hayes 0.3656512 0.3838502 0.3590946 0.5141566 0.4930264 #> 1881-Garfield 0.3857147 0.4058798 0.3947875 0.4997961 0.4924467 #> 1885-Cleveland 0.3243492 0.3308948 0.3674313 0.4387243 0.4823712 #> 1889-Harrison 0.4039950 0.4039602 0.3909974 0.4850495 0.5112906 #> 1893-Cleveland 0.3368591 0.3529746 0.3696623 0.4627866 0.4826789 #> 1897-McKinley 0.4177240 0.4640254 0.4606746 0.5855930 0.5585060 #> 1901-McKinley 0.3657744 0.4446057 0.4334307 0.4815348 0.4780894 #> 1905-Roosevelt 0.3796314 0.4118617 0.4039887 0.4101563 0.3556747 #> 1909-Taft 0.3795451 0.3463976 0.4369934 0.5322958 0.4991355 #> 1913-Wilson 1.0000000 0.4384914 0.3574452 0.4471039 0.4071560 #> 1917-Wilson 0.4384914 1.0000000 0.4228213 0.4447904 0.4237321 #> 1921-Harding 0.3574452 0.4228213 1.0000000 0.5544713 0.5419928 #> 1925-Coolidge 0.4471039 0.4447904 0.5544713 1.0000000 0.6045125 #> 1929-Hoover 0.4071560 0.4237321 0.5419928 0.6045125 1.0000000 #> 1933-Roosevelt 0.3698387 0.4237643 0.4592842 0.4790725 0.4220740 #> 1937-Roosevelt 0.4604643 0.4210185 0.4336452 0.4693872 0.5259636 #> 1941-Roosevelt 0.3421095 0.3629546 0.3858601 0.3492131 0.3648656 #> 1945-Roosevelt 0.2608431 0.3496210 0.3301721 0.3080213 0.3064166 #> 1949-Truman 0.2709982 0.4312701 0.4844515 0.5119803 0.4775912 #> 1953-Eisenhower 0.3199213 0.4799998 0.4744444 0.4734002 0.4452336 #> 1957-Eisenhower 0.3257373 0.4278873 0.5010826 0.5090303 0.4667598 #> 1961-Kennedy 0.2777337 0.3733042 0.3817209 0.3818828 0.3117939 #> 1965-Johnson 0.3806983 0.3553106 0.4185668 0.4244409 0.3651896 #> 1969-Nixon 0.3372147 0.4304809 0.4440564 0.4470029 0.3898278 #> 1973-Nixon 0.3358531 0.4015050 0.4665732 0.4575601 0.4217683 #> 1977-Carter 0.3171919 0.3675058 0.4468103 0.4648548 0.4215659 #> 1981-Reagan 0.3606712 0.3868836 0.4514076 0.4751669 0.4534502 #> 1985-Reagan 0.3585252 0.4134828 0.4992481 0.4865926 0.4572320 #> 1989-Bush 0.4026653 0.3957107 0.4491063 0.4729248 0.4031800 #> 1993-Clinton 0.2802481 0.3531579 0.5280024 0.4343442 0.3873057 #> 1997-Clinton 0.3796865 0.3767275 0.4581415 0.4214550 0.3895378 #> 2001-Bush 0.3334160 0.3621190 0.4191183 0.4404389 0.4091682 #> 2005-Bush 0.3024197 0.3166508 0.4104266 0.4372257 0.3851449 #> 2009-Obama 0.4002097 0.4465655 0.4602595 0.4568061 0.4034583 #> 2013-Obama 0.3422062 0.4052630 0.4697207 0.4675948 0.4048635 #> 2017-Trump 0.3097255 0.2975482 0.4085250 0.4053082 0.3380369 #> 1933-Roosevelt 1937-Roosevelt 1941-Roosevelt 1945-Roosevelt #> 1789-Washington 0.3868001 0.3639490 0.2427562 0.1865474 #> 1793-Washington 0.1898302 0.1913787 0.1116450 0.2290539 #> 1797-Adams 0.3916554 0.4620706 0.3868246 0.2173591 #> 1801-Jefferson 0.3308561 0.3672647 0.2899746 0.2649384 #> 1805-Jefferson 0.3523923 0.2923555 0.2437118 0.2451702 #> 1809-Madison 0.2728620 0.2518650 0.2194135 0.1749617 #> 1813-Madison 0.2502784 0.2754830 0.2361440 0.1403217 #> 1817-Monroe 0.3951706 0.4198882 0.3075137 0.2162318 #> 1821-Monroe 0.3642001 0.3739482 0.2819306 0.2058262 #> 1825-Adams 0.3399631 0.3904159 0.2899042 0.2159631 #> 1829-Jackson 0.3595049 0.3267945 0.1977163 0.2175763 #> 1833-Jackson 0.3382224 0.4142112 0.2764320 0.1942862 #> 1837-VanBuren 0.4146225 0.4388703 0.3373180 0.2280308 #> 1841-Harrison 0.4198525 0.4628687 0.3253140 0.2210487 #> 1845-Polk 0.3602193 0.4489866 0.2744638 0.2117474 #> 1849-Taylor 0.3274632 0.3050574 0.1974117 0.2605577 #> 1853-Pierce 0.4399644 0.4281299 0.3306715 0.2466193 #> 1857-Buchanan 0.3962336 0.3967809 0.2933626 0.2752324 #> 1861-Lincoln 0.4160356 0.4095313 0.2411808 0.2729035 #> 1865-Lincoln 0.2350899 0.2171085 0.2019959 0.2659131 #> 1869-Grant 0.3371035 0.3170903 0.2496253 0.1710502 #> 1873-Grant 0.3573361 0.3802303 0.2514531 0.1893489 #> 1877-Hayes 0.3689886 0.4062826 0.2593804 0.2204688 #> 1881-Garfield 0.4202929 0.4917521 0.3359560 0.2297637 #> 1885-Cleveland 0.3637184 0.4304126 0.2836393 0.2366080 #> 1889-Harrison 0.4053466 0.4358355 0.3214941 0.2573714 #> 1893-Cleveland 0.4056215 0.4356557 0.3100648 0.2088726 #> 1897-McKinley 0.4851295 0.4556285 0.3087282 0.2680773 #> 1901-McKinley 0.4208310 0.4752240 0.3529824 0.2550201 #> 1905-Roosevelt 0.3707615 0.3950861 0.3931912 0.2722851 #> 1909-Taft 0.4110003 0.4109187 0.2416543 0.2433460 #> 1913-Wilson 0.3698387 0.4604643 0.3421095 0.2608431 #> 1917-Wilson 0.4237643 0.4210185 0.3629546 0.3496210 #> 1921-Harding 0.4592842 0.4336452 0.3858601 0.3301721 #> 1925-Coolidge 0.4790725 0.4693872 0.3492131 0.3080213 #> 1929-Hoover 0.4220740 0.5259636 0.3648656 0.3064166 #> 1933-Roosevelt 1.0000000 0.4163625 0.3373129 0.2962670 #> 1937-Roosevelt 0.4163625 1.0000000 0.4388249 0.3335815 #> 1941-Roosevelt 0.3373129 0.4388249 1.0000000 0.2399043 #> 1945-Roosevelt 0.2962670 0.3335815 0.2399043 1.0000000 #> 1949-Truman 0.3690070 0.4079525 0.3785309 0.3535758 #> 1953-Eisenhower 0.3676087 0.3892457 0.4027682 0.3971161 #> 1957-Eisenhower 0.3829366 0.3648697 0.3606468 0.3557906 #> 1961-Kennedy 0.3348162 0.3217498 0.3090879 0.3014853 #> 1965-Johnson 0.3787525 0.3991212 0.4271198 0.2869534 #> 1969-Nixon 0.3843350 0.4506001 0.4285305 0.3650109 #> 1973-Nixon 0.3344321 0.4030932 0.3631230 0.3352186 #> 1977-Carter 0.3872292 0.4209395 0.4372717 0.2482199 #> 1981-Reagan 0.4032167 0.4465921 0.4160886 0.2758514 #> 1985-Reagan 0.4164116 0.4635617 0.4509283 0.3251447 #> 1989-Bush 0.4207578 0.4647028 0.4388543 0.3298011 #> 1993-Clinton 0.3833884 0.3728748 0.4002951 0.2897563 #> 1997-Clinton 0.3805578 0.4652568 0.4521912 0.2550062 #> 2001-Bush 0.3434389 0.3964994 0.4192023 0.2681689 #> 2005-Bush 0.3221107 0.3490076 0.4669590 0.2666159 #> 2009-Obama 0.4397100 0.4484460 0.4806676 0.3135353 #> 2013-Obama 0.4128701 0.4192635 0.4528271 0.3193821 #> 2017-Trump 0.2920648 0.3701930 0.3639366 0.2111098 #> 1949-Truman 1953-Eisenhower 1957-Eisenhower 1961-Kennedy #> 1789-Washington 0.2754582 0.2849542 0.2658538 0.2776496 #> 1793-Washington 0.1203414 0.1707291 0.1489479 0.1488205 #> 1797-Adams 0.3875288 0.3675941 0.4166209 0.2721932 #> 1801-Jefferson 0.3046831 0.3994105 0.3413371 0.4112791 #> 1805-Jefferson 0.3022519 0.3161758 0.3186442 0.3250344 #> 1809-Madison 0.3566084 0.2911477 0.3125900 0.2623687 #> 1813-Madison 0.2204151 0.2340376 0.2011438 0.2432353 #> 1817-Monroe 0.3360004 0.3405189 0.3068010 0.2905854 #> 1821-Monroe 0.3001338 0.3026077 0.3174528 0.2764333 #> 1825-Adams 0.3025921 0.3273170 0.3143919 0.2411087 #> 1829-Jackson 0.2542158 0.2832473 0.2546078 0.2549265 #> 1833-Jackson 0.3107441 0.2935102 0.2920183 0.2642527 #> 1837-VanBuren 0.3477542 0.3801474 0.3648752 0.3153838 #> 1841-Harrison 0.2994897 0.3621996 0.3618367 0.2949488 #> 1845-Polk 0.3236521 0.3438238 0.2963222 0.2586039 #> 1849-Taylor 0.2146147 0.2831229 0.2173703 0.2552466 #> 1853-Pierce 0.3576912 0.4293287 0.3902983 0.3448044 #> 1857-Buchanan 0.3361676 0.3721514 0.3554342 0.2935301 #> 1861-Lincoln 0.3244856 0.3348920 0.3461898 0.2594003 #> 1865-Lincoln 0.1931231 0.2582410 0.2234429 0.2879914 #> 1869-Grant 0.2714465 0.2959296 0.2847335 0.2747716 #> 1873-Grant 0.3074668 0.3267014 0.2871959 0.2751252 #> 1877-Hayes 0.3044000 0.3679318 0.3051636 0.2682365 #> 1881-Garfield 0.3636193 0.3705787 0.3775163 0.3232345 #> 1885-Cleveland 0.2954619 0.3555655 0.2830985 0.2467103 #> 1889-Harrison 0.3303359 0.4115962 0.3713340 0.2660145 #> 1893-Cleveland 0.3061761 0.3793939 0.3021953 0.2593488 #> 1897-McKinley 0.3861997 0.4276664 0.4015950 0.2760306 #> 1901-McKinley 0.3820340 0.3847295 0.3642923 0.2783383 #> 1905-Roosevelt 0.3541023 0.4057582 0.3554144 0.3431726 #> 1909-Taft 0.3409707 0.3460538 0.3377490 0.2624799 #> 1913-Wilson 0.2709982 0.3199213 0.3257373 0.2777337 #> 1917-Wilson 0.4312701 0.4799998 0.4278873 0.3733042 #> 1921-Harding 0.4844515 0.4744444 0.5010826 0.3817209 #> 1925-Coolidge 0.5119803 0.4734002 0.5090303 0.3818828 #> 1929-Hoover 0.4775912 0.4452336 0.4667598 0.3117939 #> 1933-Roosevelt 0.3690070 0.3676087 0.3829366 0.3348162 #> 1937-Roosevelt 0.4079525 0.3892457 0.3648697 0.3217498 #> 1941-Roosevelt 0.3785309 0.4027682 0.3606468 0.3090879 #> 1945-Roosevelt 0.3535758 0.3971161 0.3557906 0.3014853 #> 1949-Truman 1.0000000 0.5599790 0.5896050 0.4169106 #> 1953-Eisenhower 0.5599790 1.0000000 0.5697960 0.4363746 #> 1957-Eisenhower 0.5896050 0.5697960 1.0000000 0.4066978 #> 1961-Kennedy 0.4169106 0.4363746 0.4066978 1.0000000 #> 1965-Johnson 0.3861429 0.4081147 0.4215125 0.3853357 #> 1969-Nixon 0.4635787 0.4668923 0.4545799 0.5277247 #> 1973-Nixon 0.4313315 0.4353019 0.4099414 0.5513486 #> 1977-Carter 0.4336415 0.4224154 0.4177848 0.4317321 #> 1981-Reagan 0.4120769 0.4602540 0.3903403 0.4708702 #> 1985-Reagan 0.4786446 0.4836829 0.4487684 0.4834772 #> 1989-Bush 0.4444935 0.4901962 0.4510276 0.4656664 #> 1993-Clinton 0.4077507 0.4150211 0.4248806 0.4562100 #> 1997-Clinton 0.3694422 0.4094855 0.3710816 0.4806903 #> 2001-Bush 0.3401469 0.4278588 0.3594347 0.4116394 #> 2005-Bush 0.4483708 0.4741806 0.4579394 0.3885476 #> 2009-Obama 0.4115157 0.4685294 0.4526716 0.5091416 #> 2013-Obama 0.4336559 0.4775487 0.4178088 0.4281767 #> 2017-Trump 0.3144166 0.3229181 0.3332719 0.3237021 #> 1965-Johnson 1969-Nixon 1973-Nixon 1977-Carter 1981-Reagan #> 1789-Washington 0.2699161 0.2565433 0.2659431 0.3074803 0.3184932 #> 1793-Washington 0.1158932 0.1547878 0.1254362 0.1215946 0.1807804 #> 1797-Adams 0.3028871 0.3354615 0.3162196 0.3575112 0.3604570 #> 1801-Jefferson 0.3444805 0.3834961 0.4039554 0.3166596 0.4468190 #> 1805-Jefferson 0.3146861 0.2873633 0.2880267 0.2877337 0.3222777 #> 1809-Madison 0.2411914 0.2388838 0.2395726 0.2718734 0.2307725 #> 1813-Madison 0.2144883 0.2056461 0.1867194 0.2370958 0.2228786 #> 1817-Monroe 0.3313331 0.3141080 0.3576379 0.3350757 0.4141263 #> 1821-Monroe 0.2991746 0.2778631 0.2979595 0.2754179 0.3241167 #> 1825-Adams 0.3266815 0.2728116 0.2875377 0.2844175 0.3473596 #> 1829-Jackson 0.2013386 0.2382507 0.2337291 0.2559296 0.2897942 #> 1833-Jackson 0.3220625 0.3156987 0.2987847 0.2968750 0.3983167 #> 1837-VanBuren 0.3372832 0.3433487 0.3409275 0.3503372 0.4235442 #> 1841-Harrison 0.3249027 0.3084443 0.2724012 0.3408687 0.3970450 #> 1845-Polk 0.2915006 0.2864377 0.2920521 0.3108614 0.3945872 #> 1849-Taylor 0.2130845 0.2431879 0.2648700 0.2258813 0.2946135 #> 1853-Pierce 0.3645780 0.3508435 0.3663727 0.4082791 0.4275741 #> 1857-Buchanan 0.2898779 0.2871253 0.2768238 0.2864052 0.3335269 #> 1861-Lincoln 0.3305194 0.3361165 0.2753212 0.3438505 0.3542295 #> 1865-Lincoln 0.3056071 0.2615734 0.3044307 0.2200503 0.2435669 #> 1869-Grant 0.3134386 0.2843531 0.2726962 0.2784437 0.3243818 #> 1873-Grant 0.3139855 0.3203397 0.3029232 0.3053836 0.3406648 #> 1877-Hayes 0.2877882 0.2600284 0.2856873 0.2922812 0.3640111 #> 1881-Garfield 0.3710219 0.3866037 0.3402723 0.3859020 0.4264969 #> 1885-Cleveland 0.2753046 0.3106038 0.3142944 0.2884110 0.3764987 #> 1889-Harrison 0.3488428 0.3372467 0.3030936 0.3381240 0.3607947 #> 1893-Cleveland 0.3426986 0.3475577 0.3086599 0.3683400 0.4217664 #> 1897-McKinley 0.3561084 0.3415327 0.3277971 0.3630253 0.4253725 #> 1901-McKinley 0.3432966 0.3747539 0.3674009 0.3555812 0.4126744 #> 1905-Roosevelt 0.4084626 0.4152377 0.4057806 0.3937232 0.4449909 #> 1909-Taft 0.2872216 0.2810805 0.2958791 0.3089595 0.3651933 #> 1913-Wilson 0.3806983 0.3372147 0.3358531 0.3171919 0.3606712 #> 1917-Wilson 0.3553106 0.4304809 0.4015050 0.3675058 0.3868836 #> 1921-Harding 0.4185668 0.4440564 0.4665732 0.4468103 0.4514076 #> 1925-Coolidge 0.4244409 0.4470029 0.4575601 0.4648548 0.4751669 #> 1929-Hoover 0.3651896 0.3898278 0.4217683 0.4215659 0.4534502 #> 1933-Roosevelt 0.3787525 0.3843350 0.3344321 0.3872292 0.4032167 #> 1937-Roosevelt 0.3991212 0.4506001 0.4030932 0.4209395 0.4465921 #> 1941-Roosevelt 0.4271198 0.4285305 0.3631230 0.4372717 0.4160886 #> 1945-Roosevelt 0.2869534 0.3650109 0.3352186 0.2482199 0.2758514 #> 1949-Truman 0.3861429 0.4635787 0.4313315 0.4336415 0.4120769 #> 1953-Eisenhower 0.4081147 0.4668923 0.4353019 0.4224154 0.4602540 #> 1957-Eisenhower 0.4215125 0.4545799 0.4099414 0.4177848 0.3903403 #> 1961-Kennedy 0.3853357 0.5277247 0.5513486 0.4317321 0.4708702 #> 1965-Johnson 1.0000000 0.4821964 0.4256812 0.4689813 0.4889832 #> 1969-Nixon 0.4821964 1.0000000 0.6307540 0.5272334 0.5428321 #> 1973-Nixon 0.4256812 0.6307540 1.0000000 0.5212548 0.5350769 #> 1977-Carter 0.4689813 0.5272334 0.5212548 1.0000000 0.4937330 #> 1981-Reagan 0.4889832 0.5428321 0.5350769 0.4937330 1.0000000 #> 1985-Reagan 0.5460887 0.6131919 0.6086921 0.5241943 0.6885376 #> 1989-Bush 0.4844507 0.5498085 0.5258539 0.5148977 0.5342227 #> 1993-Clinton 0.5326653 0.5164905 0.5595263 0.4860111 0.5588243 #> 1997-Clinton 0.5582402 0.5616332 0.6304174 0.5435184 0.5620486 #> 2001-Bush 0.4331680 0.4289096 0.4500744 0.4417755 0.4972389 #> 2005-Bush 0.4298097 0.3858397 0.3809746 0.4119036 0.4577205 #> 2009-Obama 0.5398082 0.5789409 0.5870488 0.5312681 0.5768486 #> 2013-Obama 0.5461326 0.5203205 0.5207653 0.5213535 0.6054181 #> 2017-Trump 0.3997222 0.4197822 0.4019412 0.3619825 0.4234273 #> 1985-Reagan 1989-Bush 1993-Clinton 1997-Clinton 2001-Bush #> 1789-Washington 0.3099476 0.3009686 0.2426902 0.3008832 0.3339442 #> 1793-Washington 0.1566667 0.1032331 0.1475957 0.1226513 0.1338624 #> 1797-Adams 0.3518366 0.3371522 0.2906913 0.3202352 0.3308235 #> 1801-Jefferson 0.4299841 0.3548621 0.3009083 0.3815699 0.3473577 #> 1805-Jefferson 0.3109222 0.2996327 0.2532498 0.2971559 0.3405913 #> 1809-Madison 0.2393994 0.2194006 0.1771194 0.2004997 0.2639921 #> 1813-Madison 0.2176824 0.1994560 0.1823018 0.2021484 0.2567662 #> 1817-Monroe 0.3972248 0.3469659 0.2776478 0.3424725 0.3474119 #> 1821-Monroe 0.3464932 0.3349200 0.2480370 0.3128877 0.3049073 #> 1825-Adams 0.3627623 0.2786179 0.2098636 0.2970230 0.2992344 #> 1829-Jackson 0.2696598 0.2313818 0.2081766 0.2253343 0.2615693 #> 1833-Jackson 0.3946123 0.2714333 0.2880758 0.3080866 0.2857197 #> 1837-VanBuren 0.4229021 0.3265105 0.3074947 0.3960073 0.3844228 #> 1841-Harrison 0.3861138 0.3502181 0.2642458 0.3349729 0.3547999 #> 1845-Polk 0.3909127 0.2995063 0.2483582 0.3209260 0.2908441 #> 1849-Taylor 0.2604236 0.2186598 0.1979385 0.2329438 0.2545149 #> 1853-Pierce 0.4039254 0.3666865 0.3046861 0.3691096 0.3689380 #> 1857-Buchanan 0.3474181 0.3019823 0.2384464 0.2852568 0.3017249 #> 1861-Lincoln 0.3746371 0.3064260 0.2676464 0.2962007 0.2609850 #> 1865-Lincoln 0.2919767 0.2322965 0.2330089 0.2600949 0.2082204 #> 1869-Grant 0.3397694 0.2588364 0.2186438 0.3003409 0.3388658 #> 1873-Grant 0.3596551 0.3252964 0.2460133 0.3095522 0.2950418 #> 1877-Hayes 0.3666063 0.3042248 0.2631935 0.3140842 0.3676962 #> 1881-Garfield 0.4340529 0.3683581 0.3155277 0.3968480 0.3297729 #> 1885-Cleveland 0.3723539 0.2672929 0.2794881 0.3337732 0.3058224 #> 1889-Harrison 0.3633258 0.3450895 0.2910656 0.3455750 0.3263570 #> 1893-Cleveland 0.4197610 0.3029683 0.3320685 0.3676091 0.3483731 #> 1897-McKinley 0.4329481 0.3720968 0.3634187 0.3619130 0.3501477 #> 1901-McKinley 0.4419497 0.3700422 0.3303073 0.3698683 0.3203372 #> 1905-Roosevelt 0.4523774 0.4255205 0.3873502 0.4465023 0.3986201 #> 1909-Taft 0.3550064 0.3343668 0.2963380 0.3111600 0.2935492 #> 1913-Wilson 0.3585252 0.4026653 0.2802481 0.3796865 0.3334160 #> 1917-Wilson 0.4134828 0.3957107 0.3531579 0.3767275 0.3621190 #> 1921-Harding 0.4992481 0.4491063 0.5280024 0.4581415 0.4191183 #> 1925-Coolidge 0.4865926 0.4729248 0.4343442 0.4214550 0.4404389 #> 1929-Hoover 0.4572320 0.4031800 0.3873057 0.3895378 0.4091682 #> 1933-Roosevelt 0.4164116 0.4207578 0.3833884 0.3805578 0.3434389 #> 1937-Roosevelt 0.4635617 0.4647028 0.3728748 0.4652568 0.3964994 #> 1941-Roosevelt 0.4509283 0.4388543 0.4002951 0.4521912 0.4192023 #> 1945-Roosevelt 0.3251447 0.3298011 0.2897563 0.2550062 0.2681689 #> 1949-Truman 0.4786446 0.4444935 0.4077507 0.3694422 0.3401469 #> 1953-Eisenhower 0.4836829 0.4901962 0.4150211 0.4094855 0.4278588 #> 1957-Eisenhower 0.4487684 0.4510276 0.4248806 0.3710816 0.3594347 #> 1961-Kennedy 0.4834772 0.4656664 0.4562100 0.4806903 0.4116394 #> 1965-Johnson 0.5460887 0.4844507 0.5326653 0.5582402 0.4331680 #> 1969-Nixon 0.6131919 0.5498085 0.5164905 0.5616332 0.4289096 #> 1973-Nixon 0.6086921 0.5258539 0.5595263 0.6304174 0.4500744 #> 1977-Carter 0.5241943 0.5148977 0.4860111 0.5435184 0.4417755 #> 1981-Reagan 0.6885376 0.5342227 0.5588243 0.5620486 0.4972389 #> 1985-Reagan 1.0000000 0.5569825 0.5929382 0.6409087 0.4951335 #> 1989-Bush 0.5569825 1.0000000 0.5463195 0.5723938 0.4982357 #> 1993-Clinton 0.5929382 0.5463195 1.0000000 0.6258047 0.4775110 #> 1997-Clinton 0.6409087 0.5723938 0.6258047 1.0000000 0.5442529 #> 2001-Bush 0.4951335 0.4982357 0.4775110 0.5442529 1.0000000 #> 2005-Bush 0.5113232 0.4556697 0.4396107 0.4355170 0.5204355 #> 2009-Obama 0.5892557 0.5721535 0.5925820 0.6297973 0.5411649 #> 2013-Obama 0.6331729 0.5290330 0.5997993 0.6121809 0.5561972 #> 2017-Trump 0.4734261 0.4530407 0.4982465 0.4947457 0.4518935 #> 2005-Bush 2009-Obama 2013-Obama 2017-Trump #> 1789-Washington 0.3207017 0.3194943 0.3266718 0.2920311 #> 1793-Washington 0.1479523 0.1385268 0.1693882 0.1945727 #> 1797-Adams 0.3542807 0.3407316 0.3548880 0.3526032 #> 1801-Jefferson 0.3382253 0.3880120 0.3814785 0.2495679 #> 1805-Jefferson 0.3106385 0.3191722 0.3417981 0.2022343 #> 1809-Madison 0.2946444 0.2727024 0.2582284 0.1989042 #> 1813-Madison 0.2529588 0.2634836 0.2474360 0.2220188 #> 1817-Monroe 0.3088534 0.3647328 0.3880594 0.3123459 #> 1821-Monroe 0.3142614 0.3101363 0.3426786 0.3065480 #> 1825-Adams 0.3151142 0.2885442 0.3193539 0.2546325 #> 1829-Jackson 0.2468658 0.2628820 0.2716377 0.1906166 #> 1833-Jackson 0.2777048 0.2959844 0.3485030 0.2658828 #> 1837-VanBuren 0.3586770 0.4129316 0.4367400 0.3528903 #> 1841-Harrison 0.3769007 0.3413496 0.3863257 0.3327232 #> 1845-Polk 0.3201896 0.2913341 0.3386331 0.3010016 #> 1849-Taylor 0.2048017 0.2745784 0.2454837 0.2293634 #> 1853-Pierce 0.3503059 0.4139509 0.4101503 0.3006301 #> 1857-Buchanan 0.3246647 0.3122723 0.3131931 0.2985968 #> 1861-Lincoln 0.2965053 0.3063815 0.3453801 0.2846567 #> 1865-Lincoln 0.1877917 0.2925002 0.2883459 0.1853258 #> 1869-Grant 0.3080354 0.3476426 0.3473703 0.2932941 #> 1873-Grant 0.2837963 0.3130723 0.3097694 0.3052610 #> 1877-Hayes 0.3263778 0.3171187 0.3706975 0.3166383 #> 1881-Garfield 0.3686078 0.3826476 0.3933721 0.3186152 #> 1885-Cleveland 0.2652376 0.2986415 0.3414678 0.3096608 #> 1889-Harrison 0.3181727 0.3517380 0.3600069 0.3132196 #> 1893-Cleveland 0.2903244 0.3829927 0.4134454 0.3036888 #> 1897-McKinley 0.3386054 0.3679430 0.4369620 0.3606982 #> 1901-McKinley 0.3430009 0.3873509 0.4151365 0.3088027 #> 1905-Roosevelt 0.3049046 0.4693298 0.4418617 0.2840254 #> 1909-Taft 0.2919979 0.3255123 0.3556185 0.2792934 #> 1913-Wilson 0.3024197 0.4002097 0.3422062 0.3097255 #> 1917-Wilson 0.3166508 0.4465655 0.4052630 0.2975482 #> 1921-Harding 0.4104266 0.4602595 0.4697207 0.4085250 #> 1925-Coolidge 0.4372257 0.4568061 0.4675948 0.4053082 #> 1929-Hoover 0.3851449 0.4034583 0.4048635 0.3380369 #> 1933-Roosevelt 0.3221107 0.4397100 0.4128701 0.2920648 #> 1937-Roosevelt 0.3490076 0.4484460 0.4192635 0.3701930 #> 1941-Roosevelt 0.4669590 0.4806676 0.4528271 0.3639366 #> 1945-Roosevelt 0.2666159 0.3135353 0.3193821 0.2111098 #> 1949-Truman 0.4483708 0.4115157 0.4336559 0.3144166 #> 1953-Eisenhower 0.4741806 0.4685294 0.4775487 0.3229181 #> 1957-Eisenhower 0.4579394 0.4526716 0.4178088 0.3332719 #> 1961-Kennedy 0.3885476 0.5091416 0.4281767 0.3237021 #> 1965-Johnson 0.4298097 0.5398082 0.5461326 0.3997222 #> 1969-Nixon 0.3858397 0.5789409 0.5203205 0.4197822 #> 1973-Nixon 0.3809746 0.5870488 0.5207653 0.4019412 #> 1977-Carter 0.4119036 0.5312681 0.5213535 0.3619825 #> 1981-Reagan 0.4577205 0.5768486 0.6054181 0.4234273 #> 1985-Reagan 0.5113232 0.5892557 0.6331729 0.4734261 #> 1989-Bush 0.4556697 0.5721535 0.5290330 0.4530407 #> 1993-Clinton 0.4396107 0.5925820 0.5997993 0.4982465 #> 1997-Clinton 0.4355170 0.6297973 0.6121809 0.4947457 #> 2001-Bush 0.5204355 0.5411649 0.5561972 0.4518935 #> 2005-Bush 1.0000000 0.4575297 0.5163644 0.4349030 #> 2009-Obama 0.4575297 1.0000000 0.6373318 0.4481950 #> 2013-Obama 0.5163644 0.6373318 1.0000000 0.4546945 #> 2017-Trump 0.4349030 0.4481950 0.4546945 1.0000000
as.list(s1)
#> $`1789-Washington` #> 1841-Harrison 1837-VanBuren 1817-Monroe 1845-Polk 1797-Adams #> 0.4950030 0.4887766 0.4846014 0.4757382 0.4727404 #> 1897-McKinley 1857-Buchanan 1877-Hayes 1853-Pierce 1861-Lincoln #> 0.4619723 0.4495999 0.4462200 0.4457685 0.4390104 #> 1893-Cleveland 1821-Monroe 1885-Cleveland 1833-Jackson 1925-Coolidge #> 0.4354953 0.4323771 0.4313620 0.4217155 0.4216351 #> 1829-Jackson 1881-Garfield 1805-Jefferson 1825-Adams 1909-Taft #> 0.4168405 0.4164610 0.4078066 0.4054455 0.3987867 #> 1889-Harrison 1801-Jefferson 1933-Roosevelt 1929-Hoover 1849-Taylor #> 0.3971131 0.3965387 0.3868001 0.3744054 0.3737432 #> 1901-McKinley 1869-Grant 1937-Roosevelt 1873-Grant 1809-Madison #> 0.3729026 0.3696706 0.3639490 0.3524557 0.3465911 #> 2001-Bush 1921-Harding 1913-Wilson 2013-Obama 2005-Bush #> 0.3339442 0.3334401 0.3276281 0.3266718 0.3207017 #> 2009-Obama 1981-Reagan 1985-Reagan 1977-Carter 1989-Bush #> 0.3194943 0.3184932 0.3099476 0.3074803 0.3009686 #> 1997-Clinton 1813-Madison 2017-Trump 1953-Eisenhower 1961-Kennedy #> 0.3008832 0.2989348 0.2920311 0.2849542 0.2776496 #> 1949-Truman 1917-Wilson 1965-Johnson 1973-Nixon 1957-Eisenhower #> 0.2754582 0.2744406 0.2699161 0.2659431 0.2658538 #> 1969-Nixon 1941-Roosevelt 1993-Clinton 1793-Washington 1905-Roosevelt #> 0.2565433 0.2427562 0.2426902 0.2403482 0.2369995 #> 1865-Lincoln 1945-Roosevelt #> 0.2025278 0.1865474 #> #> $`1793-Washington` #> 1849-Taylor 1861-Lincoln 1885-Cleveland 1857-Buchanan 1897-McKinley #> 0.38060783 0.33454524 0.32365196 0.31964858 0.29564744 #> 1889-Harrison 1877-Hayes 1881-Garfield 1841-Harrison 1901-McKinley #> 0.29023848 0.26934189 0.26909563 0.26644514 0.25976322 #> 1829-Jackson 1837-VanBuren 1833-Jackson 1869-Grant 1797-Adams #> 0.25852339 0.25768226 0.25473796 0.24805857 0.24450220 #> 1853-Pierce 1845-Polk 1789-Washington 1801-Jefferson 1945-Roosevelt #> 0.24142425 0.24050134 0.24034815 0.23362585 0.22905385 #> 1893-Cleveland 1909-Taft 1805-Jefferson 1821-Monroe 1917-Wilson #> 0.22895195 0.22563965 0.22468244 0.21146735 0.20882968 #> 1873-Grant 1825-Adams 1817-Monroe 2017-Trump 1929-Hoover #> 0.20319496 0.19837997 0.19685585 0.19457268 0.19149175 #> 1937-Roosevelt 1933-Roosevelt 1981-Reagan 1921-Harding 1953-Eisenhower #> 0.19137869 0.18983023 0.18078041 0.17328670 0.17072907 #> 2013-Obama 1813-Madison 1925-Coolidge 1985-Reagan 1969-Nixon #> 0.16938815 0.16891685 0.16785751 0.15666667 0.15478782 #> 1865-Lincoln 1913-Wilson 1957-Eisenhower 1961-Kennedy 2005-Bush #> 0.15149733 0.14964806 0.14894786 0.14882051 0.14795231 #> 1993-Clinton 2009-Obama 2001-Bush 1973-Nixon 1997-Clinton #> 0.14759571 0.13852677 0.13386242 0.12543622 0.12265128 #> 1977-Carter 1949-Truman 1965-Johnson 1809-Madison 1941-Roosevelt #> 0.12159459 0.12034135 0.11589319 0.11292426 0.11164501 #> 1989-Bush 1905-Roosevelt #> 0.10323314 0.09349731 #> #> $`1797-Adams` #> 1841-Harrison 1857-Buchanan 1881-Garfield 1817-Monroe 1889-Harrison #> 0.5969216 0.5795111 0.5639119 0.5530882 0.5519249 #> 1897-McKinley 1837-VanBuren 1845-Polk 1885-Cleveland 1877-Hayes #> 0.5502254 0.5493764 0.5359657 0.5350306 0.5190976 #> 1833-Jackson 1925-Coolidge 1825-Adams 1929-Hoover 1861-Lincoln #> 0.5153468 0.5136704 0.5131715 0.5070120 0.5052006 #> 1901-McKinley 1853-Pierce 1893-Cleveland 1821-Monroe 1789-Washington #> 0.4914204 0.4809946 0.4804623 0.4789038 0.4727404 #> 1829-Jackson 1937-Roosevelt 1909-Taft 1801-Jefferson 1873-Grant #> 0.4677588 0.4620706 0.4332924 0.4330564 0.4208325 #> 1849-Taylor 1957-Eisenhower 1809-Madison 1805-Jefferson 1869-Grant #> 0.4184968 0.4166209 0.4157776 0.4147702 0.4068049 #> 1933-Roosevelt 1921-Harding 1949-Truman 1941-Roosevelt 1953-Eisenhower #> 0.3916554 0.3878982 0.3875288 0.3868246 0.3675941 #> 1981-Reagan 1977-Carter 1913-Wilson 2013-Obama 2005-Bush #> 0.3604570 0.3575112 0.3569275 0.3548880 0.3542807 #> 1917-Wilson 2017-Trump 1985-Reagan 2009-Obama 1989-Bush #> 0.3540174 0.3526032 0.3518366 0.3407316 0.3371522 #> 1969-Nixon 2001-Bush 1813-Madison 1905-Roosevelt 1997-Clinton #> 0.3354615 0.3308235 0.3302836 0.3297416 0.3202352 #> 1973-Nixon 1965-Johnson 1993-Clinton 1961-Kennedy 1793-Washington #> 0.3162196 0.3028871 0.2906913 0.2721932 0.2445022 #> 1945-Roosevelt 1865-Lincoln #> 0.2173591 0.1983089 #> #> $`1801-Jefferson` #> 1841-Harrison 1805-Jefferson 1845-Polk 1837-VanBuren 1853-Pierce #> 0.4732221 0.4698814 0.4623056 0.4512661 0.4473907 #> 1981-Reagan 1825-Adams 1833-Jackson 1885-Cleveland 1797-Adams #> 0.4468190 0.4418791 0.4404977 0.4357210 0.4330564 #> 1985-Reagan 1817-Monroe 1857-Buchanan 1925-Coolidge 1881-Garfield #> 0.4299841 0.4284160 0.4271501 0.4245293 0.4198924 #> 1877-Hayes 1961-Kennedy 1861-Lincoln 1973-Nixon 1893-Cleveland #> 0.4149280 0.4112791 0.4043596 0.4039554 0.4018160 #> 1953-Eisenhower 1789-Washington 1849-Taylor 2009-Obama 1929-Hoover #> 0.3994105 0.3965387 0.3908681 0.3880120 0.3866673 #> 1897-McKinley 1969-Nixon 1889-Harrison 1821-Monroe 1997-Clinton #> 0.3866672 0.3834961 0.3826020 0.3820065 0.3815699 #> 2013-Obama 1829-Jackson 1901-McKinley 1909-Taft 1937-Roosevelt #> 0.3814785 0.3788433 0.3774343 0.3706912 0.3672647 #> 1921-Harding 1869-Grant 1989-Bush 1873-Grant 2001-Bush #> 0.3601224 0.3562158 0.3548621 0.3507179 0.3473577 #> 1965-Johnson 1957-Eisenhower 1809-Madison 2005-Bush 1917-Wilson #> 0.3444805 0.3413371 0.3390461 0.3382253 0.3368613 #> 1933-Roosevelt 1905-Roosevelt 1913-Wilson 1977-Carter 1949-Truman #> 0.3308561 0.3236401 0.3219044 0.3166596 0.3046831 #> 1993-Clinton 1941-Roosevelt 1945-Roosevelt 1865-Lincoln 1813-Madison #> 0.3009083 0.2899746 0.2649384 0.2586492 0.2574937 #> 2017-Trump 1793-Washington #> 0.2495679 0.2336258 #> #> $`1805-Jefferson` #> 1801-Jefferson 1845-Polk 1817-Monroe 1857-Buchanan 1841-Harrison #> 0.4698814 0.4591937 0.4570969 0.4532646 0.4511929 #> 1821-Monroe 1829-Jackson 1837-VanBuren 1889-Harrison 1825-Adams #> 0.4510927 0.4469649 0.4390293 0.4300174 0.4266013 #> 1877-Hayes 1853-Pierce 1885-Cleveland 1797-Adams 1789-Washington #> 0.4226873 0.4223593 0.4177469 0.4147702 0.4078066 #> 1809-Madison 1925-Coolidge 1861-Lincoln 1897-McKinley 1833-Jackson #> 0.4009151 0.3903435 0.3898931 0.3874217 0.3865863 #> 1869-Grant 1881-Garfield 1849-Taylor 1929-Hoover 1909-Taft #> 0.3750637 0.3747465 0.3728549 0.3588989 0.3584920 #> 1893-Cleveland 1901-McKinley 1933-Roosevelt 2013-Obama 2001-Bush #> 0.3554303 0.3549842 0.3523923 0.3417981 0.3405913 #> 1917-Wilson 1961-Kennedy 1981-Reagan 1921-Harding 2009-Obama #> 0.3365639 0.3250344 0.3222777 0.3194110 0.3191722 #> 1957-Eisenhower 1953-Eisenhower 1965-Johnson 1873-Grant 1985-Reagan #> 0.3186442 0.3161758 0.3146861 0.3129751 0.3109222 #> 2005-Bush 1949-Truman 1989-Bush 1997-Clinton 1937-Roosevelt #> 0.3106385 0.3022519 0.2996327 0.2971559 0.2923555 #> 1905-Roosevelt 1973-Nixon 1977-Carter 1969-Nixon 1813-Madison #> 0.2902749 0.2880267 0.2877337 0.2873633 0.2824857 #> 1865-Lincoln 1913-Wilson 1993-Clinton 1945-Roosevelt 1941-Roosevelt #> 0.2678333 0.2634138 0.2532498 0.2451702 0.2437118 #> 1793-Washington 2017-Trump #> 0.2246824 0.2022343 #> #> $`1809-Madison` #> 1817-Monroe 1825-Adams 1797-Adams 1853-Pierce 1837-VanBuren #> 0.4359321 0.4187171 0.4157776 0.4074361 0.4062390 #> 1805-Jefferson 1829-Jackson 1841-Harrison 1845-Polk 1925-Coolidge #> 0.4009151 0.3916429 0.3846047 0.3838703 0.3822368 #> 1877-Hayes 1821-Monroe 1889-Harrison 1949-Truman 1897-McKinley #> 0.3805804 0.3769666 0.3627096 0.3566084 0.3538514 #> 1857-Buchanan 1789-Washington 1881-Garfield 1901-McKinley 1801-Jefferson #> 0.3534408 0.3465911 0.3430237 0.3400705 0.3390461 #> 1869-Grant 1833-Jackson 1929-Hoover 1813-Madison 1873-Grant #> 0.3372091 0.3367252 0.3346206 0.3184664 0.3130805 #> 1957-Eisenhower 1861-Lincoln 1885-Cleveland 1917-Wilson 2005-Bush #> 0.3125900 0.3086737 0.3039879 0.2999792 0.2946444 #> 1909-Taft 1893-Cleveland 1849-Taylor 1953-Eisenhower 1921-Harding #> 0.2937813 0.2935477 0.2931447 0.2911477 0.2810508 #> 1933-Roosevelt 2009-Obama 1977-Carter 2001-Bush 1961-Kennedy #> 0.2728620 0.2727024 0.2718734 0.2639921 0.2623687 #> 2013-Obama 1937-Roosevelt 1965-Johnson 1973-Nixon 1985-Reagan #> 0.2582284 0.2518650 0.2411914 0.2395726 0.2393994 #> 1969-Nixon 1981-Reagan 1905-Roosevelt 1941-Roosevelt 1989-Bush #> 0.2388838 0.2307725 0.2297446 0.2194135 0.2194006 #> 1913-Wilson 1997-Clinton 2017-Trump 1993-Clinton 1945-Roosevelt #> 0.2182033 0.2004997 0.1989042 0.1771194 0.1749617 #> 1865-Lincoln 1793-Washington #> 0.1575984 0.1129243 #> #> $`1813-Madison` #> 1821-Monroe 1817-Monroe 1901-McKinley 1837-VanBuren 1857-Buchanan #> 0.4241582 0.4031643 0.3771536 0.3550724 0.3530153 #> 1845-Polk 1865-Lincoln 1797-Adams 1841-Harrison 1897-McKinley #> 0.3433127 0.3386436 0.3302836 0.3284921 0.3219408 #> 1809-Madison 1877-Hayes 1881-Garfield 1921-Harding 1925-Coolidge #> 0.3184664 0.3142280 0.3094660 0.3094559 0.3047923 #> 1825-Adams 1869-Grant 1789-Washington 1889-Harrison 1929-Hoover #> 0.3012266 0.2998153 0.2989348 0.2982264 0.2827083 #> 1805-Jefferson 1853-Pierce 1873-Grant 1833-Jackson 1937-Roosevelt #> 0.2824857 0.2824157 0.2775690 0.2755251 0.2754830 #> 1909-Taft 1893-Cleveland 2009-Obama 1885-Cleveland 1861-Lincoln #> 0.2749420 0.2689661 0.2634836 0.2621456 0.2600458 #> 1801-Jefferson 2001-Bush 2005-Bush 1829-Jackson 1933-Roosevelt #> 0.2574937 0.2567662 0.2529588 0.2523744 0.2502784 #> 2013-Obama 1917-Wilson 1961-Kennedy 1977-Carter 1941-Roosevelt #> 0.2474360 0.2447271 0.2432353 0.2370958 0.2361440 #> 1953-Eisenhower 1849-Taylor 1981-Reagan 2017-Trump 1949-Truman #> 0.2340376 0.2302868 0.2228786 0.2220188 0.2204151 #> 1985-Reagan 1965-Johnson 1913-Wilson 1969-Nixon 1997-Clinton #> 0.2176824 0.2144883 0.2075463 0.2056461 0.2021484 #> 1957-Eisenhower 1989-Bush 1905-Roosevelt 1973-Nixon 1993-Clinton #> 0.2011438 0.1994560 0.1878713 0.1867194 0.1823018 #> 1793-Washington 1945-Roosevelt #> 0.1689168 0.1403217 #> #> $`1817-Monroe` #> 1821-Monroe 1845-Polk 1857-Buchanan 1841-Harrison 1837-VanBuren #> 0.6780122 0.6351642 0.5960904 0.5732627 0.5729634 #> 1897-McKinley 1797-Adams 1833-Jackson 1881-Garfield 1877-Hayes #> 0.5565795 0.5530882 0.5525851 0.5514997 0.5478872 #> 1825-Adams 1889-Harrison 1901-McKinley 1853-Pierce 1885-Cleveland #> 0.5478671 0.5337781 0.5181861 0.5158348 0.5063416 #> 1925-Coolidge 1861-Lincoln 1789-Washington 1893-Cleveland 1829-Jackson #> 0.5007858 0.4889075 0.4846014 0.4817436 0.4774317 #> 1909-Taft 1849-Taylor 1805-Jefferson 1809-Madison 1873-Grant #> 0.4617145 0.4596575 0.4570969 0.4359321 0.4320012 #> 1869-Grant 1801-Jefferson 1937-Roosevelt 1929-Hoover 1981-Reagan #> 0.4284747 0.4284160 0.4198882 0.4193874 0.4141263 #> 1813-Madison 1985-Reagan 1933-Roosevelt 2013-Obama 1913-Wilson #> 0.4031643 0.3972248 0.3951706 0.3880594 0.3786985 #> 1917-Wilson 2009-Obama 1973-Nixon 1921-Harding 2001-Bush #> 0.3649074 0.3647328 0.3576379 0.3574769 0.3474119 #> 1989-Bush 1905-Roosevelt 1997-Clinton 1953-Eisenhower 1949-Truman #> 0.3469659 0.3433276 0.3424725 0.3405189 0.3360004 #> 1977-Carter 1965-Johnson 1969-Nixon 2017-Trump 2005-Bush #> 0.3350757 0.3313331 0.3141080 0.3123459 0.3088534 #> 1941-Roosevelt 1957-Eisenhower 1865-Lincoln 1961-Kennedy 1993-Clinton #> 0.3075137 0.3068010 0.2938100 0.2905854 0.2776478 #> 1945-Roosevelt 1793-Washington #> 0.2162318 0.1968558 #> #> $`1821-Monroe` #> 1817-Monroe 1857-Buchanan 1845-Polk 1841-Harrison 1897-McKinley #> 0.6780122 0.5554701 0.5482109 0.5462281 0.5222933 #> 1881-Garfield 1837-VanBuren 1877-Hayes 1825-Adams 1901-McKinley #> 0.5053562 0.5001810 0.4915917 0.4904106 0.4831070 #> 1889-Harrison 1797-Adams 1833-Jackson 1853-Pierce 1909-Taft #> 0.4807164 0.4789038 0.4592448 0.4564194 0.4551790 #> 1925-Coolidge 1805-Jefferson 1861-Lincoln 1873-Grant 1789-Washington #> 0.4539886 0.4510927 0.4375524 0.4344653 0.4323771 #> 1813-Madison 1829-Jackson 1929-Hoover 1885-Cleveland 1801-Jefferson #> 0.4241582 0.4167947 0.3885872 0.3869920 0.3820065 #> 1869-Grant 1809-Madison 1937-Roosevelt 1893-Cleveland 1849-Taylor #> 0.3790175 0.3769666 0.3739482 0.3702455 0.3700986 #> 1913-Wilson 1933-Roosevelt 1917-Wilson 1985-Reagan 2013-Obama #> 0.3688911 0.3642001 0.3577942 0.3464932 0.3426786 #> 1921-Harding 1989-Bush 1981-Reagan 1905-Roosevelt 1957-Eisenhower #> 0.3391579 0.3349200 0.3241167 0.3184550 0.3174528 #> 2005-Bush 1997-Clinton 1865-Lincoln 2009-Obama 2017-Trump #> 0.3142614 0.3128877 0.3106593 0.3101363 0.3065480 #> 2001-Bush 1953-Eisenhower 1949-Truman 1965-Johnson 1973-Nixon #> 0.3049073 0.3026077 0.3001338 0.2991746 0.2979595 #> 1941-Roosevelt 1969-Nixon 1961-Kennedy 1977-Carter 1993-Clinton #> 0.2819306 0.2778631 0.2764333 0.2754179 0.2480370 #> 1793-Washington 1945-Roosevelt #> 0.2114673 0.2058262 #> #> $`1825-Adams` #> 1845-Polk 1877-Hayes 1841-Harrison 1817-Monroe 1833-Jackson #> 0.6198909 0.5639725 0.5516185 0.5478671 0.5410300 #> 1881-Garfield 1853-Pierce 1797-Adams 1837-VanBuren 1897-McKinley #> 0.5397509 0.5384987 0.5131715 0.5126576 0.4918218 #> 1857-Buchanan 1821-Monroe 1885-Cleveland 1861-Lincoln 1889-Harrison #> 0.4917329 0.4904106 0.4836913 0.4832790 0.4752377 #> 1925-Coolidge 1901-McKinley 1929-Hoover 1801-Jefferson 1849-Taylor #> 0.4717333 0.4664547 0.4516753 0.4418791 0.4325683 #> 1829-Jackson 1805-Jefferson 1809-Madison 1873-Grant 1789-Washington #> 0.4299760 0.4266013 0.4187171 0.4113819 0.4054455 #> 1909-Taft 1893-Cleveland 1869-Grant 1937-Roosevelt 1917-Wilson #> 0.3999511 0.3999217 0.3914602 0.3904159 0.3716468 #> 1985-Reagan 1981-Reagan 1913-Wilson 1933-Roosevelt 1921-Harding #> 0.3627623 0.3473596 0.3450651 0.3399631 0.3312504 #> 1953-Eisenhower 1965-Johnson 2013-Obama 2005-Bush 1957-Eisenhower #> 0.3273170 0.3266815 0.3193539 0.3151142 0.3143919 #> 1949-Truman 1813-Madison 2001-Bush 1997-Clinton 1941-Roosevelt #> 0.3025921 0.3012266 0.2992344 0.2970230 0.2899042 #> 2009-Obama 1973-Nixon 1977-Carter 1989-Bush 1969-Nixon #> 0.2885442 0.2875377 0.2844175 0.2786179 0.2728116 #> 1865-Lincoln 1905-Roosevelt 2017-Trump 1961-Kennedy 1945-Roosevelt #> 0.2665008 0.2661110 0.2546325 0.2411087 0.2159631 #> 1993-Clinton 1793-Washington #> 0.2098636 0.1983800 #> #> $`1829-Jackson` #> 1845-Polk 1841-Harrison 1817-Monroe 1885-Cleveland 1849-Taylor #> 0.4815059 0.4795729 0.4774317 0.4759167 0.4747463 #> 1797-Adams 1897-McKinley 1857-Buchanan 1893-Cleveland 1805-Jefferson #> 0.4677588 0.4577536 0.4538658 0.4501589 0.4469649 #> 1889-Harrison 1853-Pierce 1825-Adams 1833-Jackson 1837-VanBuren #> 0.4465486 0.4312252 0.4299760 0.4291609 0.4275538 #> 1877-Hayes 1789-Washington 1821-Monroe 1881-Garfield 1861-Lincoln #> 0.4271811 0.4168405 0.4167947 0.4155535 0.4088823 #> 1901-McKinley 1809-Madison 1909-Taft 1801-Jefferson 1929-Hoover #> 0.3921074 0.3916429 0.3836330 0.3788433 0.3782512 #> 1925-Coolidge 1933-Roosevelt 1869-Grant 1937-Roosevelt 1873-Grant #> 0.3638898 0.3595049 0.3348799 0.3267945 0.3161537 #> 1981-Reagan 1921-Harding 1953-Eisenhower 1917-Wilson 2013-Obama #> 0.2897942 0.2833742 0.2832473 0.2828444 0.2716377 #> 1985-Reagan 2009-Obama 2001-Bush 1793-Washington 1977-Carter #> 0.2696598 0.2628820 0.2615693 0.2585234 0.2559296 #> 1961-Kennedy 1957-Eisenhower 1949-Truman 1813-Madison 2005-Bush #> 0.2549265 0.2546078 0.2542158 0.2523744 0.2468658 #> 1969-Nixon 1913-Wilson 1973-Nixon 1989-Bush 1997-Clinton #> 0.2382507 0.2360722 0.2337291 0.2313818 0.2253343 #> 1905-Roosevelt 1945-Roosevelt 1865-Lincoln 1993-Clinton 1965-Johnson #> 0.2249041 0.2175763 0.2142879 0.2081766 0.2013386 #> 1941-Roosevelt 2017-Trump #> 0.1977163 0.1906166 #> #> $`1833-Jackson` #> 1845-Polk 1817-Monroe 1841-Harrison 1825-Adams 1881-Garfield #> 0.6426916 0.5525851 0.5415332 0.5410300 0.5367686 #> 1857-Buchanan 1897-McKinley 1797-Adams 1861-Lincoln 1877-Hayes #> 0.5226638 0.5210049 0.5153468 0.5055376 0.4962019 #> 1837-VanBuren 1885-Cleveland 1853-Pierce 1901-McKinley 1889-Harrison #> 0.4931985 0.4931490 0.4923211 0.4887053 0.4811084 #> 1893-Cleveland 1821-Monroe 1801-Jefferson 1929-Hoover 1829-Jackson #> 0.4655200 0.4592448 0.4404977 0.4338198 0.4291609 #> 1925-Coolidge 1789-Washington 1937-Roosevelt 1909-Taft 1981-Reagan #> 0.4289094 0.4217155 0.4142112 0.3993345 0.3983167 #> 1849-Taylor 1985-Reagan 1805-Jefferson 1873-Grant 1921-Harding #> 0.3975069 0.3946123 0.3865863 0.3742959 0.3537451 #> 1869-Grant 2013-Obama 1917-Wilson 1933-Roosevelt 1809-Madison #> 0.3494556 0.3485030 0.3394590 0.3382224 0.3367252 #> 1965-Johnson 1969-Nixon 1949-Truman 1997-Clinton 1973-Nixon #> 0.3220625 0.3156987 0.3107441 0.3080866 0.2987847 #> 1977-Carter 2009-Obama 1953-Eisenhower 1957-Eisenhower 1993-Clinton #> 0.2968750 0.2959844 0.2935102 0.2920183 0.2880758 #> 2001-Bush 1913-Wilson 2005-Bush 1941-Roosevelt 1813-Madison #> 0.2857197 0.2789116 0.2777048 0.2764320 0.2755251 #> 1989-Bush 1905-Roosevelt 2017-Trump 1961-Kennedy 1793-Washington #> 0.2714333 0.2672488 0.2658828 0.2642527 0.2547380 #> 1865-Lincoln 1945-Roosevelt #> 0.2165168 0.1942862 #> #> $`1837-VanBuren` #> 1841-Harrison 1853-Pierce 1817-Monroe 1897-McKinley 1845-Polk #> 0.6187139 0.5796578 0.5729634 0.5677958 0.5586294 #> 1797-Adams 1877-Hayes 1893-Cleveland 1857-Buchanan 1881-Garfield #> 0.5493764 0.5428807 0.5339985 0.5278199 0.5154719 #> 1885-Cleveland 1825-Adams 1889-Harrison 1925-Coolidge 1821-Monroe #> 0.5138522 0.5126576 0.5115589 0.5099124 0.5001810 #> 1833-Jackson 1861-Lincoln 1789-Washington 1901-McKinley 1929-Hoover #> 0.4931985 0.4889544 0.4887766 0.4718514 0.4602279 #> 1909-Taft 1801-Jefferson 1805-Jefferson 1937-Roosevelt 2013-Obama #> 0.4544400 0.4512661 0.4390293 0.4388703 0.4367400 #> 1873-Grant 1829-Jackson 1869-Grant 1981-Reagan 1849-Taylor #> 0.4350170 0.4275538 0.4273528 0.4235442 0.4229689 #> 1985-Reagan 1933-Roosevelt 2009-Obama 1917-Wilson 1809-Madison #> 0.4229021 0.4146225 0.4129316 0.4099271 0.4062390 #> 1997-Clinton 1905-Roosevelt 2001-Bush 1921-Harding 1953-Eisenhower #> 0.3960073 0.3918307 0.3844228 0.3838768 0.3801474 #> 1913-Wilson 1957-Eisenhower 2005-Bush 1813-Madison 2017-Trump #> 0.3730571 0.3648752 0.3586770 0.3550724 0.3528903 #> 1977-Carter 1949-Truman 1969-Nixon 1973-Nixon 1941-Roosevelt #> 0.3503372 0.3477542 0.3433487 0.3409275 0.3373180 #> 1965-Johnson 1989-Bush 1961-Kennedy 1993-Clinton 1793-Washington #> 0.3372832 0.3265105 0.3153838 0.3074947 0.2576823 #> 1865-Lincoln 1945-Roosevelt #> 0.2500113 0.2280308 #> #> $`1841-Harrison` #> 1845-Polk 1857-Buchanan 1837-VanBuren 1861-Lincoln 1897-McKinley #> 0.6483972 0.6194990 0.6187139 0.6160518 0.6148581 #> 1881-Garfield 1853-Pierce 1797-Adams 1889-Harrison 1817-Monroe #> 0.6137943 0.5981321 0.5969216 0.5842358 0.5732627 #> 1877-Hayes 1825-Adams 1821-Monroe 1833-Jackson 1885-Cleveland #> 0.5657618 0.5516185 0.5462281 0.5415332 0.5354903 #> 1925-Coolidge 1893-Cleveland 1901-McKinley 1909-Taft 1789-Washington #> 0.5220654 0.5172825 0.5114825 0.5055698 0.4950030 #> 1829-Jackson 1873-Grant 1801-Jefferson 1929-Hoover 1937-Roosevelt #> 0.4795729 0.4784356 0.4732221 0.4704197 0.4628687 #> 1849-Taylor 1805-Jefferson 1933-Roosevelt 1869-Grant 1917-Wilson #> 0.4626458 0.4511929 0.4198525 0.4143601 0.4038270 #> 1981-Reagan 2013-Obama 1985-Reagan 1809-Madison 1913-Wilson #> 0.3970450 0.3863257 0.3861138 0.3846047 0.3793866 #> 2005-Bush 1953-Eisenhower 1957-Eisenhower 2001-Bush 1921-Harding #> 0.3769007 0.3621996 0.3618367 0.3547999 0.3517532 #> 1989-Bush 2009-Obama 1977-Carter 1997-Clinton 1905-Roosevelt #> 0.3502181 0.3413496 0.3408687 0.3349729 0.3339712 #> 2017-Trump 1813-Madison 1941-Roosevelt 1965-Johnson 1969-Nixon #> 0.3327232 0.3284921 0.3253140 0.3249027 0.3084443 #> 1949-Truman 1961-Kennedy 1973-Nixon 1793-Washington 1993-Clinton #> 0.2994897 0.2949488 0.2724012 0.2664451 0.2642458 #> 1865-Lincoln 1945-Roosevelt #> 0.2252025 0.2210487 #> #> $`1845-Polk` #> 1841-Harrison 1833-Jackson 1857-Buchanan 1817-Monroe 1825-Adams #> 0.6483972 0.6426916 0.6396703 0.6351642 0.6198909 #> 1861-Lincoln 1881-Garfield 1897-McKinley 1877-Hayes 1837-VanBuren #> 0.6120211 0.6078118 0.5884008 0.5666338 0.5586294 #> 1853-Pierce 1821-Monroe 1885-Cleveland 1889-Harrison 1797-Adams #> 0.5576272 0.5482109 0.5465415 0.5389545 0.5359657 #> 1901-McKinley 1909-Taft 1929-Hoover 1893-Cleveland 1829-Jackson #> 0.5101124 0.5053410 0.4897848 0.4832683 0.4815059 #> 1925-Coolidge 1789-Washington 1849-Taylor 1801-Jefferson 1805-Jefferson #> 0.4761057 0.4757382 0.4639995 0.4623056 0.4591937 #> 1937-Roosevelt 1869-Grant 1873-Grant 1981-Reagan 1985-Reagan #> 0.4489866 0.4248001 0.3986676 0.3945872 0.3909127 #> 1809-Madison 1933-Roosevelt 1921-Harding 1953-Eisenhower 1813-Madison #> 0.3838703 0.3602193 0.3557354 0.3438238 0.3433127 #> 1917-Wilson 2013-Obama 1913-Wilson 1949-Truman 1997-Clinton #> 0.3418552 0.3386331 0.3299392 0.3236521 0.3209260 #> 2005-Bush 1977-Carter 2017-Trump 1989-Bush 1957-Eisenhower #> 0.3201896 0.3108614 0.3010016 0.2995063 0.2963222 #> 1973-Nixon 1965-Johnson 2009-Obama 2001-Bush 1969-Nixon #> 0.2920521 0.2915006 0.2913341 0.2908441 0.2864377 #> 1941-Roosevelt 1905-Roosevelt 1961-Kennedy 1865-Lincoln 1993-Clinton #> 0.2744638 0.2593193 0.2586039 0.2528153 0.2483582 #> 1793-Washington 1945-Roosevelt #> 0.2405013 0.2117474 #> #> $`1849-Taylor` #> 1857-Buchanan 1885-Cleveland 1889-Harrison 1829-Jackson 1897-McKinley #> 0.4948317 0.4873232 0.4831967 0.4747463 0.4641136 #> 1845-Polk 1841-Harrison 1817-Monroe 1877-Hayes 1901-McKinley #> 0.4639995 0.4626458 0.4596575 0.4471668 0.4443256 #> 1853-Pierce 1825-Adams 1861-Lincoln 1881-Garfield 1837-VanBuren #> 0.4334040 0.4325683 0.4291235 0.4236965 0.4229689 #> 1797-Adams 1909-Taft 1833-Jackson 1801-Jefferson 1793-Washington #> 0.4184968 0.3980936 0.3975069 0.3908681 0.3806078 #> 1893-Cleveland 1789-Washington 1805-Jefferson 1821-Monroe 1869-Grant #> 0.3775184 0.3737432 0.3728549 0.3700986 0.3632308 #> 1873-Grant 1925-Coolidge 1933-Roosevelt 1929-Hoover 1917-Wilson #> 0.3560504 0.3425089 0.3274632 0.3204244 0.3063618 #> 1937-Roosevelt 1981-Reagan 1921-Harding 1809-Madison 1953-Eisenhower #> 0.3050574 0.2946135 0.2935900 0.2931447 0.2831229 #> 1913-Wilson 2009-Obama 1973-Nixon 1945-Roosevelt 1985-Reagan #> 0.2808660 0.2745784 0.2648700 0.2605577 0.2604236 #> 1961-Kennedy 2001-Bush 1865-Lincoln 2013-Obama 1969-Nixon #> 0.2552466 0.2545149 0.2479829 0.2454837 0.2431879 #> 1997-Clinton 1905-Roosevelt 1813-Madison 2017-Trump 1977-Carter #> 0.2329438 0.2325670 0.2302868 0.2293634 0.2258813 #> 1989-Bush 1957-Eisenhower 1949-Truman 1965-Johnson 2005-Bush #> 0.2186598 0.2173703 0.2146147 0.2130845 0.2048017 #> 1993-Clinton 1941-Roosevelt #> 0.1979385 0.1974117 #> #> $`1853-Pierce` #> 1841-Harrison 1837-VanBuren 1897-McKinley 1845-Polk 1881-Garfield #> 0.5981321 0.5796578 0.5763556 0.5576272 0.5516379 #> 1877-Hayes 1825-Adams 1889-Harrison 1861-Lincoln 1925-Coolidge #> 0.5391533 0.5384987 0.5378343 0.5373457 0.5303339 #> 1817-Monroe 1857-Buchanan 1833-Jackson 1929-Hoover 1885-Cleveland #> 0.5158348 0.5146579 0.4923211 0.4862787 0.4844039 #> 1909-Taft 1797-Adams 1893-Cleveland 1917-Wilson 1901-McKinley #> 0.4820099 0.4809946 0.4796501 0.4693650 0.4611148 #> 1873-Grant 1821-Monroe 1801-Jefferson 1789-Washington 1933-Roosevelt #> 0.4569637 0.4564194 0.4473907 0.4457685 0.4399644 #> 1849-Taylor 1829-Jackson 1953-Eisenhower 1921-Harding 1937-Roosevelt #> 0.4334040 0.4312252 0.4293287 0.4284626 0.4281299 #> 1981-Reagan 1805-Jefferson 1869-Grant 2009-Obama 2013-Obama #> 0.4275741 0.4223593 0.4178943 0.4139509 0.4101503 #> 1977-Carter 1809-Madison 1985-Reagan 1913-Wilson 1957-Eisenhower #> 0.4082791 0.4074361 0.4039254 0.3992348 0.3902983 #> 1997-Clinton 2001-Bush 1905-Roosevelt 1989-Bush 1973-Nixon #> 0.3691096 0.3689380 0.3685394 0.3666865 0.3663727 #> 1965-Johnson 1949-Truman 1969-Nixon 2005-Bush 1961-Kennedy #> 0.3645780 0.3576912 0.3508435 0.3503059 0.3448044 #> 1941-Roosevelt 1993-Clinton 2017-Trump 1813-Madison 1865-Lincoln #> 0.3306715 0.3046861 0.3006301 0.2824157 0.2589203 #> 1945-Roosevelt 1793-Washington #> 0.2466193 0.2414243 #> #> $`1857-Buchanan` #> 1845-Polk 1841-Harrison 1881-Garfield 1861-Lincoln 1817-Monroe #> 0.6396703 0.6194990 0.6061360 0.6047282 0.5960904 #> 1889-Harrison 1797-Adams 1897-McKinley 1821-Monroe 1877-Hayes #> 0.5851107 0.5795111 0.5785823 0.5554701 0.5502087 #> 1837-VanBuren 1833-Jackson 1853-Pierce 1885-Cleveland 1901-McKinley #> 0.5278199 0.5226638 0.5146579 0.5117322 0.5037391 #> 1849-Taylor 1825-Adams 1909-Taft 1829-Jackson 1805-Jefferson #> 0.4948317 0.4917329 0.4739109 0.4538658 0.4532646 #> 1789-Washington 1925-Coolidge 1869-Grant 1873-Grant 1801-Jefferson #> 0.4495999 0.4493087 0.4489885 0.4396369 0.4271501 #> 1893-Cleveland 1929-Hoover 1937-Roosevelt 1933-Roosevelt 1953-Eisenhower #> 0.4255244 0.4188645 0.3967809 0.3962336 0.3721514 #> 1917-Wilson 1957-Eisenhower 1809-Madison 1813-Madison 1985-Reagan #> 0.3636412 0.3554342 0.3534408 0.3530153 0.3474181 #> 1921-Harding 1949-Truman 1981-Reagan 1913-Wilson 2005-Bush #> 0.3454640 0.3361676 0.3335269 0.3260319 0.3246647 #> 1793-Washington 2013-Obama 2009-Obama 1989-Bush 2001-Bush #> 0.3196486 0.3131931 0.3122723 0.3019823 0.3017249 #> 2017-Trump 1865-Lincoln 1961-Kennedy 1941-Roosevelt 1965-Johnson #> 0.2985968 0.2966087 0.2935301 0.2933626 0.2898779 #> 1969-Nixon 1977-Carter 1997-Clinton 1905-Roosevelt 1973-Nixon #> 0.2871253 0.2864052 0.2852568 0.2797356 0.2768238 #> 1945-Roosevelt 1993-Clinton #> 0.2752324 0.2384464 #> #> $`1861-Lincoln` #> 1881-Garfield 1841-Harrison 1845-Polk 1857-Buchanan 1897-McKinley #> 0.6449963 0.6160518 0.6120211 0.6047282 0.5544986 #> 1889-Harrison 1853-Pierce 1833-Jackson 1797-Adams 1925-Coolidge #> 0.5529284 0.5373457 0.5055376 0.5052006 0.5024294 #> 1909-Taft 1877-Hayes 1837-VanBuren 1817-Monroe 1825-Adams #> 0.5002338 0.4957879 0.4889544 0.4889075 0.4832790 #> 1885-Cleveland 1901-McKinley 1893-Cleveland 1929-Hoover 1789-Washington #> 0.4826026 0.4723492 0.4593792 0.4519587 0.4390104 #> 1821-Monroe 1849-Taylor 1933-Roosevelt 1937-Roosevelt 1829-Jackson #> 0.4375524 0.4291235 0.4160356 0.4095313 0.4088823 #> 1801-Jefferson 1869-Grant 1873-Grant 1805-Jefferson 1985-Reagan #> 0.4043596 0.4025477 0.4003627 0.3898931 0.3746371 #> 1921-Harding 1917-Wilson 1981-Reagan 1957-Eisenhower 2013-Obama #> 0.3674586 0.3657044 0.3542295 0.3461898 0.3453801 #> 1977-Carter 1969-Nixon 1953-Eisenhower 1793-Washington 1913-Wilson #> 0.3438505 0.3361165 0.3348920 0.3345452 0.3318772 #> 1965-Johnson 1949-Truman 1809-Madison 1989-Bush 2009-Obama #> 0.3305194 0.3244856 0.3086737 0.3064260 0.3063815 #> 2005-Bush 1997-Clinton 2017-Trump 1973-Nixon 1945-Roosevelt #> 0.2965053 0.2962007 0.2846567 0.2753212 0.2729035 #> 1993-Clinton 1865-Lincoln 2001-Bush 1813-Madison 1961-Kennedy #> 0.2676464 0.2653931 0.2609850 0.2600458 0.2594003 #> 1941-Roosevelt 1905-Roosevelt #> 0.2411808 0.2381815 #> #> $`1865-Lincoln` #> 1813-Madison 1821-Monroe 1921-Harding 1965-Johnson 1973-Nixon #> 0.3386436 0.3106593 0.3074931 0.3056071 0.3044307 #> 1917-Wilson 1901-McKinley 1857-Buchanan 1817-Monroe 2009-Obama #> 0.3012913 0.2968789 0.2966087 0.2938100 0.2925002 #> 1985-Reagan 2013-Obama 1961-Kennedy 1889-Harrison 1897-McKinley #> 0.2919767 0.2883459 0.2879914 0.2782124 0.2774345 #> 1869-Grant 1805-Jefferson 1825-Adams 1945-Roosevelt 1861-Lincoln #> 0.2694062 0.2678333 0.2665008 0.2659131 0.2653931 #> 1969-Nixon 1997-Clinton 1853-Pierce 1801-Jefferson 1953-Eisenhower #> 0.2615734 0.2600949 0.2589203 0.2586492 0.2582410 #> 1881-Garfield 1909-Taft 1845-Polk 1837-VanBuren 1849-Taylor #> 0.2548352 0.2529331 0.2528153 0.2500113 0.2479829 #> 1981-Reagan 1933-Roosevelt 1993-Clinton 1989-Bush 1873-Grant #> 0.2435669 0.2350899 0.2330089 0.2322965 0.2305964 #> 1877-Hayes 1913-Wilson 1841-Harrison 1957-Eisenhower 1925-Coolidge #> 0.2297300 0.2256281 0.2252025 0.2234429 0.2233099 #> 1977-Carter 1937-Roosevelt 1833-Jackson 1829-Jackson 1885-Cleveland #> 0.2200503 0.2171085 0.2165168 0.2142879 0.2105634 #> 1929-Hoover 2001-Bush 1789-Washington 1941-Roosevelt 1905-Roosevelt #> 0.2102154 0.2082204 0.2025278 0.2019959 0.2002616 #> 1797-Adams 1949-Truman 2005-Bush 1893-Cleveland 2017-Trump #> 0.1983089 0.1931231 0.1877917 0.1864636 0.1853258 #> 1809-Madison 1793-Washington #> 0.1575984 0.1514973 #> #> $`1869-Grant` #> 1877-Hayes 1897-McKinley 1857-Buchanan 1889-Harrison 1817-Monroe #> 0.5007538 0.4858413 0.4489885 0.4348941 0.4284747 #> 1837-VanBuren 1845-Polk 1873-Grant 1853-Pierce 1841-Harrison #> 0.4273528 0.4248001 0.4225316 0.4178943 0.4143601 #> 1881-Garfield 1909-Taft 1925-Coolidge 1797-Adams 1901-McKinley #> 0.4106883 0.4091160 0.4081064 0.4068049 0.4049670 #> 1861-Lincoln 1825-Adams 1821-Monroe 1805-Jefferson 1789-Washington #> 0.4025477 0.3914602 0.3790175 0.3750637 0.3696706 #> 1893-Cleveland 1885-Cleveland 1929-Hoover 1849-Taylor 1801-Jefferson #> 0.3667572 0.3650494 0.3648327 0.3632308 0.3562158 #> 1833-Jackson 2009-Obama 2013-Obama 1985-Reagan 2001-Bush #> 0.3494556 0.3476426 0.3473703 0.3397694 0.3388658 #> 1809-Madison 1933-Roosevelt 1829-Jackson 1981-Reagan 1937-Roosevelt #> 0.3372091 0.3371035 0.3348799 0.3243818 0.3170903 #> 1965-Johnson 2005-Bush 1997-Clinton 1813-Madison 1913-Wilson #> 0.3134386 0.3080354 0.3003409 0.2998153 0.2960787 #> 1953-Eisenhower 1921-Harding 2017-Trump 1917-Wilson 1957-Eisenhower #> 0.2959296 0.2955317 0.2932941 0.2865710 0.2847335 #> 1969-Nixon 1977-Carter 1961-Kennedy 1973-Nixon 1949-Truman #> 0.2843531 0.2784437 0.2747716 0.2726962 0.2714465 #> 1865-Lincoln 1989-Bush 1905-Roosevelt 1941-Roosevelt 1793-Washington #> 0.2694062 0.2588364 0.2519137 0.2496253 0.2480586 #> 1993-Clinton 1945-Roosevelt #> 0.2186438 0.1710502 #> #> $`1873-Grant` #> 1841-Harrison 1897-McKinley 1877-Hayes 1881-Garfield 1853-Pierce #> 0.4784356 0.4762143 0.4712045 0.4609127 0.4569637 #> 1889-Harrison 1857-Buchanan 1837-VanBuren 1821-Monroe 1817-Monroe #> 0.4435992 0.4396369 0.4350170 0.4344653 0.4320012 #> 1925-Coolidge 1869-Grant 1901-McKinley 1797-Adams 1825-Adams #> 0.4312804 0.4225316 0.4213660 0.4208325 0.4113819 #> 1909-Taft 1861-Lincoln 1845-Polk 1937-Roosevelt 1833-Jackson #> 0.4010777 0.4003627 0.3986676 0.3802303 0.3742959 #> 1929-Hoover 1893-Cleveland 1885-Cleveland 1985-Reagan 1933-Roosevelt #> 0.3725151 0.3683382 0.3670283 0.3596551 0.3573361 #> 1849-Taylor 1789-Washington 1801-Jefferson 1921-Harding 1981-Reagan #> 0.3560504 0.3524557 0.3507179 0.3469209 0.3406648 #> 1917-Wilson 1953-Eisenhower 1989-Bush 1969-Nixon 1829-Jackson #> 0.3296023 0.3267014 0.3252964 0.3203397 0.3161537 #> 1965-Johnson 1809-Madison 2009-Obama 1805-Jefferson 2013-Obama #> 0.3139855 0.3130805 0.3130723 0.3129751 0.3097694 #> 1997-Clinton 1949-Truman 1977-Carter 1913-Wilson 2017-Trump #> 0.3095522 0.3074668 0.3053836 0.3053576 0.3052610 #> 1973-Nixon 1905-Roosevelt 2001-Bush 1957-Eisenhower 2005-Bush #> 0.3029232 0.2981955 0.2950418 0.2871959 0.2837963 #> 1813-Madison 1961-Kennedy 1941-Roosevelt 1993-Clinton 1865-Lincoln #> 0.2775690 0.2751252 0.2514531 0.2460133 0.2305964 #> 1793-Washington 1945-Roosevelt #> 0.2031950 0.1893489 #> #> $`1877-Hayes` #> 1897-McKinley 1845-Polk 1841-Harrison 1825-Adams 1889-Harrison #> 0.6148244 0.5666338 0.5657618 0.5639725 0.5535451 #> 1881-Garfield 1857-Buchanan 1817-Monroe 1837-VanBuren 1853-Pierce #> 0.5523172 0.5502087 0.5478872 0.5428807 0.5391533 #> 1885-Cleveland 1797-Adams 1925-Coolidge 1901-McKinley 1869-Grant #> 0.5259991 0.5190976 0.5141566 0.5081075 0.5007538 #> 1833-Jackson 1861-Lincoln 1929-Hoover 1821-Monroe 1909-Taft #> 0.4962019 0.4957879 0.4930264 0.4915917 0.4841241 #> 1893-Cleveland 1873-Grant 1849-Taylor 1789-Washington 1829-Jackson #> 0.4782154 0.4712045 0.4471668 0.4462200 0.4271811 #> 1805-Jefferson 1801-Jefferson 1937-Roosevelt 1917-Wilson 1809-Madison #> 0.4226873 0.4149280 0.4062826 0.3838502 0.3805804 #> 2013-Obama 1933-Roosevelt 1953-Eisenhower 2001-Bush 1985-Reagan #> 0.3706975 0.3689886 0.3679318 0.3676962 0.3666063 #> 1913-Wilson 1981-Reagan 1921-Harding 2005-Bush 2009-Obama #> 0.3656512 0.3640111 0.3590946 0.3263778 0.3171187 #> 2017-Trump 1813-Madison 1997-Clinton 1957-Eisenhower 1949-Truman #> 0.3166383 0.3142280 0.3140842 0.3051636 0.3044000 #> 1989-Bush 1905-Roosevelt 1977-Carter 1965-Johnson 1973-Nixon #> 0.3042248 0.2926411 0.2922812 0.2877882 0.2856873 #> 1793-Washington 1961-Kennedy 1993-Clinton 1969-Nixon 1941-Roosevelt #> 0.2693419 0.2682365 0.2631935 0.2600284 0.2593804 #> 1865-Lincoln 1945-Roosevelt #> 0.2297300 0.2204688 #> #> $`1881-Garfield` #> 1861-Lincoln 1841-Harrison 1845-Polk 1889-Harrison 1857-Buchanan #> 0.6449963 0.6137943 0.6078118 0.6078097 0.6061360 #> 1897-McKinley 1901-McKinley 1797-Adams 1877-Hayes 1853-Pierce #> 0.5945837 0.5759267 0.5639119 0.5523172 0.5516379 #> 1817-Monroe 1825-Adams 1833-Jackson 1885-Cleveland 1909-Taft #> 0.5514997 0.5397509 0.5367686 0.5318723 0.5191776 #> 1837-VanBuren 1893-Cleveland 1821-Monroe 1925-Coolidge 1929-Hoover #> 0.5154719 0.5086534 0.5053562 0.4997961 0.4924467 #> 1937-Roosevelt 1873-Grant 1985-Reagan 1981-Reagan 1849-Taylor #> 0.4917521 0.4609127 0.4340529 0.4264969 0.4236965 #> 1933-Roosevelt 1801-Jefferson 1789-Washington 1829-Jackson 1869-Grant #> 0.4202929 0.4198924 0.4164610 0.4155535 0.4106883 #> 1917-Wilson 1997-Clinton 1921-Harding 2013-Obama 1969-Nixon #> 0.4058798 0.3968480 0.3947875 0.3933721 0.3866037 #> 1977-Carter 1913-Wilson 2009-Obama 1957-Eisenhower 1805-Jefferson #> 0.3859020 0.3857147 0.3826476 0.3775163 0.3747465 #> 1965-Johnson 1953-Eisenhower 2005-Bush 1989-Bush 1949-Truman #> 0.3710219 0.3705787 0.3686078 0.3683581 0.3636193 #> 1905-Roosevelt 1809-Madison 1973-Nixon 1941-Roosevelt 2001-Bush #> 0.3436293 0.3430237 0.3402723 0.3359560 0.3297729 #> 1961-Kennedy 2017-Trump 1993-Clinton 1813-Madison 1793-Washington #> 0.3232345 0.3186152 0.3155277 0.3094660 0.2690956 #> 1865-Lincoln 1945-Roosevelt #> 0.2548352 0.2297637 #> #> $`1885-Cleveland` #> 1893-Cleveland 1889-Harrison 1897-McKinley 1845-Polk 1841-Harrison #> 0.6159420 0.5680093 0.5648537 0.5465415 0.5354903 #> 1797-Adams 1881-Garfield 1877-Hayes 1837-VanBuren 1857-Buchanan #> 0.5350306 0.5318723 0.5259991 0.5138522 0.5117322 #> 1817-Monroe 1901-McKinley 1833-Jackson 1849-Taylor 1853-Pierce #> 0.5063416 0.4938518 0.4931490 0.4873232 0.4844039 #> 1825-Adams 1861-Lincoln 1929-Hoover 1829-Jackson 1925-Coolidge #> 0.4836913 0.4826026 0.4823712 0.4759167 0.4387243 #> 1801-Jefferson 1789-Washington 1937-Roosevelt 1909-Taft 1805-Jefferson #> 0.4357210 0.4313620 0.4304126 0.4251693 0.4177469 #> 1821-Monroe 1981-Reagan 1985-Reagan 1921-Harding 1873-Grant #> 0.3869920 0.3764987 0.3723539 0.3674313 0.3670283 #> 1869-Grant 1933-Roosevelt 1953-Eisenhower 2013-Obama 1997-Clinton #> 0.3650494 0.3637184 0.3555655 0.3414678 0.3337732 #> 1917-Wilson 1913-Wilson 1793-Washington 1973-Nixon 1969-Nixon #> 0.3308948 0.3243492 0.3236520 0.3142944 0.3106038 #> 2017-Trump 2001-Bush 1809-Madison 1905-Roosevelt 2009-Obama #> 0.3096608 0.3058224 0.3039879 0.3015684 0.2986415 #> 1949-Truman 1977-Carter 1941-Roosevelt 1957-Eisenhower 1993-Clinton #> 0.2954619 0.2884110 0.2836393 0.2830985 0.2794881 #> 1965-Johnson 1989-Bush 2005-Bush 1813-Madison 1961-Kennedy #> 0.2753046 0.2672929 0.2652376 0.2621456 0.2467103 #> 1945-Roosevelt 1865-Lincoln #> 0.2366080 0.2105634 #> #> $`1889-Harrison` #> 1897-McKinley 1881-Garfield 1857-Buchanan 1841-Harrison 1885-Cleveland #> 0.6390005 0.6078097 0.5851107 0.5842358 0.5680093 #> 1901-McKinley 1877-Hayes 1861-Lincoln 1797-Adams 1845-Polk #> 0.5543323 0.5535451 0.5529284 0.5519249 0.5389545 #> 1853-Pierce 1817-Monroe 1893-Cleveland 1909-Taft 1837-VanBuren #> 0.5378343 0.5337781 0.5217156 0.5171843 0.5115589 #> 1929-Hoover 1925-Coolidge 1849-Taylor 1833-Jackson 1821-Monroe #> 0.5112906 0.4850495 0.4831967 0.4811084 0.4807164 #> 1825-Adams 1829-Jackson 1873-Grant 1937-Roosevelt 1869-Grant #> 0.4752377 0.4465486 0.4435992 0.4358355 0.4348941 #> 1805-Jefferson 1953-Eisenhower 1933-Roosevelt 1913-Wilson 1917-Wilson #> 0.4300174 0.4115962 0.4053466 0.4039950 0.4039602 #> 1789-Washington 1921-Harding 1801-Jefferson 1957-Eisenhower 1985-Reagan #> 0.3971131 0.3909974 0.3826020 0.3713340 0.3633258 #> 1809-Madison 1981-Reagan 2013-Obama 2009-Obama 1965-Johnson #> 0.3627096 0.3607947 0.3600069 0.3517380 0.3488428 #> 1997-Clinton 1989-Bush 1977-Carter 1969-Nixon 1905-Roosevelt #> 0.3455750 0.3450895 0.3381240 0.3372467 0.3364139 #> 1949-Truman 2001-Bush 1941-Roosevelt 2005-Bush 2017-Trump #> 0.3303359 0.3263570 0.3214941 0.3181727 0.3132196 #> 1973-Nixon 1813-Madison 1993-Clinton 1793-Washington 1865-Lincoln #> 0.3030936 0.2982264 0.2910656 0.2902385 0.2782124 #> 1961-Kennedy 1945-Roosevelt #> 0.2660145 0.2573714 #> #> $`1893-Cleveland` #> 1885-Cleveland 1897-McKinley 1837-VanBuren 1889-Harrison 1841-Harrison #> 0.6159420 0.5654514 0.5339985 0.5217156 0.5172825 #> 1881-Garfield 1845-Polk 1929-Hoover 1817-Monroe 1797-Adams #> 0.5086534 0.4832683 0.4826789 0.4817436 0.4804623 #> 1853-Pierce 1901-McKinley 1877-Hayes 1833-Jackson 1925-Coolidge #> 0.4796501 0.4784883 0.4782154 0.4655200 0.4627866 #> 1861-Lincoln 1829-Jackson 1937-Roosevelt 1789-Washington 1909-Taft #> 0.4593792 0.4501589 0.4356557 0.4354953 0.4344032 #> 1857-Buchanan 1981-Reagan 1985-Reagan 2013-Obama 1933-Roosevelt #> 0.4255244 0.4217664 0.4197610 0.4134454 0.4056215 #> 1801-Jefferson 1825-Adams 2009-Obama 1953-Eisenhower 1849-Taylor #> 0.4018160 0.3999217 0.3829927 0.3793939 0.3775184 #> 1821-Monroe 1921-Harding 1977-Carter 1873-Grant 1997-Clinton #> 0.3702455 0.3696623 0.3683400 0.3683382 0.3676091 #> 1869-Grant 1905-Roosevelt 1805-Jefferson 1917-Wilson 2001-Bush #> 0.3667572 0.3578266 0.3554303 0.3529746 0.3483731 #> 1969-Nixon 1965-Johnson 1913-Wilson 1993-Clinton 1941-Roosevelt #> 0.3475577 0.3426986 0.3368591 0.3320685 0.3100648 #> 1973-Nixon 1949-Truman 2017-Trump 1989-Bush 1957-Eisenhower #> 0.3086599 0.3061761 0.3036888 0.3029683 0.3021953 #> 1809-Madison 2005-Bush 1813-Madison 1961-Kennedy 1793-Washington #> 0.2935477 0.2903244 0.2689661 0.2593488 0.2289520 #> 1945-Roosevelt 1865-Lincoln #> 0.2088726 0.1864636 #> #> $`1897-McKinley` #> 1889-Harrison 1901-McKinley 1841-Harrison 1877-Hayes 1909-Taft #> 0.6390005 0.6234763 0.6148581 0.6148244 0.6006339 #> 1881-Garfield 1845-Polk 1925-Coolidge 1857-Buchanan 1853-Pierce #> 0.5945837 0.5884008 0.5855930 0.5785823 0.5763556 #> 1837-VanBuren 1893-Cleveland 1885-Cleveland 1929-Hoover 1817-Monroe #> 0.5677958 0.5654514 0.5648537 0.5585060 0.5565795 #> 1861-Lincoln 1797-Adams 1821-Monroe 1833-Jackson 1825-Adams #> 0.5544986 0.5502254 0.5222933 0.5210049 0.4918218 #> 1869-Grant 1933-Roosevelt 1873-Grant 1849-Taylor 1917-Wilson #> 0.4858413 0.4851295 0.4762143 0.4641136 0.4640254 #> 1789-Washington 1921-Harding 1829-Jackson 1937-Roosevelt 2013-Obama #> 0.4619723 0.4606746 0.4577536 0.4556285 0.4369620 #> 1985-Reagan 1953-Eisenhower 1981-Reagan 1913-Wilson 1957-Eisenhower #> 0.4329481 0.4276664 0.4253725 0.4177240 0.4015950 #> 1805-Jefferson 1801-Jefferson 1949-Truman 1989-Bush 2009-Obama #> 0.3874217 0.3866672 0.3861997 0.3720968 0.3679430 #> 1993-Clinton 1977-Carter 1997-Clinton 2017-Trump 1965-Johnson #> 0.3634187 0.3630253 0.3619130 0.3606982 0.3561084 #> 1809-Madison 2001-Bush 1905-Roosevelt 1969-Nixon 2005-Bush #> 0.3538514 0.3501477 0.3430636 0.3415327 0.3386054 #> 1973-Nixon 1813-Madison 1941-Roosevelt 1793-Washington 1865-Lincoln #> 0.3277971 0.3219408 0.3087282 0.2956474 0.2774345 #> 1961-Kennedy 1945-Roosevelt #> 0.2760306 0.2680773 #> #> $`1901-McKinley` #> 1897-McKinley 1881-Garfield 1889-Harrison 1817-Monroe 1841-Harrison #> 0.6234763 0.5759267 0.5543323 0.5181861 0.5114825 #> 1845-Polk 1877-Hayes 1857-Buchanan 1885-Cleveland 1797-Adams #> 0.5101124 0.5081075 0.5037391 0.4938518 0.4914204 #> 1833-Jackson 1909-Taft 1821-Monroe 1925-Coolidge 1893-Cleveland #> 0.4887053 0.4868713 0.4831070 0.4815348 0.4784883 #> 1929-Hoover 1937-Roosevelt 1861-Lincoln 1837-VanBuren 1825-Adams #> 0.4780894 0.4752240 0.4723492 0.4718514 0.4664547 #> 1853-Pierce 1917-Wilson 1849-Taylor 1985-Reagan 1921-Harding #> 0.4611148 0.4446057 0.4443256 0.4419497 0.4334307 #> 1873-Grant 1933-Roosevelt 2013-Obama 1981-Reagan 1869-Grant #> 0.4213660 0.4208310 0.4151365 0.4126744 0.4049670 #> 1829-Jackson 2009-Obama 1953-Eisenhower 1949-Truman 1801-Jefferson #> 0.3921074 0.3873509 0.3847295 0.3820340 0.3774343 #> 1813-Madison 1969-Nixon 1789-Washington 1989-Bush 1997-Clinton #> 0.3771536 0.3747539 0.3729026 0.3700422 0.3698683 #> 1973-Nixon 1913-Wilson 1957-Eisenhower 1905-Roosevelt 1977-Carter #> 0.3674009 0.3657744 0.3642923 0.3562556 0.3555812 #> 1805-Jefferson 1941-Roosevelt 1965-Johnson 2005-Bush 1809-Madison #> 0.3549842 0.3529824 0.3432966 0.3430009 0.3400705 #> 1993-Clinton 2001-Bush 2017-Trump 1865-Lincoln 1961-Kennedy #> 0.3303073 0.3203372 0.3088027 0.2968789 0.2783383 #> 1793-Washington 1945-Roosevelt #> 0.2597632 0.2550201 #> #> $`1905-Roosevelt` #> 2009-Obama 1985-Reagan 1997-Clinton 1981-Reagan 2013-Obama #> 0.46932976 0.45237741 0.44650231 0.44499092 0.44186171 #> 1989-Bush 1969-Nixon 1917-Wilson 1925-Coolidge 1965-Johnson #> 0.42552051 0.41523767 0.41186171 0.41015628 0.40846263 #> 1973-Nixon 1953-Eisenhower 1921-Harding 2001-Bush 1937-Roosevelt #> 0.40578063 0.40575819 0.40398865 0.39862012 0.39508613 #> 1977-Carter 1941-Roosevelt 1837-VanBuren 1993-Clinton 1913-Wilson #> 0.39372316 0.39319116 0.39183070 0.38735016 0.37963141 #> 1933-Roosevelt 1853-Pierce 1893-Cleveland 1901-McKinley 1929-Hoover #> 0.37076151 0.36853941 0.35782661 0.35625565 0.35567466 #> 1957-Eisenhower 1949-Truman 1881-Garfield 1817-Monroe 1961-Kennedy #> 0.35541440 0.35410232 0.34362928 0.34332757 0.34317261 #> 1897-McKinley 1889-Harrison 1841-Harrison 1797-Adams 1801-Jefferson #> 0.34306364 0.33641388 0.33397117 0.32974156 0.32364007 #> 1821-Monroe 2005-Bush 1885-Cleveland 1873-Grant 1877-Hayes #> 0.31845504 0.30490461 0.30156839 0.29819548 0.29264109 #> 1805-Jefferson 2017-Trump 1857-Buchanan 1945-Roosevelt 1909-Taft #> 0.29027487 0.28402536 0.27973562 0.27228514 0.26768962 #> 1833-Jackson 1825-Adams 1845-Polk 1869-Grant 1861-Lincoln #> 0.26724883 0.26611097 0.25931930 0.25191367 0.23818145 #> 1789-Washington 1849-Taylor 1809-Madison 1829-Jackson 1865-Lincoln #> 0.23699949 0.23256695 0.22974459 0.22490412 0.20026160 #> 1813-Madison 1793-Washington #> 0.18787127 0.09349731 #> #> $`1909-Taft` #> 1897-McKinley 1925-Coolidge 1881-Garfield 1889-Harrison 1841-Harrison #> 0.6006339 0.5322958 0.5191776 0.5171843 0.5055698 #> 1845-Polk 1861-Lincoln 1929-Hoover 1901-McKinley 1877-Hayes #> 0.5053410 0.5002338 0.4991355 0.4868713 0.4841241 #> 1853-Pierce 1857-Buchanan 1817-Monroe 1821-Monroe 1837-VanBuren #> 0.4820099 0.4739109 0.4617145 0.4551790 0.4544400 #> 1921-Harding 1893-Cleveland 1797-Adams 1885-Cleveland 1933-Roosevelt #> 0.4369934 0.4344032 0.4332924 0.4251693 0.4110003 #> 1937-Roosevelt 1869-Grant 1873-Grant 1825-Adams 1833-Jackson #> 0.4109187 0.4091160 0.4010777 0.3999511 0.3993345 #> 1789-Washington 1849-Taylor 1829-Jackson 1913-Wilson 1801-Jefferson #> 0.3987867 0.3980936 0.3836330 0.3795451 0.3706912 #> 1981-Reagan 1805-Jefferson 2013-Obama 1985-Reagan 1917-Wilson #> 0.3651933 0.3584920 0.3556185 0.3550064 0.3463976 #> 1953-Eisenhower 1949-Truman 1957-Eisenhower 1989-Bush 2009-Obama #> 0.3460538 0.3409707 0.3377490 0.3343668 0.3255123 #> 1997-Clinton 1977-Carter 1993-Clinton 1973-Nixon 1809-Madison #> 0.3111600 0.3089595 0.2963380 0.2958791 0.2937813 #> 2001-Bush 2005-Bush 1965-Johnson 1969-Nixon 2017-Trump #> 0.2935492 0.2919979 0.2872216 0.2810805 0.2792934 #> 1813-Madison 1905-Roosevelt 1961-Kennedy 1865-Lincoln 1945-Roosevelt #> 0.2749420 0.2676896 0.2624799 0.2529331 0.2433460 #> 1941-Roosevelt 1793-Washington #> 0.2416543 0.2256397 #> #> $`1913-Wilson` #> 1937-Roosevelt 1925-Coolidge 1917-Wilson 1897-McKinley 1929-Hoover #> 0.4604643 0.4471039 0.4384914 0.4177240 0.4071560 #> 1889-Harrison 1989-Bush 2009-Obama 1853-Pierce 1881-Garfield #> 0.4039950 0.4026653 0.4002097 0.3992348 0.3857147 #> 1965-Johnson 1997-Clinton 1905-Roosevelt 1909-Taft 1841-Harrison #> 0.3806983 0.3796865 0.3796314 0.3795451 0.3793866 #> 1817-Monroe 1837-VanBuren 1933-Roosevelt 1821-Monroe 1901-McKinley #> 0.3786985 0.3730571 0.3698387 0.3688911 0.3657744 #> 1877-Hayes 1981-Reagan 1985-Reagan 1921-Harding 1797-Adams #> 0.3656512 0.3606712 0.3585252 0.3574452 0.3569275 #> 1825-Adams 2013-Obama 1941-Roosevelt 1969-Nixon 1893-Cleveland #> 0.3450651 0.3422062 0.3421095 0.3372147 0.3368591 #> 1973-Nixon 2001-Bush 1861-Lincoln 1845-Polk 1789-Washington #> 0.3358531 0.3334160 0.3318772 0.3299392 0.3276281 #> 1857-Buchanan 1957-Eisenhower 1885-Cleveland 1801-Jefferson 1953-Eisenhower #> 0.3260319 0.3257373 0.3243492 0.3219044 0.3199213 #> 1977-Carter 2017-Trump 1873-Grant 2005-Bush 1869-Grant #> 0.3171919 0.3097255 0.3053576 0.3024197 0.2960787 #> 1849-Taylor 1993-Clinton 1833-Jackson 1961-Kennedy 1949-Truman #> 0.2808660 0.2802481 0.2789116 0.2777337 0.2709982 #> 1805-Jefferson 1945-Roosevelt 1829-Jackson 1865-Lincoln 1809-Madison #> 0.2634138 0.2608431 0.2360722 0.2256281 0.2182033 #> 1813-Madison 1793-Washington #> 0.2075463 0.1496481 #> #> $`1917-Wilson` #> 1953-Eisenhower 1853-Pierce 1897-McKinley 2009-Obama 1925-Coolidge #> 0.4799998 0.4693650 0.4640254 0.4465655 0.4447904 #> 1901-McKinley 1913-Wilson 1949-Truman 1969-Nixon 1957-Eisenhower #> 0.4446057 0.4384914 0.4312701 0.4304809 0.4278873 #> 1933-Roosevelt 1929-Hoover 1921-Harding 1937-Roosevelt 1985-Reagan #> 0.4237643 0.4237321 0.4228213 0.4210185 0.4134828 #> 1905-Roosevelt 1837-VanBuren 1881-Garfield 2013-Obama 1889-Harrison #> 0.4118617 0.4099271 0.4058798 0.4052630 0.4039602 #> 1841-Harrison 1973-Nixon 1989-Bush 1981-Reagan 1877-Hayes #> 0.4038270 0.4015050 0.3957107 0.3868836 0.3838502 #> 1997-Clinton 1961-Kennedy 1825-Adams 1977-Carter 1861-Lincoln #> 0.3767275 0.3733042 0.3716468 0.3675058 0.3657044 #> 1817-Monroe 1857-Buchanan 1941-Roosevelt 2001-Bush 1821-Monroe #> 0.3649074 0.3636412 0.3629546 0.3621190 0.3577942 #> 1965-Johnson 1797-Adams 1993-Clinton 1893-Cleveland 1945-Roosevelt #> 0.3553106 0.3540174 0.3531579 0.3529746 0.3496210 #> 1909-Taft 1845-Polk 1833-Jackson 1801-Jefferson 1805-Jefferson #> 0.3463976 0.3418552 0.3394590 0.3368613 0.3365639 #> 1885-Cleveland 1873-Grant 2005-Bush 1849-Taylor 1865-Lincoln #> 0.3308948 0.3296023 0.3166508 0.3063618 0.3012913 #> 1809-Madison 2017-Trump 1869-Grant 1829-Jackson 1789-Washington #> 0.2999792 0.2975482 0.2865710 0.2828444 0.2744406 #> 1813-Madison 1793-Washington #> 0.2447271 0.2088297 #> #> $`1921-Harding` #> 1925-Coolidge 1929-Hoover 1993-Clinton 1957-Eisenhower 1985-Reagan #> 0.5544713 0.5419928 0.5280024 0.5010826 0.4992481 #> 1949-Truman 1953-Eisenhower 2013-Obama 1973-Nixon 1897-McKinley #> 0.4844515 0.4744444 0.4697207 0.4665732 0.4606746 #> 2009-Obama 1933-Roosevelt 1997-Clinton 1981-Reagan 1989-Bush #> 0.4602595 0.4592842 0.4581415 0.4514076 0.4491063 #> 1977-Carter 1969-Nixon 1909-Taft 1937-Roosevelt 1901-McKinley #> 0.4468103 0.4440564 0.4369934 0.4336452 0.4334307 #> 1853-Pierce 1917-Wilson 2001-Bush 1965-Johnson 2005-Bush #> 0.4284626 0.4228213 0.4191183 0.4185668 0.4104266 #> 2017-Trump 1905-Roosevelt 1881-Garfield 1889-Harrison 1797-Adams #> 0.4085250 0.4039887 0.3947875 0.3909974 0.3878982 #> 1941-Roosevelt 1837-VanBuren 1961-Kennedy 1893-Cleveland 1861-Lincoln #> 0.3858601 0.3838768 0.3817209 0.3696623 0.3674586 #> 1885-Cleveland 1801-Jefferson 1877-Hayes 1817-Monroe 1913-Wilson #> 0.3674313 0.3601224 0.3590946 0.3574769 0.3574452 #> 1845-Polk 1833-Jackson 1841-Harrison 1873-Grant 1857-Buchanan #> 0.3557354 0.3537451 0.3517532 0.3469209 0.3454640 #> 1821-Monroe 1789-Washington 1825-Adams 1945-Roosevelt 1805-Jefferson #> 0.3391579 0.3334401 0.3312504 0.3301721 0.3194110 #> 1813-Madison 1865-Lincoln 1869-Grant 1849-Taylor 1829-Jackson #> 0.3094559 0.3074931 0.2955317 0.2935900 0.2833742 #> 1809-Madison 1793-Washington #> 0.2810508 0.1732867 #> #> $`1925-Coolidge` #> 1929-Hoover 1897-McKinley 1921-Harding 1909-Taft 1853-Pierce #> 0.6045125 0.5855930 0.5544713 0.5322958 0.5303339 #> 1841-Harrison 1877-Hayes 1797-Adams 1949-Truman 1837-VanBuren #> 0.5220654 0.5141566 0.5136704 0.5119803 0.5099124 #> 1957-Eisenhower 1861-Lincoln 1817-Monroe 1881-Garfield 1985-Reagan #> 0.5090303 0.5024294 0.5007858 0.4997961 0.4865926 #> 1889-Harrison 1901-McKinley 1933-Roosevelt 1845-Polk 1981-Reagan #> 0.4850495 0.4815348 0.4790725 0.4761057 0.4751669 #> 1953-Eisenhower 1989-Bush 1825-Adams 1937-Roosevelt 2013-Obama #> 0.4734002 0.4729248 0.4717333 0.4693872 0.4675948 #> 1977-Carter 1893-Cleveland 1973-Nixon 2009-Obama 1821-Monroe #> 0.4648548 0.4627866 0.4575601 0.4568061 0.4539886 #> 1857-Buchanan 1913-Wilson 1969-Nixon 1917-Wilson 2001-Bush #> 0.4493087 0.4471039 0.4470029 0.4447904 0.4404389 #> 1885-Cleveland 2005-Bush 1993-Clinton 1873-Grant 1833-Jackson #> 0.4387243 0.4372257 0.4343442 0.4312804 0.4289094 #> 1801-Jefferson 1965-Johnson 1789-Washington 1997-Clinton 1905-Roosevelt #> 0.4245293 0.4244409 0.4216351 0.4214550 0.4101563 #> 1869-Grant 2017-Trump 1805-Jefferson 1809-Madison 1961-Kennedy #> 0.4081064 0.4053082 0.3903435 0.3822368 0.3818828 #> 1829-Jackson 1941-Roosevelt 1849-Taylor 1945-Roosevelt 1813-Madison #> 0.3638898 0.3492131 0.3425089 0.3080213 0.3047923 #> 1865-Lincoln 1793-Washington #> 0.2233099 0.1678575 #> #> $`1929-Hoover` #> 1925-Coolidge 1897-McKinley 1921-Harding 1937-Roosevelt 1889-Harrison #> 0.6045125 0.5585060 0.5419928 0.5259636 0.5112906 #> 1797-Adams 1909-Taft 1877-Hayes 1881-Garfield 1845-Polk #> 0.5070120 0.4991355 0.4930264 0.4924467 0.4897848 #> 1853-Pierce 1893-Cleveland 1885-Cleveland 1901-McKinley 1949-Truman #> 0.4862787 0.4826789 0.4823712 0.4780894 0.4775912 #> 1841-Harrison 1957-Eisenhower 1837-VanBuren 1985-Reagan 1981-Reagan #> 0.4704197 0.4667598 0.4602279 0.4572320 0.4534502 #> 1861-Lincoln 1825-Adams 1953-Eisenhower 1833-Jackson 1917-Wilson #> 0.4519587 0.4516753 0.4452336 0.4338198 0.4237321 #> 1933-Roosevelt 1973-Nixon 1977-Carter 1817-Monroe 1857-Buchanan #> 0.4220740 0.4217683 0.4215659 0.4193874 0.4188645 #> 2001-Bush 1913-Wilson 2013-Obama 2009-Obama 1989-Bush #> 0.4091682 0.4071560 0.4048635 0.4034583 0.4031800 #> 1969-Nixon 1997-Clinton 1821-Monroe 1993-Clinton 1801-Jefferson #> 0.3898278 0.3895378 0.3885872 0.3873057 0.3866673 #> 2005-Bush 1829-Jackson 1789-Washington 1873-Grant 1965-Johnson #> 0.3851449 0.3782512 0.3744054 0.3725151 0.3651896 #> 1941-Roosevelt 1869-Grant 1805-Jefferson 1905-Roosevelt 2017-Trump #> 0.3648656 0.3648327 0.3588989 0.3556747 0.3380369 #> 1809-Madison 1849-Taylor 1961-Kennedy 1945-Roosevelt 1813-Madison #> 0.3346206 0.3204244 0.3117939 0.3064166 0.2827083 #> 1865-Lincoln 1793-Washington #> 0.2102154 0.1914917 #> #> $`1933-Roosevelt` #> 1897-McKinley 1925-Coolidge 1921-Harding 1853-Pierce 2009-Obama #> 0.4851295 0.4790725 0.4592842 0.4399644 0.4397100 #> 1917-Wilson 1929-Hoover 1901-McKinley 1989-Bush 1881-Garfield #> 0.4237643 0.4220740 0.4208310 0.4207578 0.4202929 #> 1841-Harrison 1985-Reagan 1937-Roosevelt 1861-Lincoln 1837-VanBuren #> 0.4198525 0.4164116 0.4163625 0.4160356 0.4146225 #> 2013-Obama 1909-Taft 1893-Cleveland 1889-Harrison 1981-Reagan #> 0.4128701 0.4110003 0.4056215 0.4053466 0.4032167 #> 1857-Buchanan 1817-Monroe 1797-Adams 1977-Carter 1789-Washington #> 0.3962336 0.3951706 0.3916554 0.3872292 0.3868001 #> 1969-Nixon 1993-Clinton 1957-Eisenhower 1997-Clinton 1965-Johnson #> 0.3843350 0.3833884 0.3829366 0.3805578 0.3787525 #> 1905-Roosevelt 1913-Wilson 1949-Truman 1877-Hayes 1953-Eisenhower #> 0.3707615 0.3698387 0.3690070 0.3689886 0.3676087 #> 1821-Monroe 1885-Cleveland 1845-Polk 1829-Jackson 1873-Grant #> 0.3642001 0.3637184 0.3602193 0.3595049 0.3573361 #> 1805-Jefferson 2001-Bush 1825-Adams 1833-Jackson 1941-Roosevelt #> 0.3523923 0.3434389 0.3399631 0.3382224 0.3373129 #> 1869-Grant 1961-Kennedy 1973-Nixon 1801-Jefferson 1849-Taylor #> 0.3371035 0.3348162 0.3344321 0.3308561 0.3274632 #> 2005-Bush 1945-Roosevelt 2017-Trump 1809-Madison 1813-Madison #> 0.3221107 0.2962670 0.2920648 0.2728620 0.2502784 #> 1865-Lincoln 1793-Washington #> 0.2350899 0.1898302 #> #> $`1937-Roosevelt` #> 1929-Hoover 1881-Garfield 1901-McKinley 1925-Coolidge 1997-Clinton #> 0.5259636 0.4917521 0.4752240 0.4693872 0.4652568 #> 1989-Bush 1985-Reagan 1841-Harrison 1797-Adams 1913-Wilson #> 0.4647028 0.4635617 0.4628687 0.4620706 0.4604643 #> 1897-McKinley 1969-Nixon 1845-Polk 2009-Obama 1981-Reagan #> 0.4556285 0.4506001 0.4489866 0.4484460 0.4465921 #> 1837-VanBuren 1941-Roosevelt 1889-Harrison 1893-Cleveland 1921-Harding #> 0.4388703 0.4388249 0.4358355 0.4356557 0.4336452 #> 1885-Cleveland 1853-Pierce 1917-Wilson 1977-Carter 1817-Monroe #> 0.4304126 0.4281299 0.4210185 0.4209395 0.4198882 #> 2013-Obama 1933-Roosevelt 1833-Jackson 1909-Taft 1861-Lincoln #> 0.4192635 0.4163625 0.4142112 0.4109187 0.4095313 #> 1949-Truman 1877-Hayes 1973-Nixon 1965-Johnson 1857-Buchanan #> 0.4079525 0.4062826 0.4030932 0.3991212 0.3967809 #> 2001-Bush 1905-Roosevelt 1825-Adams 1953-Eisenhower 1873-Grant #> 0.3964994 0.3950861 0.3904159 0.3892457 0.3802303 #> 1821-Monroe 1993-Clinton 2017-Trump 1801-Jefferson 1957-Eisenhower #> 0.3739482 0.3728748 0.3701930 0.3672647 0.3648697 #> 1789-Washington 2005-Bush 1945-Roosevelt 1829-Jackson 1961-Kennedy #> 0.3639490 0.3490076 0.3335815 0.3267945 0.3217498 #> 1869-Grant 1849-Taylor 1805-Jefferson 1813-Madison 1809-Madison #> 0.3170903 0.3050574 0.2923555 0.2754830 0.2518650 #> 1865-Lincoln 1793-Washington #> 0.2171085 0.1913787 #> #> $`1941-Roosevelt` #> 2009-Obama 2005-Bush 2013-Obama 1997-Clinton 1985-Reagan #> 0.4806676 0.4669590 0.4528271 0.4521912 0.4509283 #> 1989-Bush 1937-Roosevelt 1977-Carter 1969-Nixon 1965-Johnson #> 0.4388543 0.4388249 0.4372717 0.4285305 0.4271198 #> 2001-Bush 1981-Reagan 1953-Eisenhower 1993-Clinton 1905-Roosevelt #> 0.4192023 0.4160886 0.4027682 0.4002951 0.3931912 #> 1797-Adams 1921-Harding 1949-Truman 1929-Hoover 2017-Trump #> 0.3868246 0.3858601 0.3785309 0.3648656 0.3639366 #> 1973-Nixon 1917-Wilson 1957-Eisenhower 1901-McKinley 1925-Coolidge #> 0.3631230 0.3629546 0.3606468 0.3529824 0.3492131 #> 1913-Wilson 1837-VanBuren 1933-Roosevelt 1881-Garfield 1853-Pierce #> 0.3421095 0.3373180 0.3373129 0.3359560 0.3306715 #> 1841-Harrison 1889-Harrison 1893-Cleveland 1961-Kennedy 1897-McKinley #> 0.3253140 0.3214941 0.3100648 0.3090879 0.3087282 #> 1817-Monroe 1857-Buchanan 1801-Jefferson 1825-Adams 1885-Cleveland #> 0.3075137 0.2933626 0.2899746 0.2899042 0.2836393 #> 1821-Monroe 1833-Jackson 1845-Polk 1877-Hayes 1873-Grant #> 0.2819306 0.2764320 0.2744638 0.2593804 0.2514531 #> 1869-Grant 1805-Jefferson 1789-Washington 1909-Taft 1861-Lincoln #> 0.2496253 0.2437118 0.2427562 0.2416543 0.2411808 #> 1945-Roosevelt 1813-Madison 1809-Madison 1865-Lincoln 1829-Jackson #> 0.2399043 0.2361440 0.2194135 0.2019959 0.1977163 #> 1849-Taylor 1793-Washington #> 0.1974117 0.1116450 #> #> $`1945-Roosevelt` #> 1953-Eisenhower 1969-Nixon 1957-Eisenhower 1949-Truman 1917-Wilson #> 0.3971161 0.3650109 0.3557906 0.3535758 0.3496210 #> 1973-Nixon 1937-Roosevelt 1921-Harding 1989-Bush 1985-Reagan #> 0.3352186 0.3335815 0.3301721 0.3298011 0.3251447 #> 2013-Obama 2009-Obama 1925-Coolidge 1929-Hoover 1961-Kennedy #> 0.3193821 0.3135353 0.3080213 0.3064166 0.3014853 #> 1933-Roosevelt 1993-Clinton 1965-Johnson 1981-Reagan 1857-Buchanan #> 0.2962670 0.2897563 0.2869534 0.2758514 0.2752324 #> 1861-Lincoln 1905-Roosevelt 2001-Bush 1897-McKinley 2005-Bush #> 0.2729035 0.2722851 0.2681689 0.2680773 0.2666159 #> 1865-Lincoln 1801-Jefferson 1913-Wilson 1849-Taylor 1889-Harrison #> 0.2659131 0.2649384 0.2608431 0.2605577 0.2573714 #> 1901-McKinley 1997-Clinton 1977-Carter 1853-Pierce 1805-Jefferson #> 0.2550201 0.2550062 0.2482199 0.2466193 0.2451702 #> 1909-Taft 1941-Roosevelt 1885-Cleveland 1881-Garfield 1793-Washington #> 0.2433460 0.2399043 0.2366080 0.2297637 0.2290539 #> 1837-VanBuren 1841-Harrison 1877-Hayes 1829-Jackson 1797-Adams #> 0.2280308 0.2210487 0.2204688 0.2175763 0.2173591 #> 1817-Monroe 1825-Adams 1845-Polk 2017-Trump 1893-Cleveland #> 0.2162318 0.2159631 0.2117474 0.2111098 0.2088726 #> 1821-Monroe 1833-Jackson 1873-Grant 1789-Washington 1809-Madison #> 0.2058262 0.1942862 0.1893489 0.1865474 0.1749617 #> 1869-Grant 1813-Madison #> 0.1710502 0.1403217 #> #> $`1949-Truman` #> 1957-Eisenhower 1953-Eisenhower 1925-Coolidge 1921-Harding 1985-Reagan #> 0.5896050 0.5599790 0.5119803 0.4844515 0.4786446 #> 1929-Hoover 1969-Nixon 2005-Bush 1989-Bush 2013-Obama #> 0.4775912 0.4635787 0.4483708 0.4444935 0.4336559 #> 1977-Carter 1973-Nixon 1917-Wilson 1961-Kennedy 1981-Reagan #> 0.4336415 0.4313315 0.4312701 0.4169106 0.4120769 #> 2009-Obama 1937-Roosevelt 1993-Clinton 1797-Adams 1897-McKinley #> 0.4115157 0.4079525 0.4077507 0.3875288 0.3861997 #> 1965-Johnson 1901-McKinley 1941-Roosevelt 1997-Clinton 1933-Roosevelt #> 0.3861429 0.3820340 0.3785309 0.3694422 0.3690070 #> 1881-Garfield 1853-Pierce 1809-Madison 1905-Roosevelt 1945-Roosevelt #> 0.3636193 0.3576912 0.3566084 0.3541023 0.3535758 #> 1837-VanBuren 1909-Taft 2001-Bush 1857-Buchanan 1817-Monroe #> 0.3477542 0.3409707 0.3401469 0.3361676 0.3360004 #> 1889-Harrison 1861-Lincoln 1845-Polk 2017-Trump 1833-Jackson #> 0.3303359 0.3244856 0.3236521 0.3144166 0.3107441 #> 1873-Grant 1893-Cleveland 1801-Jefferson 1877-Hayes 1825-Adams #> 0.3074668 0.3061761 0.3046831 0.3044000 0.3025921 #> 1805-Jefferson 1821-Monroe 1841-Harrison 1885-Cleveland 1789-Washington #> 0.3022519 0.3001338 0.2994897 0.2954619 0.2754582 #> 1869-Grant 1913-Wilson 1829-Jackson 1813-Madison 1849-Taylor #> 0.2714465 0.2709982 0.2542158 0.2204151 0.2146147 #> 1865-Lincoln 1793-Washington #> 0.1931231 0.1203414 #> #> $`1953-Eisenhower` #> 1957-Eisenhower 1949-Truman 1989-Bush 1985-Reagan 1917-Wilson #> 0.5697960 0.5599790 0.4901962 0.4836829 0.4799998 #> 2013-Obama 1921-Harding 2005-Bush 1925-Coolidge 2009-Obama #> 0.4775487 0.4744444 0.4741806 0.4734002 0.4685294 #> 1969-Nixon 1981-Reagan 1929-Hoover 1961-Kennedy 1973-Nixon #> 0.4668923 0.4602540 0.4452336 0.4363746 0.4353019 #> 1853-Pierce 2001-Bush 1897-McKinley 1977-Carter 1993-Clinton #> 0.4293287 0.4278588 0.4276664 0.4224154 0.4150211 #> 1889-Harrison 1997-Clinton 1965-Johnson 1905-Roosevelt 1941-Roosevelt #> 0.4115962 0.4094855 0.4081147 0.4057582 0.4027682 #> 1801-Jefferson 1945-Roosevelt 1937-Roosevelt 1901-McKinley 1837-VanBuren #> 0.3994105 0.3971161 0.3892457 0.3847295 0.3801474 #> 1893-Cleveland 1857-Buchanan 1881-Garfield 1877-Hayes 1933-Roosevelt #> 0.3793939 0.3721514 0.3705787 0.3679318 0.3676087 #> 1797-Adams 1841-Harrison 1885-Cleveland 1909-Taft 1845-Polk #> 0.3675941 0.3621996 0.3555655 0.3460538 0.3438238 #> 1817-Monroe 1861-Lincoln 1825-Adams 1873-Grant 2017-Trump #> 0.3405189 0.3348920 0.3273170 0.3267014 0.3229181 #> 1913-Wilson 1805-Jefferson 1821-Monroe 1869-Grant 1833-Jackson #> 0.3199213 0.3161758 0.3026077 0.2959296 0.2935102 #> 1809-Madison 1789-Washington 1829-Jackson 1849-Taylor 1865-Lincoln #> 0.2911477 0.2849542 0.2832473 0.2831229 0.2582410 #> 1813-Madison 1793-Washington #> 0.2340376 0.1707291 #> #> $`1957-Eisenhower` #> 1949-Truman 1953-Eisenhower 1925-Coolidge 1921-Harding 1929-Hoover #> 0.5896050 0.5697960 0.5090303 0.5010826 0.4667598 #> 2005-Bush 1969-Nixon 2009-Obama 1989-Bush 1985-Reagan #> 0.4579394 0.4545799 0.4526716 0.4510276 0.4487684 #> 1917-Wilson 1993-Clinton 1965-Johnson 2013-Obama 1977-Carter #> 0.4278873 0.4248806 0.4215125 0.4178088 0.4177848 #> 1797-Adams 1973-Nixon 1961-Kennedy 1897-McKinley 1981-Reagan #> 0.4166209 0.4099414 0.4066978 0.4015950 0.3903403 #> 1853-Pierce 1933-Roosevelt 1881-Garfield 1889-Harrison 1997-Clinton #> 0.3902983 0.3829366 0.3775163 0.3713340 0.3710816 #> 1837-VanBuren 1937-Roosevelt 1901-McKinley 1841-Harrison 1941-Roosevelt #> 0.3648752 0.3648697 0.3642923 0.3618367 0.3606468 #> 2001-Bush 1945-Roosevelt 1857-Buchanan 1905-Roosevelt 1861-Lincoln #> 0.3594347 0.3557906 0.3554342 0.3554144 0.3461898 #> 1801-Jefferson 1909-Taft 2017-Trump 1913-Wilson 1805-Jefferson #> 0.3413371 0.3377490 0.3332719 0.3257373 0.3186442 #> 1821-Monroe 1825-Adams 1809-Madison 1817-Monroe 1877-Hayes #> 0.3174528 0.3143919 0.3125900 0.3068010 0.3051636 #> 1893-Cleveland 1845-Polk 1833-Jackson 1873-Grant 1869-Grant #> 0.3021953 0.2963222 0.2920183 0.2871959 0.2847335 #> 1885-Cleveland 1789-Washington 1829-Jackson 1865-Lincoln 1849-Taylor #> 0.2830985 0.2658538 0.2546078 0.2234429 0.2173703 #> 1813-Madison 1793-Washington #> 0.2011438 0.1489479 #> #> $`1961-Kennedy` #> 1973-Nixon 1969-Nixon 2009-Obama 1985-Reagan 1997-Clinton #> 0.5513486 0.5277247 0.5091416 0.4834772 0.4806903 #> 1981-Reagan 1989-Bush 1993-Clinton 1953-Eisenhower 1977-Carter #> 0.4708702 0.4656664 0.4562100 0.4363746 0.4317321 #> 2013-Obama 1949-Truman 2001-Bush 1801-Jefferson 1957-Eisenhower #> 0.4281767 0.4169106 0.4116394 0.4112791 0.4066978 #> 2005-Bush 1965-Johnson 1925-Coolidge 1921-Harding 1917-Wilson #> 0.3885476 0.3853357 0.3818828 0.3817209 0.3733042 #> 1853-Pierce 1905-Roosevelt 1933-Roosevelt 1805-Jefferson 2017-Trump #> 0.3448044 0.3431726 0.3348162 0.3250344 0.3237021 #> 1881-Garfield 1937-Roosevelt 1837-VanBuren 1929-Hoover 1941-Roosevelt #> 0.3232345 0.3217498 0.3153838 0.3117939 0.3090879 #> 1945-Roosevelt 1841-Harrison 1857-Buchanan 1817-Monroe 1865-Lincoln #> 0.3014853 0.2949488 0.2935301 0.2905854 0.2879914 #> 1901-McKinley 1913-Wilson 1789-Washington 1821-Monroe 1897-McKinley #> 0.2783383 0.2777337 0.2776496 0.2764333 0.2760306 #> 1873-Grant 1869-Grant 1797-Adams 1877-Hayes 1889-Harrison #> 0.2751252 0.2747716 0.2721932 0.2682365 0.2660145 #> 1833-Jackson 1909-Taft 1809-Madison 1861-Lincoln 1893-Cleveland #> 0.2642527 0.2624799 0.2623687 0.2594003 0.2593488 #> 1845-Polk 1849-Taylor 1829-Jackson 1885-Cleveland 1813-Madison #> 0.2586039 0.2552466 0.2549265 0.2467103 0.2432353 #> 1825-Adams 1793-Washington #> 0.2411087 0.1488205 #> #> $`1965-Johnson` #> 1997-Clinton 2013-Obama 1985-Reagan 2009-Obama 1993-Clinton #> 0.5582402 0.5461326 0.5460887 0.5398082 0.5326653 #> 1981-Reagan 1989-Bush 1969-Nixon 1977-Carter 2001-Bush #> 0.4889832 0.4844507 0.4821964 0.4689813 0.4331680 #> 2005-Bush 1941-Roosevelt 1973-Nixon 1925-Coolidge 1957-Eisenhower #> 0.4298097 0.4271198 0.4256812 0.4244409 0.4215125 #> 1921-Harding 1905-Roosevelt 1953-Eisenhower 2017-Trump 1937-Roosevelt #> 0.4185668 0.4084626 0.4081147 0.3997222 0.3991212 #> 1949-Truman 1961-Kennedy 1913-Wilson 1933-Roosevelt 1881-Garfield #> 0.3861429 0.3853357 0.3806983 0.3787525 0.3710219 #> 1929-Hoover 1853-Pierce 1897-McKinley 1917-Wilson 1889-Harrison #> 0.3651896 0.3645780 0.3561084 0.3553106 0.3488428 #> 1801-Jefferson 1901-McKinley 1893-Cleveland 1837-VanBuren 1817-Monroe #> 0.3444805 0.3432966 0.3426986 0.3372832 0.3313331 #> 1861-Lincoln 1825-Adams 1841-Harrison 1833-Jackson 1805-Jefferson #> 0.3305194 0.3266815 0.3249027 0.3220625 0.3146861 #> 1873-Grant 1869-Grant 1865-Lincoln 1797-Adams 1821-Monroe #> 0.3139855 0.3134386 0.3056071 0.3028871 0.2991746 #> 1845-Polk 1857-Buchanan 1877-Hayes 1909-Taft 1945-Roosevelt #> 0.2915006 0.2898779 0.2877882 0.2872216 0.2869534 #> 1885-Cleveland 1789-Washington 1809-Madison 1813-Madison 1849-Taylor #> 0.2753046 0.2699161 0.2411914 0.2144883 0.2130845 #> 1829-Jackson 1793-Washington #> 0.2013386 0.1158932 #> #> $`1969-Nixon` #> 1973-Nixon 1985-Reagan 2009-Obama 1997-Clinton 1989-Bush #> 0.6307540 0.6131919 0.5789409 0.5616332 0.5498085 #> 1981-Reagan 1961-Kennedy 1977-Carter 2013-Obama 1993-Clinton #> 0.5428321 0.5277247 0.5272334 0.5203205 0.5164905 #> 1965-Johnson 1953-Eisenhower 1949-Truman 1957-Eisenhower 1937-Roosevelt #> 0.4821964 0.4668923 0.4635787 0.4545799 0.4506001 #> 1925-Coolidge 1921-Harding 1917-Wilson 2001-Bush 1941-Roosevelt #> 0.4470029 0.4440564 0.4304809 0.4289096 0.4285305 #> 2017-Trump 1905-Roosevelt 1929-Hoover 1881-Garfield 2005-Bush #> 0.4197822 0.4152377 0.3898278 0.3866037 0.3858397 #> 1933-Roosevelt 1801-Jefferson 1901-McKinley 1945-Roosevelt 1853-Pierce #> 0.3843350 0.3834961 0.3747539 0.3650109 0.3508435 #> 1893-Cleveland 1837-VanBuren 1897-McKinley 1889-Harrison 1913-Wilson #> 0.3475577 0.3433487 0.3415327 0.3372467 0.3372147 #> 1861-Lincoln 1797-Adams 1873-Grant 1833-Jackson 1817-Monroe #> 0.3361165 0.3354615 0.3203397 0.3156987 0.3141080 #> 1885-Cleveland 1841-Harrison 1805-Jefferson 1857-Buchanan 1845-Polk #> 0.3106038 0.3084443 0.2873633 0.2871253 0.2864377 #> 1869-Grant 1909-Taft 1821-Monroe 1825-Adams 1865-Lincoln #> 0.2843531 0.2810805 0.2778631 0.2728116 0.2615734 #> 1877-Hayes 1789-Washington 1849-Taylor 1809-Madison 1829-Jackson #> 0.2600284 0.2565433 0.2431879 0.2388838 0.2382507 #> 1813-Madison 1793-Washington #> 0.2056461 0.1547878 #> #> $`1973-Nixon` #> 1969-Nixon 1997-Clinton 1985-Reagan 2009-Obama 1993-Clinton #> 0.6307540 0.6304174 0.6086921 0.5870488 0.5595263 #> 1961-Kennedy 1981-Reagan 1989-Bush 1977-Carter 2013-Obama #> 0.5513486 0.5350769 0.5258539 0.5212548 0.5207653 #> 1921-Harding 1925-Coolidge 2001-Bush 1953-Eisenhower 1949-Truman #> 0.4665732 0.4575601 0.4500744 0.4353019 0.4313315 #> 1965-Johnson 1929-Hoover 1957-Eisenhower 1905-Roosevelt 1801-Jefferson #> 0.4256812 0.4217683 0.4099414 0.4057806 0.4039554 #> 1937-Roosevelt 2017-Trump 1917-Wilson 2005-Bush 1901-McKinley #> 0.4030932 0.4019412 0.4015050 0.3809746 0.3674009 #> 1853-Pierce 1941-Roosevelt 1817-Monroe 1837-VanBuren 1881-Garfield #> 0.3663727 0.3631230 0.3576379 0.3409275 0.3402723 #> 1913-Wilson 1945-Roosevelt 1933-Roosevelt 1897-McKinley 1797-Adams #> 0.3358531 0.3352186 0.3344321 0.3277971 0.3162196 #> 1885-Cleveland 1893-Cleveland 1865-Lincoln 1889-Harrison 1873-Grant #> 0.3142944 0.3086599 0.3044307 0.3030936 0.3029232 #> 1833-Jackson 1821-Monroe 1909-Taft 1845-Polk 1805-Jefferson #> 0.2987847 0.2979595 0.2958791 0.2920521 0.2880267 #> 1825-Adams 1877-Hayes 1857-Buchanan 1861-Lincoln 1869-Grant #> 0.2875377 0.2856873 0.2768238 0.2753212 0.2726962 #> 1841-Harrison 1789-Washington 1849-Taylor 1809-Madison 1829-Jackson #> 0.2724012 0.2659431 0.2648700 0.2395726 0.2337291 #> 1813-Madison 1793-Washington #> 0.1867194 0.1254362 #> #> $`1977-Carter` #> 1997-Clinton 2009-Obama 1969-Nixon 1985-Reagan 2013-Obama #> 0.5435184 0.5312681 0.5272334 0.5241943 0.5213535 #> 1973-Nixon 1989-Bush 1981-Reagan 1993-Clinton 1965-Johnson #> 0.5212548 0.5148977 0.4937330 0.4860111 0.4689813 #> 1925-Coolidge 1921-Harding 2001-Bush 1941-Roosevelt 1949-Truman #> 0.4648548 0.4468103 0.4417755 0.4372717 0.4336415 #> 1961-Kennedy 1953-Eisenhower 1929-Hoover 1937-Roosevelt 1957-Eisenhower #> 0.4317321 0.4224154 0.4215659 0.4209395 0.4177848 #> 2005-Bush 1853-Pierce 1905-Roosevelt 1933-Roosevelt 1881-Garfield #> 0.4119036 0.4082791 0.3937232 0.3872292 0.3859020 #> 1893-Cleveland 1917-Wilson 1897-McKinley 2017-Trump 1797-Adams #> 0.3683400 0.3675058 0.3630253 0.3619825 0.3575112 #> 1901-McKinley 1837-VanBuren 1861-Lincoln 1841-Harrison 1889-Harrison #> 0.3555812 0.3503372 0.3438505 0.3408687 0.3381240 #> 1817-Monroe 1913-Wilson 1801-Jefferson 1845-Polk 1909-Taft #> 0.3350757 0.3171919 0.3166596 0.3108614 0.3089595 #> 1789-Washington 1873-Grant 1833-Jackson 1877-Hayes 1885-Cleveland #> 0.3074803 0.3053836 0.2968750 0.2922812 0.2884110 #> 1805-Jefferson 1857-Buchanan 1825-Adams 1869-Grant 1821-Monroe #> 0.2877337 0.2864052 0.2844175 0.2784437 0.2754179 #> 1809-Madison 1829-Jackson 1945-Roosevelt 1813-Madison 1849-Taylor #> 0.2718734 0.2559296 0.2482199 0.2370958 0.2258813 #> 1865-Lincoln 1793-Washington #> 0.2200503 0.1215946 #> #> $`1981-Reagan` #> 1985-Reagan 2013-Obama 2009-Obama 1997-Clinton 1993-Clinton #> 0.6885376 0.6054181 0.5768486 0.5620486 0.5588243 #> 1969-Nixon 1973-Nixon 1989-Bush 2001-Bush 1977-Carter #> 0.5428321 0.5350769 0.5342227 0.4972389 0.4937330 #> 1965-Johnson 1925-Coolidge 1961-Kennedy 1953-Eisenhower 2005-Bush #> 0.4889832 0.4751669 0.4708702 0.4602540 0.4577205 #> 1929-Hoover 1921-Harding 1801-Jefferson 1937-Roosevelt 1905-Roosevelt #> 0.4534502 0.4514076 0.4468190 0.4465921 0.4449909 #> 1853-Pierce 1881-Garfield 1897-McKinley 1837-VanBuren 2017-Trump #> 0.4275741 0.4264969 0.4253725 0.4235442 0.4234273 #> 1893-Cleveland 1941-Roosevelt 1817-Monroe 1901-McKinley 1949-Truman #> 0.4217664 0.4160886 0.4141263 0.4126744 0.4120769 #> 1933-Roosevelt 1833-Jackson 1841-Harrison 1845-Polk 1957-Eisenhower #> 0.4032167 0.3983167 0.3970450 0.3945872 0.3903403 #> 1917-Wilson 1885-Cleveland 1909-Taft 1877-Hayes 1889-Harrison #> 0.3868836 0.3764987 0.3651933 0.3640111 0.3607947 #> 1913-Wilson 1797-Adams 1861-Lincoln 1825-Adams 1873-Grant #> 0.3606712 0.3604570 0.3542295 0.3473596 0.3406648 #> 1857-Buchanan 1869-Grant 1821-Monroe 1805-Jefferson 1789-Washington #> 0.3335269 0.3243818 0.3241167 0.3222777 0.3184932 #> 1849-Taylor 1829-Jackson 1945-Roosevelt 1865-Lincoln 1809-Madison #> 0.2946135 0.2897942 0.2758514 0.2435669 0.2307725 #> 1813-Madison 1793-Washington #> 0.2228786 0.1807804 #> #> $`1985-Reagan` #> 1981-Reagan 1997-Clinton 2013-Obama 1969-Nixon 1973-Nixon #> 0.6885376 0.6409087 0.6331729 0.6131919 0.6086921 #> 1993-Clinton 2009-Obama 1989-Bush 1965-Johnson 1977-Carter #> 0.5929382 0.5892557 0.5569825 0.5460887 0.5241943 #> 2005-Bush 1921-Harding 2001-Bush 1925-Coolidge 1953-Eisenhower #> 0.5113232 0.4992481 0.4951335 0.4865926 0.4836829 #> 1961-Kennedy 1949-Truman 2017-Trump 1937-Roosevelt 1929-Hoover #> 0.4834772 0.4786446 0.4734261 0.4635617 0.4572320 #> 1905-Roosevelt 1941-Roosevelt 1957-Eisenhower 1901-McKinley 1881-Garfield #> 0.4523774 0.4509283 0.4487684 0.4419497 0.4340529 #> 1897-McKinley 1801-Jefferson 1837-VanBuren 1893-Cleveland 1933-Roosevelt #> 0.4329481 0.4299841 0.4229021 0.4197610 0.4164116 #> 1917-Wilson 1853-Pierce 1817-Monroe 1833-Jackson 1845-Polk #> 0.4134828 0.4039254 0.3972248 0.3946123 0.3909127 #> 1841-Harrison 1861-Lincoln 1885-Cleveland 1877-Hayes 1889-Harrison #> 0.3861138 0.3746371 0.3723539 0.3666063 0.3633258 #> 1825-Adams 1873-Grant 1913-Wilson 1909-Taft 1797-Adams #> 0.3627623 0.3596551 0.3585252 0.3550064 0.3518366 #> 1857-Buchanan 1821-Monroe 1869-Grant 1945-Roosevelt 1805-Jefferson #> 0.3474181 0.3464932 0.3397694 0.3251447 0.3109222 #> 1789-Washington 1865-Lincoln 1829-Jackson 1849-Taylor 1809-Madison #> 0.3099476 0.2919767 0.2696598 0.2604236 0.2393994 #> 1813-Madison 1793-Washington #> 0.2176824 0.1566667 #> #> $`1989-Bush` #> 1997-Clinton 2009-Obama 1985-Reagan 1969-Nixon 1993-Clinton #> 0.5723938 0.5721535 0.5569825 0.5498085 0.5463195 #> 1981-Reagan 2013-Obama 1973-Nixon 1977-Carter 2001-Bush #> 0.5342227 0.5290330 0.5258539 0.5148977 0.4982357 #> 1953-Eisenhower 1965-Johnson 1925-Coolidge 1961-Kennedy 1937-Roosevelt #> 0.4901962 0.4844507 0.4729248 0.4656664 0.4647028 #> 2005-Bush 2017-Trump 1957-Eisenhower 1921-Harding 1949-Truman #> 0.4556697 0.4530407 0.4510276 0.4491063 0.4444935 #> 1941-Roosevelt 1905-Roosevelt 1933-Roosevelt 1929-Hoover 1913-Wilson #> 0.4388543 0.4255205 0.4207578 0.4031800 0.4026653 #> 1917-Wilson 1897-McKinley 1901-McKinley 1881-Garfield 1853-Pierce #> 0.3957107 0.3720968 0.3700422 0.3683581 0.3666865 #> 1801-Jefferson 1841-Harrison 1817-Monroe 1889-Harrison 1797-Adams #> 0.3548621 0.3502181 0.3469659 0.3450895 0.3371522 #> 1821-Monroe 1909-Taft 1945-Roosevelt 1837-VanBuren 1873-Grant #> 0.3349200 0.3343668 0.3298011 0.3265105 0.3252964 #> 1861-Lincoln 1877-Hayes 1893-Cleveland 1857-Buchanan 1789-Washington #> 0.3064260 0.3042248 0.3029683 0.3019823 0.3009686 #> 1805-Jefferson 1845-Polk 1825-Adams 1833-Jackson 1885-Cleveland #> 0.2996327 0.2995063 0.2786179 0.2714333 0.2672929 #> 1869-Grant 1865-Lincoln 1829-Jackson 1809-Madison 1849-Taylor #> 0.2588364 0.2322965 0.2313818 0.2194006 0.2186598 #> 1813-Madison 1793-Washington #> 0.1994560 0.1032331 #> #> $`1993-Clinton` #> 1997-Clinton 2013-Obama 1985-Reagan 2009-Obama 1973-Nixon #> 0.6258047 0.5997993 0.5929382 0.5925820 0.5595263 #> 1981-Reagan 1989-Bush 1965-Johnson 1921-Harding 1969-Nixon #> 0.5588243 0.5463195 0.5326653 0.5280024 0.5164905 #> 2017-Trump 1977-Carter 2001-Bush 1961-Kennedy 2005-Bush #> 0.4982465 0.4860111 0.4775110 0.4562100 0.4396107 #> 1925-Coolidge 1957-Eisenhower 1953-Eisenhower 1949-Truman 1941-Roosevelt #> 0.4343442 0.4248806 0.4150211 0.4077507 0.4002951 #> 1905-Roosevelt 1929-Hoover 1933-Roosevelt 1937-Roosevelt 1897-McKinley #> 0.3873502 0.3873057 0.3833884 0.3728748 0.3634187 #> 1917-Wilson 1893-Cleveland 1901-McKinley 1881-Garfield 1837-VanBuren #> 0.3531579 0.3320685 0.3303073 0.3155277 0.3074947 #> 1853-Pierce 1801-Jefferson 1909-Taft 1889-Harrison 1797-Adams #> 0.3046861 0.3009083 0.2963380 0.2910656 0.2906913 #> 1945-Roosevelt 1833-Jackson 1913-Wilson 1885-Cleveland 1817-Monroe #> 0.2897563 0.2880758 0.2802481 0.2794881 0.2776478 #> 1861-Lincoln 1841-Harrison 1877-Hayes 1805-Jefferson 1845-Polk #> 0.2676464 0.2642458 0.2631935 0.2532498 0.2483582 #> 1821-Monroe 1873-Grant 1789-Washington 1857-Buchanan 1865-Lincoln #> 0.2480370 0.2460133 0.2426902 0.2384464 0.2330089 #> 1869-Grant 1825-Adams 1829-Jackson 1849-Taylor 1813-Madison #> 0.2186438 0.2098636 0.2081766 0.1979385 0.1823018 #> 1809-Madison 1793-Washington #> 0.1771194 0.1475957 #> #> $`1997-Clinton` #> 1985-Reagan 1973-Nixon 2009-Obama 1993-Clinton 2013-Obama #> 0.6409087 0.6304174 0.6297973 0.6258047 0.6121809 #> 1989-Bush 1981-Reagan 1969-Nixon 1965-Johnson 2001-Bush #> 0.5723938 0.5620486 0.5616332 0.5582402 0.5442529 #> 1977-Carter 2017-Trump 1961-Kennedy 1937-Roosevelt 1921-Harding #> 0.5435184 0.4947457 0.4806903 0.4652568 0.4581415 #> 1941-Roosevelt 1905-Roosevelt 2005-Bush 1925-Coolidge 1953-Eisenhower #> 0.4521912 0.4465023 0.4355170 0.4214550 0.4094855 #> 1881-Garfield 1837-VanBuren 1929-Hoover 1801-Jefferson 1933-Roosevelt #> 0.3968480 0.3960073 0.3895378 0.3815699 0.3805578 #> 1913-Wilson 1917-Wilson 1957-Eisenhower 1901-McKinley 1949-Truman #> 0.3796865 0.3767275 0.3710816 0.3698683 0.3694422 #> 1853-Pierce 1893-Cleveland 1897-McKinley 1889-Harrison 1817-Monroe #> 0.3691096 0.3676091 0.3619130 0.3455750 0.3424725 #> 1841-Harrison 1885-Cleveland 1845-Polk 1797-Adams 1877-Hayes #> 0.3349729 0.3337732 0.3209260 0.3202352 0.3140842 #> 1821-Monroe 1909-Taft 1873-Grant 1833-Jackson 1789-Washington #> 0.3128877 0.3111600 0.3095522 0.3080866 0.3008832 #> 1869-Grant 1805-Jefferson 1825-Adams 1861-Lincoln 1857-Buchanan #> 0.3003409 0.2971559 0.2970230 0.2962007 0.2852568 #> 1865-Lincoln 1945-Roosevelt 1849-Taylor 1829-Jackson 1813-Madison #> 0.2600949 0.2550062 0.2329438 0.2253343 0.2021484 #> 1809-Madison 1793-Washington #> 0.2004997 0.1226513 #> #> $`2001-Bush` #> 2013-Obama 1997-Clinton 2009-Obama 2005-Bush 1989-Bush #> 0.5561972 0.5442529 0.5411649 0.5204355 0.4982357 #> 1981-Reagan 1985-Reagan 1993-Clinton 2017-Trump 1973-Nixon #> 0.4972389 0.4951335 0.4775110 0.4518935 0.4500744 #> 1977-Carter 1925-Coolidge 1965-Johnson 1969-Nixon 1953-Eisenhower #> 0.4417755 0.4404389 0.4331680 0.4289096 0.4278588 #> 1941-Roosevelt 1921-Harding 1961-Kennedy 1929-Hoover 1905-Roosevelt #> 0.4192023 0.4191183 0.4116394 0.4091682 0.3986201 #> 1937-Roosevelt 1837-VanBuren 1853-Pierce 1877-Hayes 1917-Wilson #> 0.3964994 0.3844228 0.3689380 0.3676962 0.3621190 #> 1957-Eisenhower 1841-Harrison 1897-McKinley 1893-Cleveland 1817-Monroe #> 0.3594347 0.3547999 0.3501477 0.3483731 0.3474119 #> 1801-Jefferson 1933-Roosevelt 1805-Jefferson 1949-Truman 1869-Grant #> 0.3473577 0.3434389 0.3405913 0.3401469 0.3388658 #> 1789-Washington 1913-Wilson 1797-Adams 1881-Garfield 1889-Harrison #> 0.3339442 0.3334160 0.3308235 0.3297729 0.3263570 #> 1901-McKinley 1885-Cleveland 1821-Monroe 1857-Buchanan 1825-Adams #> 0.3203372 0.3058224 0.3049073 0.3017249 0.2992344 #> 1873-Grant 1909-Taft 1845-Polk 1833-Jackson 1945-Roosevelt #> 0.2950418 0.2935492 0.2908441 0.2857197 0.2681689 #> 1809-Madison 1829-Jackson 1861-Lincoln 1813-Madison 1849-Taylor #> 0.2639921 0.2615693 0.2609850 0.2567662 0.2545149 #> 1865-Lincoln 1793-Washington #> 0.2082204 0.1338624 #> #> $`2005-Bush` #> 2001-Bush 2013-Obama 1985-Reagan 1953-Eisenhower 1941-Roosevelt #> 0.5204355 0.5163644 0.5113232 0.4741806 0.4669590 #> 1957-Eisenhower 1981-Reagan 2009-Obama 1989-Bush 1949-Truman #> 0.4579394 0.4577205 0.4575297 0.4556697 0.4483708 #> 1993-Clinton 1925-Coolidge 1997-Clinton 2017-Trump 1965-Johnson #> 0.4396107 0.4372257 0.4355170 0.4349030 0.4298097 #> 1977-Carter 1921-Harding 1961-Kennedy 1969-Nixon 1929-Hoover #> 0.4119036 0.4104266 0.3885476 0.3858397 0.3851449 #> 1973-Nixon 1841-Harrison 1881-Garfield 1837-VanBuren 1797-Adams #> 0.3809746 0.3769007 0.3686078 0.3586770 0.3542807 #> 1853-Pierce 1937-Roosevelt 1901-McKinley 1897-McKinley 1801-Jefferson #> 0.3503059 0.3490076 0.3430009 0.3386054 0.3382253 #> 1877-Hayes 1857-Buchanan 1933-Roosevelt 1789-Washington 1845-Polk #> 0.3263778 0.3246647 0.3221107 0.3207017 0.3201896 #> 1889-Harrison 1917-Wilson 1825-Adams 1821-Monroe 1805-Jefferson #> 0.3181727 0.3166508 0.3151142 0.3142614 0.3106385 #> 1817-Monroe 1869-Grant 1905-Roosevelt 1913-Wilson 1861-Lincoln #> 0.3088534 0.3080354 0.3049046 0.3024197 0.2965053 #> 1809-Madison 1909-Taft 1893-Cleveland 1873-Grant 1833-Jackson #> 0.2946444 0.2919979 0.2903244 0.2837963 0.2777048 #> 1945-Roosevelt 1885-Cleveland 1813-Madison 1829-Jackson 1849-Taylor #> 0.2666159 0.2652376 0.2529588 0.2468658 0.2048017 #> 1865-Lincoln 1793-Washington #> 0.1877917 0.1479523 #> #> $`2009-Obama` #> 2013-Obama 1997-Clinton 1993-Clinton 1985-Reagan 1973-Nixon #> 0.6373318 0.6297973 0.5925820 0.5892557 0.5870488 #> 1969-Nixon 1981-Reagan 1989-Bush 2001-Bush 1965-Johnson #> 0.5789409 0.5768486 0.5721535 0.5411649 0.5398082 #> 1977-Carter 1961-Kennedy 1941-Roosevelt 1905-Roosevelt 1953-Eisenhower #> 0.5312681 0.5091416 0.4806676 0.4693298 0.4685294 #> 1921-Harding 2005-Bush 1925-Coolidge 1957-Eisenhower 1937-Roosevelt #> 0.4602595 0.4575297 0.4568061 0.4526716 0.4484460 #> 2017-Trump 1917-Wilson 1933-Roosevelt 1853-Pierce 1837-VanBuren #> 0.4481950 0.4465655 0.4397100 0.4139509 0.4129316 #> 1949-Truman 1929-Hoover 1913-Wilson 1801-Jefferson 1901-McKinley #> 0.4115157 0.4034583 0.4002097 0.3880120 0.3873509 #> 1893-Cleveland 1881-Garfield 1897-McKinley 1817-Monroe 1889-Harrison #> 0.3829927 0.3826476 0.3679430 0.3647328 0.3517380 #> 1869-Grant 1841-Harrison 1797-Adams 1909-Taft 1789-Washington #> 0.3476426 0.3413496 0.3407316 0.3255123 0.3194943 #> 1805-Jefferson 1877-Hayes 1945-Roosevelt 1873-Grant 1857-Buchanan #> 0.3191722 0.3171187 0.3135353 0.3130723 0.3122723 #> 1821-Monroe 1861-Lincoln 1885-Cleveland 1833-Jackson 1865-Lincoln #> 0.3101363 0.3063815 0.2986415 0.2959844 0.2925002 #> 1845-Polk 1825-Adams 1849-Taylor 1809-Madison 1813-Madison #> 0.2913341 0.2885442 0.2745784 0.2727024 0.2634836 #> 1829-Jackson 1793-Washington #> 0.2628820 0.1385268 #> #> $`2013-Obama` #> 2009-Obama 1985-Reagan 1997-Clinton 1981-Reagan 1993-Clinton #> 0.6373318 0.6331729 0.6121809 0.6054181 0.5997993 #> 2001-Bush 1965-Johnson 1989-Bush 1977-Carter 1973-Nixon #> 0.5561972 0.5461326 0.5290330 0.5213535 0.5207653 #> 1969-Nixon 2005-Bush 1953-Eisenhower 1921-Harding 1925-Coolidge #> 0.5203205 0.5163644 0.4775487 0.4697207 0.4675948 #> 2017-Trump 1941-Roosevelt 1905-Roosevelt 1897-McKinley 1837-VanBuren #> 0.4546945 0.4528271 0.4418617 0.4369620 0.4367400 #> 1949-Truman 1961-Kennedy 1937-Roosevelt 1957-Eisenhower 1901-McKinley #> 0.4336559 0.4281767 0.4192635 0.4178088 0.4151365 #> 1893-Cleveland 1933-Roosevelt 1853-Pierce 1917-Wilson 1929-Hoover #> 0.4134454 0.4128701 0.4101503 0.4052630 0.4048635 #> 1881-Garfield 1817-Monroe 1841-Harrison 1801-Jefferson 1877-Hayes #> 0.3933721 0.3880594 0.3863257 0.3814785 0.3706975 #> 1889-Harrison 1909-Taft 1797-Adams 1833-Jackson 1869-Grant #> 0.3600069 0.3556185 0.3548880 0.3485030 0.3473703 #> 1861-Lincoln 1821-Monroe 1913-Wilson 1805-Jefferson 1885-Cleveland #> 0.3453801 0.3426786 0.3422062 0.3417981 0.3414678 #> 1845-Polk 1789-Washington 1945-Roosevelt 1825-Adams 1857-Buchanan #> 0.3386331 0.3266718 0.3193821 0.3193539 0.3131931 #> 1873-Grant 1865-Lincoln 1829-Jackson 1809-Madison 1813-Madison #> 0.3097694 0.2883459 0.2716377 0.2582284 0.2474360 #> 1849-Taylor 1793-Washington #> 0.2454837 0.1693882 #> #> $`2017-Trump` #> 1993-Clinton 1997-Clinton 1985-Reagan 2013-Obama 1989-Bush #> 0.4982465 0.4947457 0.4734261 0.4546945 0.4530407 #> 2001-Bush 2009-Obama 2005-Bush 1981-Reagan 1969-Nixon #> 0.4518935 0.4481950 0.4349030 0.4234273 0.4197822 #> 1921-Harding 1925-Coolidge 1973-Nixon 1965-Johnson 1937-Roosevelt #> 0.4085250 0.4053082 0.4019412 0.3997222 0.3701930 #> 1941-Roosevelt 1977-Carter 1897-McKinley 1837-VanBuren 1797-Adams #> 0.3639366 0.3619825 0.3606982 0.3528903 0.3526032 #> 1929-Hoover 1957-Eisenhower 1841-Harrison 1961-Kennedy 1953-Eisenhower #> 0.3380369 0.3332719 0.3327232 0.3237021 0.3229181 #> 1881-Garfield 1877-Hayes 1949-Truman 1889-Harrison 1817-Monroe #> 0.3186152 0.3166383 0.3144166 0.3132196 0.3123459 #> 1913-Wilson 1885-Cleveland 1901-McKinley 1821-Monroe 1873-Grant #> 0.3097255 0.3096608 0.3088027 0.3065480 0.3052610 #> 1893-Cleveland 1845-Polk 1853-Pierce 1857-Buchanan 1917-Wilson #> 0.3036888 0.3010016 0.3006301 0.2985968 0.2975482 #> 1869-Grant 1933-Roosevelt 1789-Washington 1861-Lincoln 1905-Roosevelt #> 0.2932941 0.2920648 0.2920311 0.2846567 0.2840254 #> 1909-Taft 1833-Jackson 1825-Adams 1801-Jefferson 1849-Taylor #> 0.2792934 0.2658828 0.2546325 0.2495679 0.2293634 #> 1813-Madison 1945-Roosevelt 1805-Jefferson 1809-Madison 1793-Washington #> 0.2220188 0.2111098 0.2022343 0.1989042 0.1945727 #> 1829-Jackson 1865-Lincoln #> 0.1906166 0.1853258 #>
# similarities for for specific documents textstat_simil(mt, "2017-Trump", margin = "documents")
#> 2017-Trump #> 1789-Washington 0.2690870 #> 1793-Washington 0.1852174 #> 1797-Adams 0.3317497 #> 1801-Jefferson 0.2243434 #> 1805-Jefferson 0.1738931 #> 1809-Madison 0.1729485 #> 1813-Madison 0.1990502 #> 1817-Monroe 0.2886012 #> 1821-Monroe 0.2800990 #> 1825-Adams 0.2275511 #> 1829-Jackson 0.1653857 #> 1833-Jackson 0.2462825 #> 1837-VanBuren 0.3266903 #> 1841-Harrison 0.3064850 #> 1845-Polk 0.2771014 #> 1849-Taylor 0.2075707 #> 1853-Pierce 0.2729333 #> 1857-Buchanan 0.2752967 #> 1861-Lincoln 0.2615129 #> 1865-Lincoln 0.1668100 #> 1869-Grant 0.2733190 #> 1873-Grant 0.2839816 #> 1877-Hayes 0.2940639 #> 1881-Garfield 0.2949147 #> 1885-Cleveland 0.2886662 #> 1889-Harrison 0.2859911 #> 1893-Cleveland 0.2798190 #> 1897-McKinley 0.3382019 #> 1901-McKinley 0.2849659 #> 1905-Roosevelt 0.2664952 #> 1909-Taft 0.2500908 #> 1913-Wilson 0.2882817 #> 1917-Wilson 0.2779474 #> 1921-Harding 0.3866971 #> 1925-Coolidge 0.3832096 #> 1929-Hoover 0.3150063 #> 1933-Roosevelt 0.2677784 #> 1937-Roosevelt 0.3501745 #> 1941-Roosevelt 0.3468748 #> 1945-Roosevelt 0.1946755 #> 1949-Truman 0.2941836 #> 1953-Eisenhower 0.3002816 #> 1957-Eisenhower 0.3149555 #> 1961-Kennedy 0.3048824 #> 1965-Johnson 0.3839600 #> 1969-Nixon 0.4028158 #> 1973-Nixon 0.3893500 #> 1977-Carter 0.3450210 #> 1981-Reagan 0.4045032 #> 1985-Reagan 0.4567601 #> 1989-Bush 0.4356976 #> 1993-Clinton 0.4853018 #> 1997-Clinton 0.4813818 #> 2001-Bush 0.4353474 #> 2005-Bush 0.4178703 #> 2009-Obama 0.4289817 #> 2013-Obama 0.4372527 #> 2017-Trump 1.0000000
textstat_simil(mt, "2017-Trump", method = "cosine", margin = "documents")
#> 2017-Trump #> 1789-Washington 0.2920311 #> 1793-Washington 0.1945727 #> 1797-Adams 0.3526032 #> 1801-Jefferson 0.2495679 #> 1805-Jefferson 0.2022343 #> 1809-Madison 0.1989042 #> 1813-Madison 0.2220188 #> 1817-Monroe 0.3123459 #> 1821-Monroe 0.3065480 #> 1825-Adams 0.2546325 #> 1829-Jackson 0.1906166 #> 1833-Jackson 0.2658828 #> 1837-VanBuren 0.3528903 #> 1841-Harrison 0.3327232 #> 1845-Polk 0.3010016 #> 1849-Taylor 0.2293634 #> 1853-Pierce 0.3006301 #> 1857-Buchanan 0.2985968 #> 1861-Lincoln 0.2846567 #> 1865-Lincoln 0.1853258 #> 1869-Grant 0.2932941 #> 1873-Grant 0.3052610 #> 1877-Hayes 0.3166383 #> 1881-Garfield 0.3186152 #> 1885-Cleveland 0.3096608 #> 1889-Harrison 0.3132196 #> 1893-Cleveland 0.3036888 #> 1897-McKinley 0.3606982 #> 1901-McKinley 0.3088027 #> 1905-Roosevelt 0.2840254 #> 1909-Taft 0.2792934 #> 1913-Wilson 0.3097255 #> 1917-Wilson 0.2975482 #> 1921-Harding 0.4085250 #> 1925-Coolidge 0.4053082 #> 1929-Hoover 0.3380369 #> 1933-Roosevelt 0.2920648 #> 1937-Roosevelt 0.3701930 #> 1941-Roosevelt 0.3639366 #> 1945-Roosevelt 0.2111098 #> 1949-Truman 0.3144166 #> 1953-Eisenhower 0.3229181 #> 1957-Eisenhower 0.3332719 #> 1961-Kennedy 0.3237021 #> 1965-Johnson 0.3997222 #> 1969-Nixon 0.4197822 #> 1973-Nixon 0.4019412 #> 1977-Carter 0.3619825 #> 1981-Reagan 0.4234273 #> 1985-Reagan 0.4734261 #> 1989-Bush 0.4530407 #> 1993-Clinton 0.4982465 #> 1997-Clinton 0.4947457 #> 2001-Bush 0.4518935 #> 2005-Bush 0.4349030 #> 2009-Obama 0.4481950 #> 2013-Obama 0.4546945 #> 2017-Trump 1.0000000
textstat_simil(mt, c("2009-Obama" , "2013-Obama"), margin = "documents")
#> 2009-Obama 2013-Obama #> 1789-Washington 0.2898156 0.3001697 #> 1793-Washington 0.1254676 0.1580668 #> 1797-Adams 0.3121088 0.3295999 #> 1801-Jefferson 0.3602683 0.3562139 #> 1805-Jefferson 0.2864628 0.3133933 #> 1809-Madison 0.2410808 0.2291313 #> 1813-Madison 0.2345384 0.2206578 #> 1817-Monroe 0.3349151 0.3622362 #> 1821-Monroe 0.2738471 0.3117793 #> 1825-Adams 0.2533610 0.2891538 #> 1829-Jackson 0.2321521 0.2442050 #> 1833-Jackson 0.2712850 0.3277420 #> 1837-VanBuren 0.3794978 0.4084065 #> 1841-Harrison 0.3052590 0.3564273 #> 1845-Polk 0.2584699 0.3110344 #> 1849-Taylor 0.2474031 0.2198306 #> 1853-Pierce 0.3818575 0.3814386 #> 1857-Buchanan 0.2814147 0.2854185 #> 1861-Lincoln 0.2761939 0.3196688 #> 1865-Lincoln 0.2718312 0.2692735 #> 1869-Grant 0.3233220 0.3252315 #> 1873-Grant 0.2849574 0.2842043 #> 1877-Hayes 0.2866434 0.3453799 #> 1881-Garfield 0.3534099 0.3675581 #> 1885-Cleveland 0.2701534 0.3172658 #> 1889-Harrison 0.3160435 0.3286212 #> 1893-Cleveland 0.3542930 0.3889063 #> 1897-McKinley 0.3374610 0.4126094 #> 1901-McKinley 0.3586458 0.3905017 #> 1905-Roosevelt 0.4530239 0.4258608 #> 1909-Taft 0.2877035 0.3234952 #> 1913-Wilson 0.3753134 0.3174643 #> 1917-Wilson 0.4264152 0.3854028 #> 1921-Harding 0.4324358 0.4453711 #> 1925-Coolidge 0.4285804 0.4429692 #> 1929-Hoover 0.3751454 0.3794904 #> 1933-Roosevelt 0.4136515 0.3883072 #> 1937-Roosevelt 0.4248972 0.3968173 #> 1941-Roosevelt 0.4627499 0.4353917 #> 1945-Roosevelt 0.2955131 0.3029077 #> 1949-Truman 0.3885288 0.4135329 #> 1953-Eisenhower 0.4444923 0.4562513 #> 1957-Eisenhower 0.4331353 0.3987127 #> 1961-Kennedy 0.4914643 0.4091537 #> 1965-Johnson 0.5245528 0.5321393 #> 1969-Nixon 0.5628833 0.5034602 #> 1973-Nixon 0.5774647 0.5095345 #> 1977-Carter 0.5154362 0.5063361 #> 1981-Reagan 0.5580184 0.5895543 #> 1985-Reagan 0.5717801 0.6189883 #> 1989-Bush 0.5539200 0.5108044 #> 1993-Clinton 0.5796081 0.5878170 #> 1997-Clinton 0.6177234 0.6002095 #> 2001-Bush 0.5228251 0.5399960 #> 2005-Bush 0.4357955 0.4987423 #> 2009-Obama 1.0000000 0.6217273 #> 2013-Obama 0.6217273 1.0000000 #> 2017-Trump 0.4289817 0.4372527
# compute some term similarities s2 <- textstat_simil(mt, c("fair", "health", "terror"), method = "cosine", margin = "features") head(as.matrix(s2), 10)
#> fair health terror #> fellow-citizens 0.5036169 0.26882663 0.07012869 #> senate 0.4106594 0.32101212 0.04938648 #> house 0.2898855 0.23008950 0.15339300 #> representatives 0.4040610 0.32071349 0.10690450 #> among 0.5027607 0.26294250 0.12373764 #> vicissitudes 0.1603567 0.07071068 0.00000000 #> incident 0.3450328 0.13693064 0.00000000 #> life 0.3913624 0.48410541 0.34963168 #> event 0.4714540 0.08134892 0.10846523 #> filled 0.1690309 0.39131190 0.11180340
as.list(s2, n = 8)
#> $fair #> united great best thus present preserve cultivate every #> 0.7283118 0.7260643 0.7148319 0.7037316 0.7018624 0.6920211 0.6872565 0.6830623 #> #> $health #> instrumentality culture ideals denial heightened #> 0.7378648 0.7378648 0.7361216 0.7071068 0.6708204 #> associations discourage insidious #> 0.6708204 0.6708204 0.6708204 #> #> $terror #> plague tragedy mystical split atom commonplace #> 0.6708204 0.6708204 0.6708204 0.6708204 0.6708204 0.6708204 #> guarantee martin #> 0.6708204 0.6708204 #>
# create a dfm from inaugural addresses from Reagan onwards mt <- dfm(corpus_subset(data_corpus_inaugural, Year > 1990), remove = stopwords("english"), stem = TRUE, remove_punct = TRUE) # distances for documents (d1 <- textstat_dist(mt, margin = "documents"))
#> 1993-Clinton 1997-Clinton 2001-Bush 2005-Bush 2009-Obama #> 1997-Clinton 58.90671 #> 2001-Bush 52.82045 63.63961 #> 2005-Bush 62.79331 73.38256 54.32311 #> 2009-Obama 51.66237 59.95832 50.70503 62.33779 #> 2013-Obama 51.30302 60.81118 49.03060 57.90509 48.48711 #> 2017-Trump 52.14403 65.85590 48.79549 58.00000 55.65968 #> 2013-Obama #> 1997-Clinton #> 2001-Bush #> 2005-Bush #> 2009-Obama #> 2013-Obama #> 2017-Trump 55.21775
as.matrix(d1)
#> 1993-Clinton 1997-Clinton 2001-Bush 2005-Bush 2009-Obama #> 1993-Clinton 0.00000 58.90671 52.82045 62.79331 51.66237 #> 1997-Clinton 58.90671 0.00000 63.63961 73.38256 59.95832 #> 2001-Bush 52.82045 63.63961 0.00000 54.32311 50.70503 #> 2005-Bush 62.79331 73.38256 54.32311 0.00000 62.33779 #> 2009-Obama 51.66237 59.95832 50.70503 62.33779 0.00000 #> 2013-Obama 51.30302 60.81118 49.03060 57.90509 48.48711 #> 2017-Trump 52.14403 65.85590 48.79549 58.00000 55.65968 #> 2013-Obama 2017-Trump #> 1993-Clinton 51.30302 52.14403 #> 1997-Clinton 60.81118 65.85590 #> 2001-Bush 49.03060 48.79549 #> 2005-Bush 57.90509 58.00000 #> 2009-Obama 48.48711 55.65968 #> 2013-Obama 0.00000 55.21775 #> 2017-Trump 55.21775 0.00000
# distances for specific documents textstat_dist(mt, "2017-Trump", margin = "documents")
#> 2017-Trump #> 1993-Clinton 52.14403 #> 1997-Clinton 65.85590 #> 2001-Bush 48.79549 #> 2005-Bush 58.00000 #> 2009-Obama 55.65968 #> 2013-Obama 55.21775 #> 2017-Trump 0.00000
(d2 <- textstat_dist(mt, c("2009-Obama" , "2013-Obama"), margin = "documents"))
#> 2009-Obama 2013-Obama #> 1993-Clinton 51.66237 51.30302 #> 1997-Clinton 59.95832 60.81118 #> 2001-Bush 50.70503 49.03060 #> 2005-Bush 62.33779 57.90509 #> 2009-Obama 0.00000 48.48711 #> 2013-Obama 48.48711 0.00000 #> 2017-Trump 55.65968 55.21775
as.list(d1)
#> $`1993-Clinton` #> 2005-Bush 1997-Clinton 2001-Bush 2017-Trump 2009-Obama 2013-Obama #> 62.79331 58.90671 52.82045 52.14403 51.66237 51.30302 #> #> $`1997-Clinton` #> 2005-Bush 2017-Trump 2001-Bush 2013-Obama 2009-Obama 1993-Clinton #> 73.38256 65.85590 63.63961 60.81118 59.95832 58.90671 #> #> $`2001-Bush` #> 1997-Clinton 2005-Bush 1993-Clinton 2009-Obama 2013-Obama 2017-Trump #> 63.63961 54.32311 52.82045 50.70503 49.03060 48.79549 #> #> $`2005-Bush` #> 1997-Clinton 1993-Clinton 2009-Obama 2017-Trump 2013-Obama 2001-Bush #> 73.38256 62.79331 62.33779 58.00000 57.90509 54.32311 #> #> $`2009-Obama` #> 2005-Bush 1997-Clinton 2017-Trump 1993-Clinton 2001-Bush 2013-Obama #> 62.33779 59.95832 55.65968 51.66237 50.70503 48.48711 #> #> $`2013-Obama` #> 1997-Clinton 2005-Bush 2017-Trump 1993-Clinton 2001-Bush 2009-Obama #> 60.81118 57.90509 55.21775 51.30302 49.03060 48.48711 #> #> $`2017-Trump` #> 1997-Clinton 2005-Bush 2009-Obama 2013-Obama 1993-Clinton 2001-Bush #> 65.85590 58.00000 55.65968 55.21775 52.14403 48.79549 #>