R/weights.R
rbf_kernel_weights.Rd
This is a factory function - it returns a function which can be
used to create a matrix of clustering weights. In particular, it returns a function
which takes a n-by-p data matrix \(X\) and returns an n-by-n matrix whose
\((i, j)\)-th element is given by \(e^{-phi * dist(x_i, x_j)}\) where
\(x_i\), \(x_j\) are the \(i\)-th and \(j\)-th row of \(X\)
respectively. The distance metric used is determined by the
dist.method
and p
arguments, which are passed to
dist
.
dense_rbf_kernel_weights( phi = "auto", dist.method = c("euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"), p = 2 ) sparse_rbf_kernel_weights(..., k = "auto")
phi | The scale factor used for the RBF kernel |
---|---|
dist.method | The type of distance used to calculate distances between
points. See the |
p | The power of the Minkowski distance (only relevant if |
... | Arguments passed through from |
k | The number of neighbors to use |
A function which, when called, returns a matrix of clustering weights.
The sparse weights (sparse_rbf_kernel_weights
) are calculated by
dropping all but the k
largest weights for each row of the matrix
(equivalent to taking the k
nearest neighbors to each point). The
weight matrix is symmetrized, so if a is a neighbor of b, but
not vice versa, the edge is still included. If k
is too small, resulting
in a non-fully-connected graph, an error is thrown.
If phi == "auto"
, a grid of possible \(phi\) values are used and
the phi
which maximizes the variance of the resulting weights is taken.
If k == "auto"
, the smallest k
that still yields a fully connected
graph is used.
weight_func <- dense_rbf_kernel_weights() weight_func(presidential_speech)#> $weight_mat #> Abraham Lincoln Andrew Jackson Andrew Johnson #> Abraham Lincoln 0.0000000000 0.3701283153 0.7194394164 #> Andrew Jackson 0.3701283153 0.0000000000 0.4241264843 #> Andrew Johnson 0.7194394164 0.4241264843 0.0000000000 #> Barack Obama 0.0024191769 0.0006325056 0.0022576824 #> Benjamin Harrison 0.2715042876 0.3437737065 0.3452650652 #> Calvin Coolidge 0.1130244531 0.1209060076 0.1462010094 #> Chester A. Arthur 0.5107268449 0.4552155785 0.6072132022 #> Donald J. Trump 0.0328554411 0.0040828493 0.0177884105 #> Dwight D. Eisenhower 0.0050082957 0.0029862276 0.0069206418 #> Franklin D. Roosevelt 0.0246620448 0.0138194859 0.0290040394 #> Franklin Pierce 0.6231678090 0.4360448877 0.5870692218 #> George Bush 0.0151376705 0.0031189804 0.0108074183 #> George W. Bush 0.0044657238 0.0011716916 0.0040953729 #> George Washington 0.3552145679 0.0974447698 0.1714463338 #> Gerald R. Ford 0.0211195775 0.0039565268 0.0183077635 #> Grover Cleveland 0.1120443879 0.2379506073 0.1897414136 #> Harry S. Truman 0.0015019584 0.0011926724 0.0028535114 #> Herbert Hoover 0.1379523760 0.0777105178 0.1506592602 #> James A. Garfield 0.1016307316 0.0104139865 0.0436111306 #> James Buchanan 0.4615714199 0.5633682717 0.5786401194 #> James K. Polk 0.3259681482 0.5644830836 0.4808670410 #> James Madison 0.4464326693 0.1435646556 0.2521910486 #> James Monroe 0.5683039170 0.4233432848 0.4017453534 #> Jimmy Carter 0.0001578837 0.0001935163 0.0003182012 #> John Adams 0.2648704166 0.0557083980 0.1291430617 #> John F. Kennedy 0.0215587917 0.0054576887 0.0184087761 #> John Quincy Adams 0.5896010451 0.3877747027 0.3855417277 #> John Tyler 0.6721470409 0.5021663501 0.6254377200 #> Lyndon B. Johnson 0.0179517666 0.0061517826 0.0189234711 #> Martin van Buren 0.6360970861 0.6365913060 0.6087756154 #> Millard Fillmore 0.6111059088 0.4141201599 0.5424777507 #> Richard Nixon 0.0025172091 0.0013833097 0.0028889480 #> Ronald Reagan 0.0035921848 0.0011168224 0.0037157069 #> Rutherford B. Hayes 0.4372316644 0.3040336602 0.4595719260 #> Theodore Roosevelt 0.0424630708 0.0773472932 0.0662985091 #> Thomas Jefferson 0.4552116018 0.1735897370 0.2624659237 #> Ulysses S. Grant 0.3237100333 0.4371661223 0.4005867571 #> Warren G. Harding 0.1271301308 0.0304189177 0.0854133029 #> William Henry Harrison 0.1322510912 0.0212098545 0.0672745224 #> William Howard Taft 0.1167223095 0.2276895629 0.1829720479 #> William J. Clinton 0.0019537071 0.0007320451 0.0021561789 #> William McKinley 0.2554903132 0.3463032220 0.3563183879 #> Woodrow Wilson 0.2310079866 0.1299861763 0.2575080983 #> Zachary Taylor 0.5447867229 0.1786069350 0.3457273246 #> Barack Obama Benjamin Harrison Calvin Coolidge #> Abraham Lincoln 0.0024191769 0.2715042876 0.113024453 #> Andrew Jackson 0.0006325056 0.3437737065 0.120906008 #> Andrew Johnson 0.0022576824 0.3452650652 0.146201009 #> Barack Obama 0.0000000000 0.0015796098 0.012764100 #> Benjamin Harrison 0.0015796098 0.0000000000 0.322174941 #> Calvin Coolidge 0.0127641005 0.3221749414 0.000000000 #> Chester A. Arthur 0.0015047834 0.5348065388 0.179914715 #> Donald J. Trump 0.1343088734 0.0047265441 0.013756534 #> Dwight D. Eisenhower 0.0900987725 0.0124822000 0.102831848 #> Franklin D. Roosevelt 0.1345247912 0.0255850591 0.150538436 #> Franklin Pierce 0.0014276742 0.2391710363 0.103557024 #> George Bush 0.4913504739 0.0047194282 0.026236999 #> George W. Bush 0.6575411566 0.0030199272 0.019943501 #> George Washington 0.0020061575 0.0411339984 0.021618529 #> Gerald R. Ford 0.2374878706 0.0057290320 0.033519512 #> Grover Cleveland 0.0005048344 0.5960045182 0.235143721 #> Harry S. Truman 0.0183944386 0.0063982198 0.049579687 #> Herbert Hoover 0.0143019949 0.1522458479 0.425164433 #> James A. Garfield 0.0038697880 0.0067118606 0.006154566 #> James Buchanan 0.0008312879 0.3722230916 0.107604652 #> James K. Polk 0.0007248010 0.4397445860 0.133075700 #> James Madison 0.0015738769 0.0612225324 0.028149235 #> James Monroe 0.0005673384 0.1766042475 0.043492731 #> Jimmy Carter 0.0410233050 0.0009528113 0.011428550 #> John Adams 0.0015394873 0.0240671898 0.011759043 #> John F. Kennedy 0.2840066375 0.0118032583 0.066246840 #> John Quincy Adams 0.0012802765 0.1706366495 0.064750727 #> John Tyler 0.0014716222 0.2194715179 0.079293410 #> Lyndon B. Johnson 0.3467403657 0.0141300144 0.077363359 #> Martin van Buren 0.0015584409 0.2633290989 0.115168867 #> Millard Fillmore 0.0007524272 0.3047971220 0.083907083 #> Richard Nixon 0.2208267182 0.0051422283 0.048332432 #> Ronald Reagan 0.5508255363 0.0025863654 0.024890089 #> Rutherford B. Hayes 0.0015760558 0.6313049905 0.224296444 #> Theodore Roosevelt 0.0048235868 0.2932725641 0.337788448 #> Thomas Jefferson 0.0021067804 0.0715164416 0.038864039 #> Ulysses S. Grant 0.0008001870 0.6390728732 0.179364194 #> Warren G. Harding 0.0408706321 0.0444991081 0.109302467 #> William Henry Harrison 0.0033567972 0.0092991453 0.007540107 #> William Howard Taft 0.0023709741 0.4969090673 0.506177465 #> William J. Clinton 0.6873245276 0.0019558734 0.016931974 #> William McKinley 0.0015052882 0.6133496554 0.272197146 #> Woodrow Wilson 0.0236440625 0.1983962132 0.398155362 #> Zachary Taylor 0.0014138213 0.1153383129 0.047069067 #> Chester A. Arthur Donald J. Trump Dwight D. Eisenhower #> Abraham Lincoln 0.5107268449 0.0328554411 0.0050082957 #> Andrew Jackson 0.4552155785 0.0040828493 0.0029862276 #> Andrew Johnson 0.6072132022 0.0177884105 0.0069206418 #> Barack Obama 0.0015047834 0.1343088734 0.0900987725 #> Benjamin Harrison 0.5348065388 0.0047265441 0.0124822000 #> Calvin Coolidge 0.1799147146 0.0137565335 0.1028318482 #> Chester A. Arthur 0.0000000000 0.0093120931 0.0062662212 #> Donald J. Trump 0.0093120931 0.0000000000 0.0100711781 #> Dwight D. Eisenhower 0.0062662212 0.0100711781 0.0000000000 #> Franklin D. Roosevelt 0.0190311178 0.0640386279 0.3010904125 #> Franklin Pierce 0.4960717097 0.0189654981 0.0042327016 #> George Bush 0.0061496392 0.3871675497 0.0794874463 #> George W. Bush 0.0029291168 0.1669406959 0.1144657509 #> George Washington 0.1070083485 0.0861114689 0.0015183608 #> Gerald R. Ford 0.0084925855 0.2904972285 0.0846663485 #> Grover Cleveland 0.3149604037 0.0007020694 0.0088346819 #> Harry S. Truman 0.0029541110 0.0011075761 0.3937988530 #> Herbert Hoover 0.1118701489 0.0331369434 0.0635349686 #> James A. Garfield 0.0184007764 0.2214936321 0.0007454038 #> James Buchanan 0.5389170168 0.0064159281 0.0040456711 #> James K. Polk 0.5313726385 0.0030862401 0.0045980243 #> James Madison 0.1554958416 0.0636024017 0.0015690438 #> James Monroe 0.3277613827 0.0129160503 0.0013746646 #> Jimmy Carter 0.0003559836 0.0005568798 0.2084845982 #> John Adams 0.0685009714 0.0990889873 0.0007809448 #> John F. Kennedy 0.0111968585 0.2406897973 0.2320398952 #> John Quincy Adams 0.3487760757 0.0278461766 0.0024475829 #> John Tyler 0.4860013191 0.0223527198 0.0029156454 #> Lyndon B. Johnson 0.0133681740 0.1412337427 0.3353068749 #> Martin van Buren 0.4545776993 0.0156037397 0.0043571655 #> Millard Fillmore 0.4718560535 0.0158099053 0.0023539200 #> Richard Nixon 0.0026960297 0.0206798296 0.5199660607 #> Ronald Reagan 0.0024611403 0.0878957962 0.2532975182 #> Rutherford B. Hayes 0.6575882669 0.0094363562 0.0085612099 #> Theodore Roosevelt 0.1169322664 0.0017203404 0.0601710631 #> Thomas Jefferson 0.1520698003 0.0594366532 0.0022649275 #> Ulysses S. Grant 0.5881847198 0.0030660651 0.0058435119 #> Warren G. Harding 0.0553680328 0.2351143970 0.0337548897 #> William Henry Harrison 0.0283314502 0.1657878595 0.0007363662 #> William Howard Taft 0.3012390135 0.0024954567 0.0231691195 #> William J. Clinton 0.0016874255 0.0604108626 0.1674712490 #> William McKinley 0.5051246657 0.0036758104 0.0141490169 #> Woodrow Wilson 0.1855824766 0.0641515660 0.0585967868 #> Zachary Taylor 0.2597600225 0.0466656712 0.0019780700 #> Franklin D. Roosevelt Franklin Pierce George Bush #> Abraham Lincoln 0.024662045 0.6231678090 0.015137671 #> Andrew Jackson 0.013819486 0.4360448877 0.003118980 #> Andrew Johnson 0.029004039 0.5870692218 0.010807418 #> Barack Obama 0.134524791 0.0014276742 0.491350474 #> Benjamin Harrison 0.025585059 0.2391710363 0.004719428 #> Calvin Coolidge 0.150538436 0.1035570241 0.026236999 #> Chester A. Arthur 0.019031118 0.4960717097 0.006149639 #> Donald J. Trump 0.064038628 0.0189654981 0.387167550 #> Dwight D. Eisenhower 0.301090413 0.0042327016 0.079487446 #> Franklin D. Roosevelt 0.000000000 0.0239956517 0.173748066 #> Franklin Pierce 0.023995652 0.0000000000 0.009214459 #> George Bush 0.173748066 0.0092144592 0.000000000 #> George W. Bush 0.206032033 0.0037833385 0.500935777 #> George Washington 0.012245650 0.2022932483 0.022633100 #> Gerald R. Ford 0.161047452 0.0137762642 0.508052724 #> Grover Cleveland 0.014200811 0.1288307107 0.001000979 #> Harry S. Truman 0.142678580 0.0012504210 0.011629290 #> Herbert Hoover 0.120974271 0.0877336367 0.048330243 #> James A. Garfield 0.008307707 0.0445291158 0.045675530 #> James Buchanan 0.014817412 0.5418182808 0.004127582 #> James K. Polk 0.012541078 0.3930392972 0.002460238 #> James Madison 0.014048702 0.3270828967 0.018265979 #> James Monroe 0.009422311 0.5260434526 0.004816881 #> Jimmy Carter 0.044856059 0.0001814383 0.012657900 #> John Adams 0.008849855 0.1636911985 0.021189548 #> John F. Kennedy 0.336883553 0.0137183700 0.505504801 #> John Quincy Adams 0.016368488 0.6195258076 0.011048672 #> John Tyler 0.016500168 0.5775547492 0.009526298 #> Lyndon B. Johnson 0.345622747 0.0126518356 0.497553836 #> Martin van Buren 0.019206816 0.5869939925 0.008666814 #> Millard Fillmore 0.013273143 0.5793973152 0.005545023 #> Richard Nixon 0.222006863 0.0021273250 0.155346789 #> Ronald Reagan 0.206409050 0.0027733714 0.504928930 #> Rutherford B. Hayes 0.021702189 0.4542864666 0.006619699 #> Theodore Roosevelt 0.077288485 0.0497036966 0.005664822 #> Thomas Jefferson 0.018531589 0.3182906810 0.020792373 #> Ulysses S. Grant 0.016467919 0.3589985551 0.002731379 #> Warren G. Harding 0.121421792 0.0728885642 0.211019982 #> William Henry Harrison 0.009723245 0.0682968489 0.038468089 #> William Howard Taft 0.040926194 0.1320851200 0.004831959 #> William J. Clinton 0.170387514 0.0014485866 0.353446235 #> William McKinley 0.034504046 0.3037448603 0.004297618 #> Woodrow Wilson 0.214777950 0.1960237579 0.080868593 #> Zachary Taylor 0.014525945 0.4480779907 0.013579272 #> George W. Bush George Washington Gerald R. Ford #> Abraham Lincoln 0.0044657238 3.552146e-01 0.021119577 #> Andrew Jackson 0.0011716916 9.744477e-02 0.003956527 #> Andrew Johnson 0.0040953729 1.714463e-01 0.018307763 #> Barack Obama 0.6575411566 2.006158e-03 0.237487871 #> Benjamin Harrison 0.0030199272 4.113400e-02 0.005729032 #> Calvin Coolidge 0.0199435006 2.161853e-02 0.033519512 #> Chester A. Arthur 0.0029291168 1.070083e-01 0.008492586 #> Donald J. Trump 0.1669406959 8.611147e-02 0.290497229 #> Dwight D. Eisenhower 0.1144657509 1.518361e-03 0.084666349 #> Franklin D. Roosevelt 0.2060320335 1.224565e-02 0.161047452 #> Franklin Pierce 0.0037833385 2.022932e-01 0.013776264 #> George Bush 0.5009357765 2.263310e-02 0.508052724 #> George W. Bush 0.0000000000 4.059589e-03 0.320397407 #> George Washington 0.0040595891 0.000000e+00 0.024758653 #> Gerald R. Ford 0.3203974066 2.475865e-02 0.000000000 #> Grover Cleveland 0.0009582815 7.263804e-03 0.001460255 #> Harry S. Truman 0.0202855441 1.674454e-04 0.013417021 #> Herbert Hoover 0.0194313619 5.262511e-02 0.068094672 #> James A. Garfield 0.0065976969 3.906872e-01 0.052167004 #> James Buchanan 0.0016223125 9.524570e-02 0.005644434 #> James K. Polk 0.0013018511 4.400575e-02 0.004014232 #> James Madison 0.0036687954 5.637522e-01 0.021474018 #> James Monroe 0.0013850226 2.769582e-01 0.005775755 #> Jimmy Carter 0.0495351736 2.241162e-05 0.012435754 #> John Adams 0.0036603831 6.572560e-01 0.025704457 #> John F. Kennedy 0.3644948014 2.509648e-02 0.548113328 #> John Quincy Adams 0.0031655917 3.289305e-01 0.013791469 #> John Tyler 0.0027910879 3.040577e-01 0.014036745 #> Lyndon B. Johnson 0.4125746121 1.333467e-02 0.407563380 #> Martin van Buren 0.0028109902 2.251765e-01 0.012478427 #> Millard Fillmore 0.0018003905 2.622039e-01 0.008372148 #> Richard Nixon 0.2366864786 1.126884e-03 0.131856489 #> Ronald Reagan 0.5484733900 2.642052e-03 0.367456004 #> Rutherford B. Hayes 0.0034282071 9.286780e-02 0.008317392 #> Theodore Roosevelt 0.0077883328 3.431107e-03 0.004272993 #> Thomas Jefferson 0.0042616555 5.744514e-01 0.023899460 #> Ulysses S. Grant 0.0017209280 4.324038e-02 0.003426503 #> Warren G. Harding 0.0628703291 1.706187e-01 0.233342055 #> William Henry Harrison 0.0061173370 4.783581e-01 0.043428950 #> William Howard Taft 0.0038988354 1.047824e-02 0.005843211 #> William J. Clinton 0.5899891822 1.282851e-03 0.179950626 #> William McKinley 0.0032233612 3.042698e-02 0.005762674 #> Woodrow Wilson 0.0406951693 9.939226e-02 0.096031600 #> Zachary Taylor 0.0033517695 4.755615e-01 0.017086096 #> Grover Cleveland Harry S. Truman Herbert Hoover #> Abraham Lincoln 0.1120443879 1.501958e-03 0.137952376 #> Andrew Jackson 0.2379506073 1.192672e-03 0.077710518 #> Andrew Johnson 0.1897414136 2.853511e-03 0.150659260 #> Barack Obama 0.0005048344 1.839444e-02 0.014301995 #> Benjamin Harrison 0.5960045182 6.398220e-03 0.152245848 #> Calvin Coolidge 0.2351437213 4.957969e-02 0.425164433 #> Chester A. Arthur 0.3149604037 2.954111e-03 0.111870149 #> Donald J. Trump 0.0007020694 1.107576e-03 0.033136943 #> Dwight D. Eisenhower 0.0088346819 3.937989e-01 0.063534969 #> Franklin D. Roosevelt 0.0142008111 1.426786e-01 0.120974271 #> Franklin Pierce 0.1288307107 1.250421e-03 0.087733637 #> George Bush 0.0010009785 1.162929e-02 0.048330243 #> George W. Bush 0.0009582815 2.028554e-02 0.019431362 #> George Washington 0.0072638039 1.674454e-04 0.052625110 #> Gerald R. Ford 0.0014602549 1.341702e-02 0.068094672 #> Grover Cleveland 0.0000000000 7.682962e-03 0.072159591 #> Harry S. Truman 0.0076829615 0.000000e+00 0.025376731 #> Herbert Hoover 0.0721595909 2.537673e-02 0.000000000 #> James A. Garfield 0.0006337601 5.652806e-05 0.029448734 #> James Buchanan 0.2351717331 1.834590e-03 0.082624679 #> James K. Polk 0.3866657939 2.665409e-03 0.078748744 #> James Madison 0.0138208926 2.847245e-04 0.057531109 #> James Monroe 0.0723009245 3.385489e-04 0.043223176 #> Jimmy Carter 0.0012364427 1.612662e-01 0.003737813 #> John Adams 0.0037632590 7.439412e-05 0.032448744 #> John F. Kennedy 0.0032301162 4.189711e-02 0.098830175 #> John Quincy Adams 0.0604767345 5.553842e-04 0.070537973 #> John Tyler 0.0950792240 9.339935e-04 0.096329196 #> Lyndon B. Johnson 0.0046474109 9.388618e-02 0.089665446 #> Martin van Buren 0.1401590411 1.381787e-03 0.120432983 #> Millard Fillmore 0.1194077682 6.891073e-04 0.078815218 #> Richard Nixon 0.0029532495 1.809124e-01 0.032681275 #> Ronald Reagan 0.0009483220 6.448822e-02 0.027408802 #> Rutherford B. Hayes 0.3416333095 3.486130e-03 0.117063173 #> Theodore Roosevelt 0.3663438039 4.980528e-02 0.075375156 #> Thomas Jefferson 0.0184870349 4.251156e-04 0.079279210 #> Ulysses S. Grant 0.5318102264 3.022261e-03 0.091151091 #> Warren G. Harding 0.0095030596 5.558986e-03 0.279680762 #> William Henry Harrison 0.0010475420 6.620830e-05 0.029942486 #> William Howard Taft 0.5107005244 1.428108e-02 0.164679353 #> William J. Clinton 0.0008097404 4.329287e-02 0.013023999 #> William McKinley 0.5508225620 7.625271e-03 0.094409673 #> Woodrow Wilson 0.0800124251 2.213742e-02 0.347452425 #> Zachary Taylor 0.0277368645 3.526454e-04 0.076075553 #> James A. Garfield James Buchanan James K. Polk #> Abraham Lincoln 1.016307e-01 0.4615714199 0.3259681482 #> Andrew Jackson 1.041399e-02 0.5633682717 0.5644830836 #> Andrew Johnson 4.361113e-02 0.5786401194 0.4808670410 #> Barack Obama 3.869788e-03 0.0008312879 0.0007248010 #> Benjamin Harrison 6.711861e-03 0.3722230916 0.4397445860 #> Calvin Coolidge 6.154566e-03 0.1076046521 0.1330757000 #> Chester A. Arthur 1.840078e-02 0.5389170168 0.5313726385 #> Donald J. Trump 2.214936e-01 0.0064159281 0.0030862401 #> Dwight D. Eisenhower 7.454038e-04 0.0040456711 0.0045980243 #> Franklin D. Roosevelt 8.307707e-03 0.0148174119 0.0125410777 #> Franklin Pierce 4.452912e-02 0.5418182808 0.3930392972 #> George Bush 4.567553e-02 0.0041275817 0.0024602383 #> George W. Bush 6.597697e-03 0.0016223125 0.0013018511 #> George Washington 3.906872e-01 0.0952457032 0.0440057533 #> Gerald R. Ford 5.216700e-02 0.0056444343 0.0040142318 #> Grover Cleveland 6.337601e-04 0.2351717331 0.3866657939 #> Harry S. Truman 5.652806e-05 0.0018345903 0.0026654088 #> Herbert Hoover 2.944873e-02 0.0826246788 0.0787487441 #> James A. Garfield 0.000000e+00 0.0149568932 0.0057100883 #> James Buchanan 1.495689e-02 0.0000000000 0.6907220849 #> James K. Polk 5.710088e-03 0.6907220849 0.0000000000 #> James Madison 2.776537e-01 0.1525756581 0.0777833693 #> James Monroe 4.875506e-02 0.4488148020 0.2887671391 #> Jimmy Carter 8.453931e-06 0.0002178376 0.0003664236 #> John Adams 4.930618e-01 0.0647690488 0.0268060388 #> John F. Kennedy 4.041466e-02 0.0072568511 0.0051650764 #> John Quincy Adams 8.867435e-02 0.3559607390 0.2447449444 #> John Tyler 7.746680e-02 0.5579586531 0.4482748857 #> Lyndon B. Johnson 1.428448e-02 0.0084005148 0.0064567731 #> Martin van Buren 4.339092e-02 0.5842939723 0.4801597762 #> Millard Fillmore 5.937832e-02 0.5214531781 0.3849992464 #> Richard Nixon 7.336858e-04 0.0015651706 0.0018004189 #> Ronald Reagan 3.740325e-03 0.0014527993 0.0012594824 #> Rutherford B. Hayes 1.692393e-02 0.4114872938 0.3756901981 #> Theodore Roosevelt 4.738335e-04 0.0742364445 0.1253626879 #> Thomas Jefferson 2.341118e-01 0.1572951879 0.0837372417 #> Ulysses S. Grant 5.133929e-03 0.4986968366 0.5461014092 #> Warren G. Harding 2.257991e-01 0.0356580219 0.0250481288 #> William Henry Harrison 7.349657e-01 0.0252067593 0.0100760754 #> William Howard Taft 1.664496e-03 0.2128200780 0.3180981274 #> William J. Clinton 1.553819e-03 0.0008847005 0.0008530048 #> William McKinley 4.229544e-03 0.3964186584 0.4587188716 #> Woodrow Wilson 4.688690e-02 0.1331435981 0.1260209522 #> Zachary Taylor 1.908980e-01 0.2446826945 0.1327277332 #> James Madison James Monroe Jimmy Carter John Adams #> Abraham Lincoln 4.464327e-01 5.683039e-01 1.578837e-04 2.648704e-01 #> Andrew Jackson 1.435647e-01 4.233433e-01 1.935163e-04 5.570840e-02 #> Andrew Johnson 2.521910e-01 4.017454e-01 3.182012e-04 1.291431e-01 #> Barack Obama 1.573877e-03 5.673384e-04 4.102330e-02 1.539487e-03 #> Benjamin Harrison 6.122253e-02 1.766042e-01 9.528113e-04 2.406719e-02 #> Calvin Coolidge 2.814924e-02 4.349273e-02 1.142855e-02 1.175904e-02 #> Chester A. Arthur 1.554958e-01 3.277614e-01 3.559836e-04 6.850097e-02 #> Donald J. Trump 6.360240e-02 1.291605e-02 5.568798e-04 9.908899e-02 #> Dwight D. Eisenhower 1.569044e-03 1.374665e-03 2.084846e-01 7.809448e-04 #> Franklin D. Roosevelt 1.404870e-02 9.422311e-03 4.485606e-02 8.849855e-03 #> Franklin Pierce 3.270829e-01 5.260435e-01 1.814383e-04 1.636912e-01 #> George Bush 1.826598e-02 4.816881e-03 1.265790e-02 2.118955e-02 #> George W. Bush 3.668795e-03 1.385023e-03 4.953517e-02 3.660383e-03 #> George Washington 5.637522e-01 2.769582e-01 2.241162e-05 6.572560e-01 #> Gerald R. Ford 2.147402e-02 5.775755e-03 1.243575e-02 2.570446e-02 #> Grover Cleveland 1.382089e-02 7.230092e-02 1.236443e-03 3.763259e-03 #> Harry S. Truman 2.847245e-04 3.385489e-04 1.612662e-01 7.439412e-05 #> Herbert Hoover 5.753111e-02 4.322318e-02 3.737813e-03 3.244874e-02 #> James A. Garfield 2.776537e-01 4.875506e-02 8.453931e-06 4.930618e-01 #> James Buchanan 1.525757e-01 4.488148e-01 2.178376e-04 6.476905e-02 #> James K. Polk 7.778337e-02 2.887671e-01 3.664236e-04 2.680604e-02 #> James Madison 0.000000e+00 4.050115e-01 2.981554e-05 5.218038e-01 #> James Monroe 4.050115e-01 0.000000e+00 4.730595e-05 2.371987e-01 #> Jimmy Carter 2.981554e-05 4.730595e-05 0.000000e+00 1.268280e-05 #> John Adams 5.218038e-01 2.371987e-01 1.268280e-05 0.000000e+00 #> John F. Kennedy 2.026101e-02 6.462278e-03 2.704567e-02 2.027089e-02 #> John Quincy Adams 4.991504e-01 6.547955e-01 7.331093e-05 3.033416e-01 #> John Tyler 4.309100e-01 5.653616e-01 1.066013e-04 2.143285e-01 #> Lyndon B. Johnson 1.156469e-02 5.678201e-03 6.532103e-02 9.589473e-03 #> Martin van Buren 2.935797e-01 4.898622e-01 2.099563e-04 1.367647e-01 #> Millard Fillmore 3.358929e-01 5.944114e-01 7.178659e-05 2.106301e-01 #> Richard Nixon 1.040889e-03 6.618562e-04 2.633906e-01 5.794903e-04 #> Ronald Reagan 2.359297e-03 9.015188e-04 9.644049e-02 1.987039e-03 #> Rutherford B. Hayes 1.253289e-01 2.728467e-01 4.981444e-04 5.838044e-02 #> Theodore Roosevelt 5.859716e-03 2.039561e-02 1.389985e-02 1.724576e-03 #> Thomas Jefferson 6.899268e-01 4.034144e-01 4.936831e-05 4.683423e-01 #> Ulysses S. Grant 6.776066e-02 2.729003e-01 5.827426e-04 2.760398e-02 #> Warren G. Harding 1.463741e-01 4.832413e-02 1.132879e-03 1.483226e-01 #> William Henry Harrison 3.727091e-01 7.130756e-02 8.556859e-06 4.832152e-01 #> William Howard Taft 1.810277e-02 5.764509e-02 2.923509e-03 5.797579e-03 #> William J. Clinton 1.039236e-03 4.733322e-04 1.050025e-01 8.717209e-04 #> William McKinley 5.165075e-02 1.957950e-01 1.381976e-03 2.074404e-02 #> Woodrow Wilson 1.035160e-01 9.098889e-02 3.582871e-03 5.812814e-02 #> Zachary Taylor 5.102169e-01 4.477665e-01 3.614259e-05 4.398806e-01 #> John F. Kennedy John Quincy Adams John Tyler #> Abraham Lincoln 0.021558792 5.896010e-01 0.6721470409 #> Andrew Jackson 0.005457689 3.877747e-01 0.5021663501 #> Andrew Johnson 0.018408776 3.855417e-01 0.6254377200 #> Barack Obama 0.284006638 1.280277e-03 0.0014716222 #> Benjamin Harrison 0.011803258 1.706366e-01 0.2194715179 #> Calvin Coolidge 0.066246840 6.475073e-02 0.0792934100 #> Chester A. Arthur 0.011196858 3.487761e-01 0.4860013191 #> Donald J. Trump 0.240689797 2.784618e-02 0.0223527198 #> Dwight D. Eisenhower 0.232039895 2.447583e-03 0.0029156454 #> Franklin D. Roosevelt 0.336883553 1.636849e-02 0.0165001683 #> Franklin Pierce 0.013718370 6.195258e-01 0.5775547492 #> George Bush 0.505504801 1.104867e-02 0.0095262979 #> George W. Bush 0.364494801 3.165592e-03 0.0027910879 #> George Washington 0.025096483 3.289305e-01 0.3040577361 #> Gerald R. Ford 0.548113328 1.379147e-02 0.0140367453 #> Grover Cleveland 0.003230116 6.047673e-02 0.0950792240 #> Harry S. Truman 0.041897108 5.553842e-04 0.0009339935 #> Herbert Hoover 0.098830175 7.053797e-02 0.0963291959 #> James A. Garfield 0.040414662 8.867435e-02 0.0774668015 #> James Buchanan 0.007256851 3.559607e-01 0.5579586531 #> James K. Polk 0.005165076 2.447449e-01 0.4482748857 #> James Madison 0.020261009 4.991504e-01 0.4309099847 #> James Monroe 0.006462278 6.547955e-01 0.5653616459 #> Jimmy Carter 0.027045668 7.331093e-05 0.0001066013 #> John Adams 0.020270891 3.033416e-01 0.2143284910 #> John F. Kennedy 0.000000000 1.465889e-02 0.0134430566 #> John Quincy Adams 0.014658885 0.000000e+00 0.5700688324 #> John Tyler 0.013443057 5.700688e-01 0.0000000000 #> Lyndon B. Johnson 0.602567472 1.145675e-02 0.0118054360 #> Martin van Buren 0.013076652 4.819563e-01 0.7143307357 #> Millard Fillmore 0.010009177 5.324452e-01 0.6738305640 #> Richard Nixon 0.268087770 1.357769e-03 0.0014607931 #> Ronald Reagan 0.444855744 2.209853e-03 0.0023035371 #> Rutherford B. Hayes 0.014039644 2.955942e-01 0.3341570644 #> Theodore Roosevelt 0.013140426 2.436675e-02 0.0306789997 #> Thomas Jefferson 0.026075172 4.328208e-01 0.3870952884 #> Ulysses S. Grant 0.005833388 2.087283e-01 0.3087258909 #> Warren G. Harding 0.243779660 9.230063e-02 0.0861739654 #> William Henry Harrison 0.034200754 1.278172e-01 0.1298144708 #> William Howard Taft 0.011249911 6.957063e-02 0.1062299738 #> William J. Clinton 0.250148619 1.027463e-03 0.0012802235 #> William McKinley 0.010173105 1.707214e-01 0.2037327349 #> Woodrow Wilson 0.137175252 1.376406e-01 0.1703996794 #> Zachary Taylor 0.017034465 5.426254e-01 0.4716547642 #> Lyndon B. Johnson Martin van Buren Millard Fillmore #> Abraham Lincoln 0.017951767 0.6360970861 6.111059e-01 #> Andrew Jackson 0.006151783 0.6365913060 4.141202e-01 #> Andrew Johnson 0.018923471 0.6087756154 5.424778e-01 #> Barack Obama 0.346740366 0.0015584409 7.524272e-04 #> Benjamin Harrison 0.014130014 0.2633290989 3.047971e-01 #> Calvin Coolidge 0.077363359 0.1151688666 8.390708e-02 #> Chester A. Arthur 0.013368174 0.4545776993 4.718561e-01 #> Donald J. Trump 0.141233743 0.0156037397 1.580991e-02 #> Dwight D. Eisenhower 0.335306875 0.0043571655 2.353920e-03 #> Franklin D. Roosevelt 0.345622747 0.0192068162 1.327314e-02 #> Franklin Pierce 0.012651836 0.5869939925 5.793973e-01 #> George Bush 0.497553836 0.0086668145 5.545023e-03 #> George W. Bush 0.412574612 0.0028109902 1.800391e-03 #> George Washington 0.013334670 0.2251764935 2.622039e-01 #> Gerald R. Ford 0.407563380 0.0124784272 8.372148e-03 #> Grover Cleveland 0.004647411 0.1401590411 1.194078e-01 #> Harry S. Truman 0.093886180 0.0013817870 6.891073e-04 #> Herbert Hoover 0.089665446 0.1204329834 7.881522e-02 #> James A. Garfield 0.014284484 0.0433909239 5.937832e-02 #> James Buchanan 0.008400515 0.5842939723 5.214532e-01 #> James K. Polk 0.006456773 0.4801597762 3.849992e-01 #> James Madison 0.011564690 0.2935796839 3.358929e-01 #> James Monroe 0.005678201 0.4898621969 5.944114e-01 #> Jimmy Carter 0.065321030 0.0002099563 7.178659e-05 #> John Adams 0.009589473 0.1367646996 2.106301e-01 #> John F. Kennedy 0.602567472 0.0130766521 1.000918e-02 #> John Quincy Adams 0.011456745 0.4819563068 5.324452e-01 #> John Tyler 0.011805436 0.7143307357 6.738306e-01 #> Lyndon B. Johnson 0.000000000 0.0126956678 8.204577e-03 #> Martin van Buren 0.012695668 0.0000000000 5.381207e-01 #> Millard Fillmore 0.008204577 0.5381207358 0.000000e+00 #> Richard Nixon 0.441772459 0.0024003333 1.007213e-03 #> Ronald Reagan 0.596652231 0.0023775714 1.360137e-03 #> Rutherford B. Hayes 0.015086244 0.3537798306 4.417492e-01 #> Theodore Roosevelt 0.021834653 0.0453302845 3.409653e-02 #> Thomas Jefferson 0.015185025 0.3384690492 3.010552e-01 #> Ulysses S. Grant 0.007053103 0.3543087640 3.683364e-01 #> Warren G. Harding 0.157909021 0.0694265618 6.811002e-02 #> William Henry Harrison 0.012292366 0.0694604474 9.209699e-02 #> William Howard Taft 0.016077206 0.1453899857 1.120119e-01 #> William J. Clinton 0.401733097 0.0014544741 7.446100e-04 #> William McKinley 0.014016841 0.2495373529 2.385045e-01 #> Woodrow Wilson 0.126060754 0.1778283637 1.581984e-01 #> Zachary Taylor 0.011672612 0.3421196122 5.670723e-01 #> Richard Nixon Ronald Reagan Rutherford B. Hayes #> Abraham Lincoln 0.0025172091 0.0035921848 0.4372316644 #> Andrew Jackson 0.0013833097 0.0011168224 0.3040336602 #> Andrew Johnson 0.0028889480 0.0037157069 0.4595719260 #> Barack Obama 0.2208267182 0.5508255363 0.0015760558 #> Benjamin Harrison 0.0051422283 0.0025863654 0.6313049905 #> Calvin Coolidge 0.0483324324 0.0248900891 0.2242964443 #> Chester A. Arthur 0.0026960297 0.0024611403 0.6575882669 #> Donald J. Trump 0.0206798296 0.0878957962 0.0094363562 #> Dwight D. Eisenhower 0.5199660607 0.2532975182 0.0085612099 #> Franklin D. Roosevelt 0.2220068627 0.2064090495 0.0217021894 #> Franklin Pierce 0.0021273250 0.0027733714 0.4542864666 #> George Bush 0.1553467888 0.5049289300 0.0066196992 #> George W. Bush 0.2366864786 0.5484733900 0.0034282071 #> George Washington 0.0011268843 0.0026420520 0.0928678040 #> Gerald R. Ford 0.1318564893 0.3674560040 0.0083173918 #> Grover Cleveland 0.0029532495 0.0009483220 0.3416333095 #> Harry S. Truman 0.1809124351 0.0644882240 0.0034861303 #> Herbert Hoover 0.0326812749 0.0274088019 0.1170631731 #> James A. Garfield 0.0007336858 0.0037403251 0.0169239260 #> James Buchanan 0.0015651706 0.0014527993 0.4114872938 #> James K. Polk 0.0018004189 0.0012594824 0.3756901981 #> James Madison 0.0010408893 0.0023592973 0.1253288528 #> James Monroe 0.0006618562 0.0009015188 0.2728467059 #> Jimmy Carter 0.2633905883 0.0964404907 0.0004981444 #> John Adams 0.0005794903 0.0019870388 0.0583804389 #> John F. Kennedy 0.2680877700 0.4448557443 0.0140396443 #> John Quincy Adams 0.0013577689 0.0022098529 0.2955942249 #> John Tyler 0.0014607931 0.0023035371 0.3341570644 #> Lyndon B. Johnson 0.4417724592 0.5966522312 0.0150862436 #> Martin van Buren 0.0024003333 0.0023775714 0.3537798306 #> Millard Fillmore 0.0010072125 0.0013601369 0.4417491529 #> Richard Nixon 0.0000000000 0.4393676608 0.0041301831 #> Ronald Reagan 0.4393676608 0.0000000000 0.0029978958 #> Rutherford B. Hayes 0.0041301831 0.0029978958 0.0000000000 #> Theodore Roosevelt 0.0244583699 0.0075541865 0.1409061310 #> Thomas Jefferson 0.0017739063 0.0031571277 0.1320384792 #> Ulysses S. Grant 0.0024156599 0.0014139954 0.5805342144 #> Warren G. Harding 0.0300566004 0.0618284148 0.0577188909 #> William Henry Harrison 0.0006302205 0.0036491136 0.0221593858 #> William Howard Taft 0.0085179868 0.0040239490 0.2968499318 #> William J. Clinton 0.3443739518 0.6236591288 0.0019690202 #> William McKinley 0.0054308409 0.0027065154 0.4960166367 #> Woodrow Wilson 0.0347074003 0.0441796361 0.2117529339 #> Zachary Taylor 0.0009802530 0.0021725909 0.2259242836 #> Theodore Roosevelt Thomas Jefferson Ulysses S. Grant #> Abraham Lincoln 0.0424630708 4.552116e-01 0.3237100333 #> Andrew Jackson 0.0773472932 1.735897e-01 0.4371661223 #> Andrew Johnson 0.0662985091 2.624659e-01 0.4005867571 #> Barack Obama 0.0048235868 2.106780e-03 0.0008001870 #> Benjamin Harrison 0.2932725641 7.151644e-02 0.6390728732 #> Calvin Coolidge 0.3377884483 3.886404e-02 0.1793641944 #> Chester A. Arthur 0.1169322664 1.520698e-01 0.5881847198 #> Donald J. Trump 0.0017203404 5.943665e-02 0.0030660651 #> Dwight D. Eisenhower 0.0601710631 2.264927e-03 0.0058435119 #> Franklin D. Roosevelt 0.0772884851 1.853159e-02 0.0164679186 #> Franklin Pierce 0.0497036966 3.182907e-01 0.3589985551 #> George Bush 0.0056648218 2.079237e-02 0.0027313788 #> George W. Bush 0.0077883328 4.261656e-03 0.0017209280 #> George Washington 0.0034311069 5.744514e-01 0.0432403770 #> Gerald R. Ford 0.0042729926 2.389946e-02 0.0034265034 #> Grover Cleveland 0.3663438039 1.848703e-02 0.5318102264 #> Harry S. Truman 0.0498052817 4.251156e-04 0.0030222614 #> Herbert Hoover 0.0753751558 7.927921e-02 0.0911510914 #> James A. Garfield 0.0004738335 2.341118e-01 0.0051339293 #> James Buchanan 0.0742364445 1.572952e-01 0.4986968366 #> James K. Polk 0.1253626879 8.373724e-02 0.5461014092 #> James Madison 0.0058597158 6.899268e-01 0.0677606575 #> James Monroe 0.0203956147 4.034144e-01 0.2729003395 #> Jimmy Carter 0.0138998529 4.936831e-05 0.0005827426 #> John Adams 0.0017245764 4.683423e-01 0.0276039797 #> John F. Kennedy 0.0131404260 2.607517e-02 0.0058333878 #> John Quincy Adams 0.0243667527 4.328208e-01 0.2087283418 #> John Tyler 0.0306789997 3.870953e-01 0.3087258909 #> Lyndon B. Johnson 0.0218346527 1.518502e-02 0.0070531030 #> Martin van Buren 0.0453302845 3.384690e-01 0.3543087640 #> Millard Fillmore 0.0340965343 3.010552e-01 0.3683364001 #> Richard Nixon 0.0244583699 1.773906e-03 0.0024156599 #> Ronald Reagan 0.0075541865 3.157128e-03 0.0014139954 #> Rutherford B. Hayes 0.1409061310 1.320385e-01 0.5805342144 #> Theodore Roosevelt 0.0000000000 7.206091e-03 0.1989448431 #> Thomas Jefferson 0.0072060914 0.000000e+00 0.0796219819 #> Ulysses S. Grant 0.1989448431 7.962198e-02 0.0000000000 #> Warren G. Harding 0.0164815834 1.508667e-01 0.0239422248 #> William Henry Harrison 0.0006980510 2.822210e-01 0.0080286646 #> William Howard Taft 0.4212308933 2.155111e-02 0.3703464338 #> William J. Clinton 0.0088840759 1.346592e-03 0.0010268448 #> William McKinley 0.3243404072 6.092560e-02 0.6258553235 #> Woodrow Wilson 0.1226230825 1.195885e-01 0.1270876387 #> Zachary Taylor 0.0112609738 4.326251e-01 0.1342093185 #> Warren G. Harding William Henry Harrison #> Abraham Lincoln 0.127130131 1.322511e-01 #> Andrew Jackson 0.030418918 2.120985e-02 #> Andrew Johnson 0.085413303 6.727452e-02 #> Barack Obama 0.040870632 3.356797e-03 #> Benjamin Harrison 0.044499108 9.299145e-03 #> Calvin Coolidge 0.109302467 7.540107e-03 #> Chester A. Arthur 0.055368033 2.833145e-02 #> Donald J. Trump 0.235114397 1.657879e-01 #> Dwight D. Eisenhower 0.033754890 7.363662e-04 #> Franklin D. Roosevelt 0.121421792 9.723245e-03 #> Franklin Pierce 0.072888564 6.829685e-02 #> George Bush 0.211019982 3.846809e-02 #> George W. Bush 0.062870329 6.117337e-03 #> George Washington 0.170618661 4.783581e-01 #> Gerald R. Ford 0.233342055 4.342895e-02 #> Grover Cleveland 0.009503060 1.047542e-03 #> Harry S. Truman 0.005558986 6.620830e-05 #> Herbert Hoover 0.279680762 2.994249e-02 #> James A. Garfield 0.225799143 7.349657e-01 #> James Buchanan 0.035658022 2.520676e-02 #> James K. Polk 0.025048129 1.007608e-02 #> James Madison 0.146374123 3.727091e-01 #> James Monroe 0.048324128 7.130756e-02 #> Jimmy Carter 0.001132879 8.556859e-06 #> John Adams 0.148322563 4.832152e-01 #> John F. Kennedy 0.243779660 3.420075e-02 #> John Quincy Adams 0.092300630 1.278172e-01 #> John Tyler 0.086173965 1.298145e-01 #> Lyndon B. Johnson 0.157909021 1.229237e-02 #> Martin van Buren 0.069426562 6.946045e-02 #> Millard Fillmore 0.068110024 9.209699e-02 #> Richard Nixon 0.030056600 6.302205e-04 #> Ronald Reagan 0.061828415 3.649114e-03 #> Rutherford B. Hayes 0.057718891 2.215939e-02 #> Theodore Roosevelt 0.016481583 6.980510e-04 #> Thomas Jefferson 0.150866677 2.822210e-01 #> Ulysses S. Grant 0.023942225 8.028665e-03 #> Warren G. Harding 0.000000000 1.799709e-01 #> William Henry Harrison 0.179970937 0.000000e+00 #> William Howard Taft 0.030382700 2.700105e-03 #> William J. Clinton 0.030084676 1.514354e-03 #> William McKinley 0.032078999 6.156813e-03 #> Woodrow Wilson 0.300269870 6.458462e-02 #> Zachary Taylor 0.121074875 2.410350e-01 #> William Howard Taft William J. Clinton William McKinley #> Abraham Lincoln 0.116722309 0.0019537071 0.255490313 #> Andrew Jackson 0.227689563 0.0007320451 0.346303222 #> Andrew Johnson 0.182972048 0.0021561789 0.356318388 #> Barack Obama 0.002370974 0.6873245276 0.001505288 #> Benjamin Harrison 0.496909067 0.0019558734 0.613349655 #> Calvin Coolidge 0.506177465 0.0169319743 0.272197146 #> Chester A. Arthur 0.301239013 0.0016874255 0.505124666 #> Donald J. Trump 0.002495457 0.0604108626 0.003675810 #> Dwight D. Eisenhower 0.023169120 0.1674712490 0.014149017 #> Franklin D. Roosevelt 0.040926194 0.1703875137 0.034504046 #> Franklin Pierce 0.132085120 0.0014485866 0.303744860 #> George Bush 0.004831959 0.3534462346 0.004297618 #> George W. Bush 0.003898835 0.5899891822 0.003223361 #> George Washington 0.010478237 0.0012828505 0.030426981 #> Gerald R. Ford 0.005843211 0.1799506260 0.005762674 #> Grover Cleveland 0.510700524 0.0008097404 0.550822562 #> Harry S. Truman 0.014281075 0.0432928703 0.007625271 #> Herbert Hoover 0.164679353 0.0130239987 0.094409673 #> James A. Garfield 0.001664496 0.0015538193 0.004229544 #> James Buchanan 0.212820078 0.0008847005 0.396418658 #> James K. Polk 0.318098127 0.0008530048 0.458718872 #> James Madison 0.018102774 0.0010392356 0.051650755 #> James Monroe 0.057645088 0.0004733322 0.195795027 #> Jimmy Carter 0.002923509 0.1050024878 0.001381976 #> John Adams 0.005797579 0.0008717209 0.020744035 #> John F. Kennedy 0.011249911 0.2501486185 0.010173105 #> John Quincy Adams 0.069570632 0.0010274628 0.170721359 #> John Tyler 0.106229974 0.0012802235 0.203732735 #> Lyndon B. Johnson 0.016077206 0.4017330965 0.014016841 #> Martin van Buren 0.145389986 0.0014544741 0.249537353 #> Millard Fillmore 0.112011891 0.0007446100 0.238504496 #> Richard Nixon 0.008517987 0.3443739518 0.005430841 #> Ronald Reagan 0.004023949 0.6236591288 0.002706515 #> Rutherford B. Hayes 0.296849932 0.0019690202 0.496016637 #> Theodore Roosevelt 0.421230893 0.0088840759 0.324340407 #> Thomas Jefferson 0.021551108 0.0013465923 0.060925604 #> Ulysses S. Grant 0.370346434 0.0010268448 0.625855324 #> Warren G. Harding 0.030382700 0.0300846756 0.032078999 #> William Henry Harrison 0.002700105 0.0015143541 0.006156813 #> William Howard Taft 0.000000000 0.0036798183 0.499151772 #> William J. Clinton 0.003679818 0.0000000000 0.002341307 #> William McKinley 0.499151772 0.0023413068 0.000000000 #> Woodrow Wilson 0.224851628 0.0271327496 0.194792965 #> Zachary Taylor 0.036162269 0.0011353881 0.093885132 #> Woodrow Wilson Zachary Taylor #> Abraham Lincoln 0.231007987 5.447867e-01 #> Andrew Jackson 0.129986176 1.786069e-01 #> Andrew Johnson 0.257508098 3.457273e-01 #> Barack Obama 0.023644063 1.413821e-03 #> Benjamin Harrison 0.198396213 1.153383e-01 #> Calvin Coolidge 0.398155362 4.706907e-02 #> Chester A. Arthur 0.185582477 2.597600e-01 #> Donald J. Trump 0.064151566 4.666567e-02 #> Dwight D. Eisenhower 0.058596787 1.978070e-03 #> Franklin D. Roosevelt 0.214777950 1.452594e-02 #> Franklin Pierce 0.196023758 4.480780e-01 #> George Bush 0.080868593 1.357927e-02 #> George W. Bush 0.040695169 3.351770e-03 #> George Washington 0.099392265 4.755615e-01 #> Gerald R. Ford 0.096031600 1.708610e-02 #> Grover Cleveland 0.080012425 2.773686e-02 #> Harry S. Truman 0.022137425 3.526454e-04 #> Herbert Hoover 0.347452425 7.607555e-02 #> James A. Garfield 0.046886896 1.908980e-01 #> James Buchanan 0.133143598 2.446827e-01 #> James K. Polk 0.126020952 1.327277e-01 #> James Madison 0.103515991 5.102169e-01 #> James Monroe 0.090988886 4.477665e-01 #> Jimmy Carter 0.003582871 3.614259e-05 #> John Adams 0.058128141 4.398806e-01 #> John F. Kennedy 0.137175252 1.703447e-02 #> John Quincy Adams 0.137640625 5.426254e-01 #> John Tyler 0.170399679 4.716548e-01 #> Lyndon B. Johnson 0.126060754 1.167261e-02 #> Martin van Buren 0.177828364 3.421196e-01 #> Millard Fillmore 0.158198368 5.670723e-01 #> Richard Nixon 0.034707400 9.802530e-04 #> Ronald Reagan 0.044179636 2.172591e-03 #> Rutherford B. Hayes 0.211752934 2.259243e-01 #> Theodore Roosevelt 0.122623082 1.126097e-02 #> Thomas Jefferson 0.119588523 4.326251e-01 #> Ulysses S. Grant 0.127087639 1.342093e-01 #> Warren G. Harding 0.300269870 1.210749e-01 #> William Henry Harrison 0.064584616 2.410350e-01 #> William Howard Taft 0.224851628 3.616227e-02 #> William J. Clinton 0.027132750 1.135388e-03 #> William McKinley 0.194792965 9.388513e-02 #> Woodrow Wilson 0.000000000 1.393222e-01 #> Zachary Taylor 0.139322222 0.000000e+00 #> #> $type #> - Source: Radial Basis Function Kernel Weights #> - Distance Metric: Euclidean #> - Scale parameter (phi): 0.01 [Data-Driven] #> #>weight_func <- dense_rbf_kernel_weights(phi=0.1, dist.method="canberra") weight_func(presidential_speech)#> $weight_mat #> Abraham Lincoln Andrew Jackson Andrew Johnson #> Abraham Lincoln 0.000000e+00 3.020861e-30 2.818365e-24 #> Andrew Jackson 3.020861e-30 0.000000e+00 2.186049e-26 #> Andrew Johnson 2.818365e-24 2.186049e-26 0.000000e+00 #> Barack Obama 1.682856e-140 1.734423e-129 1.717967e-126 #> Benjamin Harrison 4.899739e-38 3.166057e-23 1.856667e-22 #> Calvin Coolidge 2.154822e-52 3.796754e-45 5.261120e-46 #> Chester A. Arthur 8.172290e-25 2.992081e-22 2.386578e-18 #> Donald J. Trump 6.743592e-160 2.575545e-153 9.137755e-144 #> Dwight D. Eisenhower 2.721777e-87 3.155018e-83 1.456298e-75 #> Franklin D. Roosevelt 8.540154e-89 4.386002e-82 1.983508e-79 #> Franklin Pierce 2.736907e-26 5.177634e-25 7.686628e-26 #> George Bush 1.773942e-137 7.664056e-127 7.757527e-123 #> George W. Bush 2.275843e-128 3.673873e-113 3.290332e-118 #> George Washington 9.110247e-65 2.669619e-101 1.707754e-92 #> Gerald R. Ford 3.123150e-141 1.344272e-122 2.574145e-124 #> Grover Cleveland 1.411816e-47 1.193334e-25 3.069279e-34 #> Harry S. Truman 3.053512e-87 2.866649e-79 2.770082e-76 #> Herbert Hoover 7.290176e-67 1.031596e-73 9.133940e-58 #> James A. Garfield 1.897879e-153 1.108891e-177 5.743648e-167 #> James Buchanan 5.984377e-22 1.282594e-23 1.941528e-28 #> James K. Polk 2.172400e-28 6.917108e-15 1.014017e-22 #> James Madison 4.854250e-55 2.155960e-82 2.586076e-73 #> James Monroe 2.094989e-31 2.115691e-36 3.352486e-44 #> Jimmy Carter 2.442438e-86 1.662902e-78 3.133197e-77 #> John Adams 6.300020e-93 7.414190e-117 9.186698e-109 #> John F. Kennedy 1.401486e-132 1.819410e-112 3.030258e-118 #> John Quincy Adams 1.729733e-28 4.593093e-41 1.128421e-40 #> John Tyler 4.022989e-16 7.054548e-29 9.709238e-31 #> Lyndon B. Johnson 1.450157e-109 4.180260e-99 5.234443e-99 #> Martin van Buren 2.518237e-20 4.926795e-16 1.632089e-28 #> Millard Fillmore 2.729392e-28 2.884467e-27 1.139054e-33 #> Richard Nixon 1.309718e-106 1.453785e-98 1.722369e-94 #> Ronald Reagan 3.483145e-127 2.008203e-116 8.869557e-117 #> Rutherford B. Hayes 4.372283e-28 1.743876e-26 2.983157e-19 #> Theodore Roosevelt 4.109660e-64 2.922503e-45 2.858329e-45 #> Thomas Jefferson 1.324978e-47 1.504664e-60 9.740228e-62 #> Ulysses S. Grant 9.774349e-31 4.513723e-15 6.347554e-25 #> Warren G. Harding 4.541812e-98 2.592705e-93 1.268293e-93 #> William Henry Harrison 3.386050e-155 1.017711e-173 1.754306e-154 #> William Howard Taft 1.547031e-47 1.460982e-35 4.000138e-38 #> William J. Clinton 9.294805e-121 9.776772e-111 3.371533e-111 #> William McKinley 1.816893e-37 3.664159e-26 3.015490e-31 #> Woodrow Wilson 2.596090e-53 4.306367e-51 5.296209e-46 #> Zachary Taylor 1.455080e-40 7.575803e-58 2.613470e-60 #> Barack Obama Benjamin Harrison Calvin Coolidge #> Abraham Lincoln 1.682856e-140 4.899739e-38 2.154822e-52 #> Andrew Jackson 1.734423e-129 3.166057e-23 3.796754e-45 #> Andrew Johnson 1.717967e-126 1.856667e-22 5.261120e-46 #> Barack Obama 0.000000e+00 1.328612e-107 3.245948e-78 #> Benjamin Harrison 1.328612e-107 0.000000e+00 1.057998e-25 #> Calvin Coolidge 3.245948e-78 1.057998e-25 0.000000e+00 #> Chester A. Arthur 1.213511e-129 1.251717e-18 1.902492e-38 #> Donald J. Trump 2.017983e-72 3.484426e-124 3.831456e-106 #> Dwight D. Eisenhower 7.238751e-41 2.513972e-58 6.361303e-31 #> Franklin D. Roosevelt 7.625277e-43 3.687136e-58 6.009809e-33 #> Franklin Pierce 3.438349e-146 1.907007e-37 1.753589e-56 #> George Bush 9.985028e-24 6.821489e-106 8.879587e-81 #> George W. Bush 1.472653e-19 1.237927e-95 4.171207e-68 #> George Washington 2.005874e-179 9.792139e-111 5.816636e-126 #> Gerald R. Ford 3.981919e-38 7.435778e-110 6.758747e-83 #> Grover Cleveland 8.738567e-101 6.114847e-10 7.935562e-22 #> Harry S. Truman 6.284153e-49 7.074189e-52 4.829605e-31 #> Herbert Hoover 2.265643e-80 2.768855e-51 7.952815e-24 #> James A. Garfield 1.210171e-196 1.837278e-186 2.066853e-188 #> James Buchanan 1.000591e-131 1.091466e-30 6.018063e-47 #> James K. Polk 2.597518e-116 1.285413e-19 2.000276e-42 #> James Madison 3.204796e-176 2.539142e-85 7.780939e-101 #> James Monroe 2.692380e-167 4.336724e-51 8.622393e-75 #> Jimmy Carter 2.787669e-42 2.017809e-55 3.303600e-35 #> John Adams 3.692459e-204 1.006044e-128 8.439948e-142 #> John F. Kennedy 1.553588e-35 9.438873e-90 6.769491e-62 #> John Quincy Adams 1.956220e-160 5.323397e-46 9.238218e-69 #> John Tyler 3.392767e-145 2.469721e-49 8.121688e-62 #> Lyndon B. Johnson 6.299973e-28 3.349283e-75 5.940882e-50 #> Martin van Buren 1.430810e-137 1.486728e-38 8.700489e-62 #> Millard Fillmore 1.210589e-156 6.507575e-41 1.810857e-62 #> Richard Nixon 4.294575e-32 2.361447e-73 8.052057e-44 #> Ronald Reagan 1.738064e-14 1.638113e-93 3.196985e-65 #> Rutherford B. Hayes 1.407157e-123 5.747935e-12 1.031345e-40 #> Theodore Roosevelt 2.369790e-64 2.457632e-22 2.522474e-16 #> Thomas Jefferson 1.684181e-159 1.283495e-72 2.034158e-100 #> Ulysses S. Grant 4.209809e-113 4.059424e-12 3.492541e-30 #> Warren G. Harding 5.648519e-76 2.167592e-74 1.787802e-59 #> William Henry Harrison 3.497049e-184 1.723325e-167 5.608427e-166 #> William Howard Taft 2.634689e-93 6.065736e-14 3.088379e-16 #> William J. Clinton 5.056326e-18 6.678419e-91 1.280554e-61 #> William McKinley 2.535914e-100 3.413638e-14 3.443067e-24 #> Woodrow Wilson 2.611301e-78 5.614948e-31 1.310576e-23 #> Zachary Taylor 1.030987e-175 1.410235e-74 1.000065e-87 #> Chester A. Arthur Donald J. Trump Dwight D. Eisenhower #> Abraham Lincoln 8.172290e-25 6.743592e-160 2.721777e-87 #> Andrew Jackson 2.992081e-22 2.575545e-153 3.155018e-83 #> Andrew Johnson 2.386578e-18 9.137755e-144 1.456298e-75 #> Barack Obama 1.213511e-129 2.017983e-72 7.238751e-41 #> Benjamin Harrison 1.251717e-18 3.484426e-124 2.513972e-58 #> Calvin Coolidge 1.902492e-38 3.831456e-106 6.361303e-31 #> Chester A. Arthur 0.000000e+00 1.383965e-134 1.418479e-72 #> Donald J. Trump 1.383965e-134 0.000000e+00 1.141306e-101 #> Dwight D. Eisenhower 1.418479e-72 1.141306e-101 0.000000e+00 #> Franklin D. Roosevelt 1.454953e-74 1.056469e-90 4.272683e-17 #> Franklin Pierce 5.892730e-20 9.229618e-148 7.286046e-85 #> George Bush 1.064671e-121 1.357377e-47 7.173180e-48 #> George W. Bush 8.127392e-114 6.543712e-71 1.542574e-33 #> George Washington 1.620324e-98 5.981374e-184 3.678576e-142 #> Gerald R. Ford 4.529783e-133 6.350411e-65 6.453774e-54 #> Grover Cleveland 2.457336e-24 5.874929e-125 3.751601e-54 #> Harry S. Truman 4.667408e-68 3.854510e-115 3.872200e-11 #> Herbert Hoover 2.695417e-67 3.119818e-127 8.554161e-43 #> James A. Garfield 8.211618e-183 1.667494e-186 6.965515e-191 #> James Buchanan 5.724256e-25 2.626652e-154 2.710234e-80 #> James K. Polk 3.807919e-14 8.646608e-149 8.725101e-72 #> James Madison 4.651712e-71 1.458310e-182 9.604603e-127 #> James Monroe 5.262455e-35 4.366531e-177 4.555459e-110 #> Jimmy Carter 2.454763e-69 9.779255e-116 5.517291e-13 #> John Adams 4.717668e-113 9.860990e-207 4.061307e-157 #> John F. Kennedy 9.064271e-112 2.326445e-71 1.742701e-32 #> John Quincy Adams 4.120832e-27 3.240278e-150 2.520402e-107 #> John Tyler 8.944288e-23 1.085169e-163 2.837625e-92 #> Lyndon B. Johnson 3.959046e-93 2.350039e-74 1.185944e-19 #> Martin van Buren 1.558272e-23 6.741757e-158 1.458452e-86 #> Millard Fillmore 2.084840e-30 1.269014e-182 4.916071e-93 #> Richard Nixon 1.248431e-91 2.763158e-91 2.368408e-09 #> Ronald Reagan 4.036646e-116 9.949270e-81 9.322670e-27 #> Rutherford B. Hayes 3.071548e-13 3.955378e-143 3.355214e-72 #> Theodore Roosevelt 1.116508e-38 6.526414e-106 6.412550e-29 #> Thomas Jefferson 7.470492e-70 4.548907e-171 1.722645e-120 #> Ulysses S. Grant 1.807698e-14 3.134002e-135 1.742131e-66 #> Warren G. Harding 5.969395e-95 4.514039e-86 1.997870e-61 #> William Henry Harrison 7.083412e-166 2.870474e-195 3.338178e-162 #> William Howard Taft 8.399943e-31 8.920327e-127 7.988680e-49 #> William J. Clinton 9.897097e-112 3.057831e-88 1.178977e-26 #> William McKinley 8.498556e-20 3.044104e-125 5.262672e-54 #> Woodrow Wilson 1.115145e-49 7.626981e-101 1.793818e-41 #> Zachary Taylor 1.479046e-51 1.659536e-183 3.411761e-112 #> Franklin D. Roosevelt Franklin Pierce George Bush #> Abraham Lincoln 8.540154e-89 2.736907e-26 1.773942e-137 #> Andrew Jackson 4.386002e-82 5.177634e-25 7.664056e-127 #> Andrew Johnson 1.983508e-79 7.686628e-26 7.757527e-123 #> Barack Obama 7.625277e-43 3.438349e-146 9.985028e-24 #> Benjamin Harrison 3.687136e-58 1.907007e-37 6.821489e-106 #> Calvin Coolidge 6.009809e-33 1.753589e-56 8.879587e-81 #> Chester A. Arthur 1.454953e-74 5.892730e-20 1.064671e-121 #> Donald J. Trump 1.056469e-90 9.229618e-148 1.357377e-47 #> Dwight D. Eisenhower 4.272683e-17 7.286046e-85 7.173180e-48 #> Franklin D. Roosevelt 0.000000e+00 3.081765e-85 9.439806e-42 #> Franklin Pierce 3.081765e-85 0.000000e+00 9.393696e-132 #> George Bush 9.439806e-42 9.393696e-132 0.000000e+00 #> George W. Bush 1.146539e-25 2.366644e-127 5.490764e-28 #> George Washington 5.621045e-132 2.972491e-94 4.273995e-174 #> Gerald R. Ford 6.687934e-44 1.257792e-134 2.387195e-20 #> Grover Cleveland 6.821488e-55 1.699599e-42 4.604057e-102 #> Harry S. Truman 5.597783e-19 1.223347e-88 1.736623e-61 #> Herbert Hoover 6.200725e-46 1.089033e-67 3.514595e-83 #> James A. Garfield 2.164783e-185 9.813156e-187 1.196711e-178 #> James Buchanan 2.475745e-83 7.829791e-31 2.719461e-133 #> James K. Polk 2.766203e-71 2.886880e-26 7.996260e-119 #> James Madison 2.159674e-108 3.990713e-62 1.507994e-167 #> James Monroe 2.588174e-102 2.214409e-32 2.398639e-161 #> Jimmy Carter 7.944255e-26 5.357471e-81 5.231658e-59 #> John Adams 3.151248e-151 1.028204e-105 4.693299e-196 #> John F. Kennedy 4.102926e-24 3.518844e-119 1.204258e-25 #> John Quincy Adams 1.913154e-100 2.808337e-21 4.082016e-146 #> John Tyler 3.222170e-90 3.267703e-21 6.341699e-146 #> Lyndon B. Johnson 1.297641e-19 4.098457e-105 2.131518e-19 #> Martin van Buren 1.205934e-81 1.866368e-17 1.075894e-135 #> Millard Fillmore 3.831236e-96 1.208983e-34 6.896601e-155 #> Richard Nixon 8.166136e-21 4.858393e-101 1.448844e-35 #> Ronald Reagan 1.976447e-29 1.143795e-124 1.692913e-21 #> Rutherford B. Hayes 2.120592e-74 1.825272e-24 7.612549e-118 #> Theodore Roosevelt 7.753710e-29 6.198169e-59 1.253628e-71 #> Thomas Jefferson 3.330491e-107 1.408576e-60 1.869023e-147 #> Ulysses S. Grant 2.575819e-68 1.860170e-29 1.122115e-108 #> Warren G. Harding 1.289199e-56 5.115380e-103 1.789305e-55 #> William Henry Harrison 8.045241e-170 9.974886e-157 8.468150e-192 #> William Howard Taft 4.245148e-48 1.155517e-40 2.034433e-99 #> William J. Clinton 3.633555e-27 1.217702e-120 3.342164e-28 #> William McKinley 1.524671e-53 4.177047e-39 5.879449e-100 #> Woodrow Wilson 8.716112e-34 1.655264e-51 4.118438e-75 #> Zachary Taylor 2.303645e-107 2.793461e-42 6.365143e-170 #> George W. Bush George Washington Gerald R. Ford #> Abraham Lincoln 2.275843e-128 9.110247e-65 3.123150e-141 #> Andrew Jackson 3.673873e-113 2.669619e-101 1.344272e-122 #> Andrew Johnson 3.290332e-118 1.707754e-92 2.574145e-124 #> Barack Obama 1.472653e-19 2.005874e-179 3.981919e-38 #> Benjamin Harrison 1.237927e-95 9.792139e-111 7.435778e-110 #> Calvin Coolidge 4.171207e-68 5.816636e-126 6.758747e-83 #> Chester A. Arthur 8.127392e-114 1.620324e-98 4.529783e-133 #> Donald J. Trump 6.543712e-71 5.981374e-184 6.350411e-65 #> Dwight D. Eisenhower 1.542574e-33 3.678576e-142 6.453774e-54 #> Franklin D. Roosevelt 1.146539e-25 5.621045e-132 6.687934e-44 #> Franklin Pierce 2.366644e-127 2.972491e-94 1.257792e-134 #> George Bush 5.490764e-28 4.273995e-174 2.387195e-20 #> George W. Bush 0.000000e+00 1.018022e-161 5.465963e-35 #> George Washington 1.018022e-161 0.000000e+00 6.991573e-176 #> Gerald R. Ford 5.465963e-35 6.991573e-176 0.000000e+00 #> Grover Cleveland 2.531277e-90 5.008502e-125 1.902313e-105 #> Harry S. Truman 8.701592e-45 1.011501e-149 3.443716e-64 #> Herbert Hoover 2.041193e-79 9.834074e-129 2.738316e-79 #> James A. Garfield 1.946706e-183 2.112377e-142 4.115826e-190 #> James Buchanan 9.471972e-123 3.964272e-95 6.647434e-134 #> James K. Polk 4.078704e-110 3.052887e-108 6.232554e-121 #> James Madison 1.234231e-143 1.825040e-47 1.723812e-168 #> James Monroe 4.704523e-147 4.579068e-63 1.468079e-162 #> Jimmy Carter 1.271392e-34 4.688568e-143 3.044024e-69 #> John Adams 1.286892e-174 1.414180e-44 1.227346e-201 #> John F. Kennedy 7.278199e-29 5.567399e-161 1.050282e-33 #> John Quincy Adams 8.060494e-138 5.480076e-69 8.802079e-160 #> John Tyler 9.984742e-133 1.267449e-79 8.870443e-151 #> Lyndon B. Johnson 9.804361e-21 8.079235e-151 3.431357e-29 #> Martin van Buren 5.391870e-125 7.857608e-83 7.801216e-135 #> Millard Fillmore 4.881357e-136 6.225157e-80 4.567011e-156 #> Richard Nixon 1.941263e-29 1.202689e-135 2.465449e-46 #> Ronald Reagan 1.791360e-21 5.442440e-167 2.641963e-28 #> Rutherford B. Hayes 1.667563e-102 3.634436e-100 1.241880e-126 #> Theodore Roosevelt 4.730331e-57 5.851085e-134 4.202008e-76 #> Thomas Jefferson 3.078421e-140 3.669511e-50 1.595312e-152 #> Ulysses S. Grant 5.882005e-100 9.226600e-110 1.905526e-113 #> Warren G. Harding 6.477532e-72 4.017405e-142 2.454437e-60 #> William Henry Harrison 2.461485e-173 9.293357e-110 4.781978e-199 #> William Howard Taft 7.737573e-82 2.110438e-119 2.328414e-97 #> William J. Clinton 2.077081e-21 4.175783e-165 6.893105e-35 #> William McKinley 2.943648e-88 1.685056e-115 7.110482e-99 #> Woodrow Wilson 3.485455e-69 1.494468e-114 6.416446e-75 #> Zachary Taylor 3.378112e-155 7.844739e-58 3.144231e-171 #> Grover Cleveland Harry S. Truman Herbert Hoover #> Abraham Lincoln 1.411816e-47 3.053512e-87 7.290176e-67 #> Andrew Jackson 1.193334e-25 2.866649e-79 1.031596e-73 #> Andrew Johnson 3.069279e-34 2.770082e-76 9.133940e-58 #> Barack Obama 8.738567e-101 6.284153e-49 2.265643e-80 #> Benjamin Harrison 6.114847e-10 7.074189e-52 2.768855e-51 #> Calvin Coolidge 7.935562e-22 4.829605e-31 7.952815e-24 #> Chester A. Arthur 2.457336e-24 4.667408e-68 2.695417e-67 #> Donald J. Trump 5.874929e-125 3.854510e-115 3.119818e-127 #> Dwight D. Eisenhower 3.751601e-54 3.872200e-11 8.554161e-43 #> Franklin D. Roosevelt 6.821488e-55 5.597783e-19 6.200725e-46 #> Franklin Pierce 1.699599e-42 1.223347e-88 1.089033e-67 #> George Bush 4.604057e-102 1.736623e-61 3.514595e-83 #> George W. Bush 2.531277e-90 8.701592e-45 2.041193e-79 #> George Washington 5.008502e-125 1.011501e-149 9.834074e-129 #> Gerald R. Ford 1.902313e-105 3.443716e-64 2.738316e-79 #> Grover Cleveland 0.000000e+00 2.813575e-46 2.892670e-47 #> Harry S. Truman 2.813575e-46 0.000000e+00 2.579293e-46 #> Herbert Hoover 2.892670e-47 2.579293e-46 0.000000e+00 #> James A. Garfield 7.502988e-190 1.309656e-199 8.734148e-179 #> James Buchanan 2.544979e-38 7.515227e-78 8.874276e-63 #> James K. Polk 1.678577e-22 3.354263e-67 3.670492e-62 #> James Madison 2.611121e-101 2.928151e-125 2.761709e-114 #> James Monroe 3.529069e-59 8.602005e-104 1.617967e-92 #> Jimmy Carter 1.361823e-51 1.714692e-13 5.806597e-55 #> John Adams 1.237740e-141 5.565024e-160 2.011143e-151 #> John F. Kennedy 1.178073e-82 1.056713e-41 2.953426e-69 #> John Quincy Adams 2.049397e-56 6.657460e-98 5.346600e-87 #> John Tyler 1.827521e-56 1.987975e-93 4.301150e-73 #> Lyndon B. Johnson 7.600846e-71 3.813719e-29 2.869096e-55 #> Martin van Buren 4.283017e-43 6.640701e-87 1.358094e-67 #> Millard Fillmore 1.342846e-50 5.752792e-94 2.910124e-67 #> Richard Nixon 3.225356e-68 1.421638e-18 9.866611e-51 #> Ronald Reagan 4.844446e-87 1.814543e-31 1.609038e-68 #> Rutherford B. Hayes 4.856533e-20 5.108950e-67 8.084897e-56 #> Theodore Roosevelt 5.749988e-18 3.369361e-24 1.060313e-38 #> Thomas Jefferson 6.378828e-90 2.896934e-124 1.693700e-99 #> Ulysses S. Grant 2.822070e-14 5.379880e-59 2.124913e-53 #> Warren G. Harding 3.379737e-78 2.768513e-76 1.498090e-47 #> William Henry Harrison 9.706347e-176 3.644374e-183 2.269840e-171 #> William Howard Taft 2.168233e-13 2.569217e-43 1.668757e-37 #> William J. Clinton 2.929228e-85 2.620010e-29 2.033877e-73 #> William McKinley 9.013195e-16 4.908649e-50 1.270056e-48 #> Woodrow Wilson 4.550358e-34 6.361374e-45 3.491372e-35 #> Zachary Taylor 1.553115e-86 1.300818e-111 3.941001e-91 #> James A. Garfield James Buchanan James K. Polk #> Abraham Lincoln 1.897879e-153 5.984377e-22 2.172400e-28 #> Andrew Jackson 1.108891e-177 1.282594e-23 6.917108e-15 #> Andrew Johnson 5.743648e-167 1.941528e-28 1.014017e-22 #> Barack Obama 1.210171e-196 1.000591e-131 2.597518e-116 #> Benjamin Harrison 1.837278e-186 1.091466e-30 1.285413e-19 #> Calvin Coolidge 2.066853e-188 6.018063e-47 2.000276e-42 #> Chester A. Arthur 8.211618e-183 5.724256e-25 3.807919e-14 #> Donald J. Trump 1.667494e-186 2.626652e-154 8.646608e-149 #> Dwight D. Eisenhower 6.965515e-191 2.710234e-80 8.725101e-72 #> Franklin D. Roosevelt 2.164783e-185 2.475745e-83 2.766203e-71 #> Franklin Pierce 9.813156e-187 7.829791e-31 2.886880e-26 #> George Bush 1.196711e-178 2.719461e-133 7.996260e-119 #> George W. Bush 1.946706e-183 9.471972e-123 4.078704e-110 #> George Washington 2.112377e-142 3.964272e-95 3.052887e-108 #> Gerald R. Ford 4.115826e-190 6.647434e-134 6.232554e-121 #> Grover Cleveland 7.502988e-190 2.544979e-38 1.678577e-22 #> Harry S. Truman 1.309656e-199 7.515227e-78 3.354263e-67 #> Herbert Hoover 8.734148e-179 8.874276e-63 3.670492e-62 #> James A. Garfield 0.000000e+00 1.364391e-157 1.214484e-179 #> James Buchanan 1.364391e-157 0.000000e+00 1.041448e-11 #> James K. Polk 1.214484e-179 1.041448e-11 0.000000e+00 #> James Madison 1.920578e-158 5.916225e-71 2.033884e-81 #> James Monroe 6.387696e-169 7.185163e-26 2.744349e-37 #> Jimmy Carter 3.758360e-200 1.642763e-78 2.244169e-69 #> John Adams 8.438780e-148 4.727510e-113 6.937681e-122 #> John F. Kennedy 3.955987e-192 1.312481e-121 2.754635e-104 #> John Quincy Adams 4.422211e-162 4.281951e-42 6.864564e-36 #> John Tyler 4.981639e-177 1.801743e-20 1.918304e-25 #> Lyndon B. Johnson 1.519736e-183 1.044082e-102 2.850620e-87 #> Martin van Buren 2.227946e-167 1.632285e-23 2.842890e-16 #> Millard Fillmore 8.060070e-142 1.024428e-20 6.802144e-28 #> Richard Nixon 7.778590e-192 4.671884e-101 3.120104e-89 #> Ronald Reagan 4.758201e-175 4.768829e-123 5.417332e-110 #> Rutherford B. Hayes 2.380215e-170 4.556919e-25 4.097984e-18 #> Theodore Roosevelt 1.073251e-201 4.273723e-47 3.390921e-36 #> Thomas Jefferson 5.377330e-154 1.181778e-68 2.204193e-67 #> Ulysses S. Grant 1.082001e-184 2.740263e-21 1.260658e-11 #> Warren G. Harding 1.974005e-151 6.773412e-99 6.258150e-85 #> William Henry Harrison 3.151652e-155 1.369352e-165 8.171045e-175 #> William Howard Taft 1.476178e-191 1.049196e-34 1.251340e-27 #> William J. Clinton 1.148297e-191 7.945408e-118 1.136332e-104 #> William McKinley 6.771576e-190 4.030213e-30 6.009786e-17 #> Woodrow Wilson 1.255649e-171 6.611501e-57 3.277983e-44 #> Zachary Taylor 7.796478e-167 9.649905e-58 2.999001e-65 #> James Madison James Monroe Jimmy Carter John Adams #> Abraham Lincoln 4.854250e-55 2.094989e-31 2.442438e-86 6.300020e-93 #> Andrew Jackson 2.155960e-82 2.115691e-36 1.662902e-78 7.414190e-117 #> Andrew Johnson 2.586076e-73 3.352486e-44 3.133197e-77 9.186698e-109 #> Barack Obama 3.204796e-176 2.692380e-167 2.787669e-42 3.692459e-204 #> Benjamin Harrison 2.539142e-85 4.336724e-51 2.017809e-55 1.006044e-128 #> Calvin Coolidge 7.780939e-101 8.622393e-75 3.303600e-35 8.439948e-142 #> Chester A. Arthur 4.651712e-71 5.262455e-35 2.454763e-69 4.717668e-113 #> Donald J. Trump 1.458310e-182 4.366531e-177 9.779255e-116 9.860990e-207 #> Dwight D. Eisenhower 9.604603e-127 4.555459e-110 5.517291e-13 4.061307e-157 #> Franklin D. Roosevelt 2.159674e-108 2.588174e-102 7.944255e-26 3.151248e-151 #> Franklin Pierce 3.990713e-62 2.214409e-32 5.357471e-81 1.028204e-105 #> George Bush 1.507994e-167 2.398639e-161 5.231658e-59 4.693299e-196 #> George W. Bush 1.234231e-143 4.704523e-147 1.271392e-34 1.286892e-174 #> George Washington 1.825040e-47 4.579068e-63 4.688568e-143 1.414180e-44 #> Gerald R. Ford 1.723812e-168 1.468079e-162 3.044024e-69 1.227346e-201 #> Grover Cleveland 2.611121e-101 3.529069e-59 1.361823e-51 1.237740e-141 #> Harry S. Truman 2.928151e-125 8.602005e-104 1.714692e-13 5.565024e-160 #> Herbert Hoover 2.761709e-114 1.617967e-92 5.806597e-55 2.011143e-151 #> James A. Garfield 1.920578e-158 6.387696e-169 3.758360e-200 8.438780e-148 #> James Buchanan 5.916225e-71 7.185163e-26 1.642763e-78 4.727510e-113 #> James K. Polk 2.033884e-81 2.744349e-37 2.244169e-69 6.937681e-122 #> James Madison 0.000000e+00 1.188022e-35 1.368356e-122 3.666963e-62 #> James Monroe 1.188022e-35 0.000000e+00 1.855125e-103 5.516611e-86 #> Jimmy Carter 1.368356e-122 1.855125e-103 0.000000e+00 5.516986e-154 #> John Adams 3.666963e-62 5.516611e-86 5.516986e-154 0.000000e+00 #> John F. Kennedy 6.120790e-153 2.513243e-150 2.427217e-52 1.500206e-176 #> John Quincy Adams 2.070303e-36 3.955370e-20 9.177239e-101 1.312791e-89 #> John Tyler 8.336249e-43 6.819039e-25 2.363331e-90 2.411902e-94 #> Lyndon B. Johnson 5.031578e-140 1.448214e-126 6.942722e-31 3.444531e-166 #> Martin van Buren 5.792117e-65 9.585554e-29 2.080746e-80 1.049823e-97 #> Millard Fillmore 8.637302e-64 1.703418e-27 2.211042e-90 1.125415e-95 #> Richard Nixon 3.835311e-130 7.112550e-120 8.340026e-15 1.568090e-161 #> Ronald Reagan 5.067260e-156 1.317907e-153 7.435312e-35 9.154625e-186 #> Rutherford B. Hayes 5.338794e-69 3.819949e-40 1.459788e-66 2.023710e-114 #> Theodore Roosevelt 2.132338e-117 1.231309e-81 3.690543e-27 1.408931e-149 #> Thomas Jefferson 4.943593e-38 3.602595e-59 9.634343e-126 3.243675e-70 #> Ulysses S. Grant 3.658030e-89 5.831096e-43 4.047490e-63 4.365521e-129 #> Warren G. Harding 3.695107e-134 5.590246e-130 3.771946e-88 2.883931e-173 #> William Henry Harrison 1.549644e-122 2.672069e-151 2.572443e-180 3.624884e-115 #> William Howard Taft 3.435496e-94 7.081419e-67 2.902847e-45 1.371844e-138 #> William J. Clinton 4.859764e-155 2.502811e-145 5.180206e-31 1.342069e-180 #> William McKinley 1.158120e-98 2.177929e-51 1.007713e-52 3.909918e-138 #> Woodrow Wilson 1.107690e-90 3.014274e-79 1.919479e-50 2.619856e-142 #> Zachary Taylor 2.581517e-50 1.831882e-32 1.684025e-109 6.337756e-71 #> John F. Kennedy John Quincy Adams John Tyler #> Abraham Lincoln 1.401486e-132 1.729733e-28 4.022989e-16 #> Andrew Jackson 1.819410e-112 4.593093e-41 7.054548e-29 #> Andrew Johnson 3.030258e-118 1.128421e-40 9.709238e-31 #> Barack Obama 1.553588e-35 1.956220e-160 3.392767e-145 #> Benjamin Harrison 9.438873e-90 5.323397e-46 2.469721e-49 #> Calvin Coolidge 6.769491e-62 9.238218e-69 8.121688e-62 #> Chester A. Arthur 9.064271e-112 4.120832e-27 8.944288e-23 #> Donald J. Trump 2.326445e-71 3.240278e-150 1.085169e-163 #> Dwight D. Eisenhower 1.742701e-32 2.520402e-107 2.837625e-92 #> Franklin D. Roosevelt 4.102926e-24 1.913154e-100 3.222170e-90 #> Franklin Pierce 3.518844e-119 2.808337e-21 3.267703e-21 #> George Bush 1.204258e-25 4.082016e-146 6.341699e-146 #> George W. Bush 7.278199e-29 8.060494e-138 9.984742e-133 #> George Washington 5.567399e-161 5.480076e-69 1.267449e-79 #> Gerald R. Ford 1.050282e-33 8.802079e-160 8.870443e-151 #> Grover Cleveland 1.178073e-82 2.049397e-56 1.827521e-56 #> Harry S. Truman 1.056713e-41 6.657460e-98 1.987975e-93 #> Herbert Hoover 2.953426e-69 5.346600e-87 4.301150e-73 #> James A. Garfield 3.955987e-192 4.422211e-162 4.981639e-177 #> James Buchanan 1.312481e-121 4.281951e-42 1.801743e-20 #> James K. Polk 2.754635e-104 6.864564e-36 1.918304e-25 #> James Madison 6.120790e-153 2.070303e-36 8.336249e-43 #> James Monroe 2.513243e-150 3.955370e-20 6.819039e-25 #> Jimmy Carter 2.427217e-52 9.177239e-101 2.363331e-90 #> John Adams 1.500206e-176 1.312791e-89 2.411902e-94 #> John F. Kennedy 0.000000e+00 2.997581e-135 1.545827e-131 #> John Quincy Adams 2.997581e-135 0.000000e+00 2.641524e-23 #> John Tyler 1.545827e-131 2.641524e-23 0.000000e+00 #> Lyndon B. Johnson 2.517466e-12 1.411519e-124 9.841420e-111 #> Martin van Buren 7.823115e-125 2.157030e-30 7.845020e-14 #> Millard Fillmore 4.396138e-135 1.751646e-41 5.395397e-24 #> Richard Nixon 8.002051e-28 5.603045e-122 4.446550e-109 #> Ronald Reagan 1.671902e-22 8.024221e-141 9.813748e-136 #> Rutherford B. Hayes 1.367327e-105 5.513343e-33 1.446610e-34 #> Theodore Roosevelt 2.091390e-55 5.366504e-78 1.282192e-67 #> Thomas Jefferson 3.085780e-145 2.458461e-49 1.450228e-52 #> Ulysses S. Grant 1.334934e-95 2.505457e-42 2.276801e-31 #> Warren G. Harding 3.364789e-55 5.463684e-109 5.363724e-110 #> William Henry Harrison 3.345709e-181 1.484285e-140 4.821883e-150 #> William Howard Taft 1.700114e-78 1.053693e-58 5.867172e-57 #> William J. Clinton 1.919264e-27 8.413342e-143 3.639484e-126 #> William McKinley 2.490476e-81 1.772407e-53 1.383469e-46 #> Woodrow Wilson 3.875230e-59 1.759019e-69 1.063564e-60 #> Zachary Taylor 2.660840e-151 1.105778e-39 1.443352e-37 #> Lyndon B. Johnson Martin van Buren Millard Fillmore #> Abraham Lincoln 1.450157e-109 2.518237e-20 2.729392e-28 #> Andrew Jackson 4.180260e-99 4.926795e-16 2.884467e-27 #> Andrew Johnson 5.234443e-99 1.632089e-28 1.139054e-33 #> Barack Obama 6.299973e-28 1.430810e-137 1.210589e-156 #> Benjamin Harrison 3.349283e-75 1.486728e-38 6.507575e-41 #> Calvin Coolidge 5.940882e-50 8.700489e-62 1.810857e-62 #> Chester A. Arthur 3.959046e-93 1.558272e-23 2.084840e-30 #> Donald J. Trump 2.350039e-74 6.741757e-158 1.269014e-182 #> Dwight D. Eisenhower 1.185944e-19 1.458452e-86 4.916071e-93 #> Franklin D. Roosevelt 1.297641e-19 1.205934e-81 3.831236e-96 #> Franklin Pierce 4.098457e-105 1.866368e-17 1.208983e-34 #> George Bush 2.131518e-19 1.075894e-135 6.896601e-155 #> George W. Bush 9.804361e-21 5.391870e-125 4.881357e-136 #> George Washington 8.079235e-151 7.857608e-83 6.225157e-80 #> Gerald R. Ford 3.431357e-29 7.801216e-135 4.567011e-156 #> Grover Cleveland 7.600846e-71 4.283017e-43 1.342846e-50 #> Harry S. Truman 3.813719e-29 6.640701e-87 5.752792e-94 #> Herbert Hoover 2.869096e-55 1.358094e-67 2.910124e-67 #> James A. Garfield 1.519736e-183 2.227946e-167 8.060070e-142 #> James Buchanan 1.044082e-102 1.632285e-23 1.024428e-20 #> James K. Polk 2.850620e-87 2.842890e-16 6.802144e-28 #> James Madison 5.031578e-140 5.792117e-65 8.637302e-64 #> James Monroe 1.448214e-126 9.585554e-29 1.703418e-27 #> Jimmy Carter 6.942722e-31 2.080746e-80 2.211042e-90 #> John Adams 3.444531e-166 1.049823e-97 1.125415e-95 #> John F. Kennedy 2.517466e-12 7.823115e-125 4.396138e-135 #> John Quincy Adams 1.411519e-124 2.157030e-30 1.751646e-41 #> John Tyler 9.841420e-111 7.845020e-14 5.395397e-24 #> Lyndon B. Johnson 0.000000e+00 5.966418e-106 2.180982e-117 #> Martin van Buren 5.966418e-106 0.000000e+00 2.327928e-24 #> Millard Fillmore 2.180982e-117 2.327928e-24 0.000000e+00 #> Richard Nixon 3.509548e-11 2.611151e-103 8.617915e-112 #> Ronald Reagan 7.947465e-15 4.444064e-128 1.859545e-134 #> Rutherford B. Hayes 3.682745e-92 1.468696e-26 9.422696e-25 #> Theodore Roosevelt 5.702968e-45 9.834555e-58 1.137265e-67 #> Thomas Jefferson 4.170130e-126 1.822471e-53 2.400828e-61 #> Ulysses S. Grant 3.223670e-81 7.886321e-30 3.534670e-33 #> Warren G. Harding 1.528961e-52 2.218971e-106 2.249205e-108 #> William Henry Harrison 1.709734e-177 1.632800e-156 1.864305e-152 #> William Howard Taft 8.900980e-66 4.158294e-51 7.687908e-52 #> William J. Clinton 7.795201e-16 8.189425e-122 2.876066e-134 #> William McKinley 1.535562e-67 2.383187e-37 8.995130e-42 #> Woodrow Wilson 6.309796e-48 8.230269e-55 2.838554e-63 #> Zachary Taylor 4.313876e-130 1.244668e-41 6.642080e-31 #> Richard Nixon Ronald Reagan Rutherford B. Hayes #> Abraham Lincoln 1.309718e-106 3.483145e-127 4.372283e-28 #> Andrew Jackson 1.453785e-98 2.008203e-116 1.743876e-26 #> Andrew Johnson 1.722369e-94 8.869557e-117 2.983157e-19 #> Barack Obama 4.294575e-32 1.738064e-14 1.407157e-123 #> Benjamin Harrison 2.361447e-73 1.638113e-93 5.747935e-12 #> Calvin Coolidge 8.052057e-44 3.196985e-65 1.031345e-40 #> Chester A. Arthur 1.248431e-91 4.036646e-116 3.071548e-13 #> Donald J. Trump 2.763158e-91 9.949270e-81 3.955378e-143 #> Dwight D. Eisenhower 2.368408e-09 9.322670e-27 3.355214e-72 #> Franklin D. Roosevelt 8.166136e-21 1.976447e-29 2.120592e-74 #> Franklin Pierce 4.858393e-101 1.143795e-124 1.825272e-24 #> George Bush 1.448844e-35 1.692913e-21 7.612549e-118 #> George W. Bush 1.941263e-29 1.791360e-21 1.667563e-102 #> George Washington 1.202689e-135 5.442440e-167 3.634436e-100 #> Gerald R. Ford 2.465449e-46 2.641963e-28 1.241880e-126 #> Grover Cleveland 3.225356e-68 4.844446e-87 4.856533e-20 #> Harry S. Truman 1.421638e-18 1.814543e-31 5.108950e-67 #> Herbert Hoover 9.866611e-51 1.609038e-68 8.084897e-56 #> James A. Garfield 7.778590e-192 4.758201e-175 2.380215e-170 #> James Buchanan 4.671884e-101 4.768829e-123 4.556919e-25 #> James K. Polk 3.120104e-89 5.417332e-110 4.097984e-18 #> James Madison 3.835311e-130 5.067260e-156 5.338794e-69 #> James Monroe 7.112550e-120 1.317907e-153 3.819949e-40 #> Jimmy Carter 8.340026e-15 7.435312e-35 1.459788e-66 #> John Adams 1.568090e-161 9.154625e-186 2.023710e-114 #> John F. Kennedy 8.002051e-28 1.671902e-22 1.367327e-105 #> John Quincy Adams 5.603045e-122 8.024221e-141 5.513343e-33 #> John Tyler 4.446550e-109 9.813748e-136 1.446610e-34 #> Lyndon B. Johnson 3.509548e-11 7.947465e-15 3.682745e-92 #> Martin van Buren 2.611151e-103 4.444064e-128 1.468696e-26 #> Millard Fillmore 8.617915e-112 1.859545e-134 9.422696e-25 #> Richard Nixon 0.000000e+00 1.873394e-19 2.296106e-89 #> Ronald Reagan 1.873394e-19 0.000000e+00 2.657724e-105 #> Rutherford B. Hayes 2.296106e-89 2.657724e-105 0.000000e+00 #> Theodore Roosevelt 3.534279e-40 6.386039e-56 2.814480e-38 #> Thomas Jefferson 9.333187e-124 1.169089e-141 8.847074e-61 #> Ulysses S. Grant 1.076661e-80 2.049674e-100 1.696148e-16 #> Warren G. Harding 8.689039e-70 1.518587e-55 1.163224e-85 #> William Henry Harrison 2.603134e-170 4.338797e-174 1.065876e-159 #> William Howard Taft 5.666364e-61 8.563041e-82 4.364042e-26 #> William J. Clinton 2.520179e-22 6.619749e-10 3.388506e-106 #> William McKinley 2.783546e-69 5.596195e-87 2.046486e-18 #> Woodrow Wilson 9.987253e-51 1.501619e-60 2.798033e-39 #> Zachary Taylor 5.378986e-124 2.261891e-150 1.247473e-56 #> Theodore Roosevelt Thomas Jefferson Ulysses S. Grant #> Abraham Lincoln 4.109660e-64 1.324978e-47 9.774349e-31 #> Andrew Jackson 2.922503e-45 1.504664e-60 4.513723e-15 #> Andrew Johnson 2.858329e-45 9.740228e-62 6.347554e-25 #> Barack Obama 2.369790e-64 1.684181e-159 4.209809e-113 #> Benjamin Harrison 2.457632e-22 1.283495e-72 4.059424e-12 #> Calvin Coolidge 2.522474e-16 2.034158e-100 3.492541e-30 #> Chester A. Arthur 1.116508e-38 7.470492e-70 1.807698e-14 #> Donald J. Trump 6.526414e-106 4.548907e-171 3.134002e-135 #> Dwight D. Eisenhower 6.412550e-29 1.722645e-120 1.742131e-66 #> Franklin D. Roosevelt 7.753710e-29 3.330491e-107 2.575819e-68 #> Franklin Pierce 6.198169e-59 1.408576e-60 1.860170e-29 #> George Bush 1.253628e-71 1.869023e-147 1.122115e-108 #> George W. Bush 4.730331e-57 3.078421e-140 5.882005e-100 #> George Washington 5.851085e-134 3.669511e-50 9.226600e-110 #> Gerald R. Ford 4.202008e-76 1.595312e-152 1.905526e-113 #> Grover Cleveland 5.749988e-18 6.378828e-90 2.822070e-14 #> Harry S. Truman 3.369361e-24 2.896934e-124 5.379880e-59 #> Herbert Hoover 1.060313e-38 1.693700e-99 2.124913e-53 #> James A. Garfield 1.073251e-201 5.377330e-154 1.082001e-184 #> James Buchanan 4.273723e-47 1.181778e-68 2.740263e-21 #> James K. Polk 3.390921e-36 2.204193e-67 1.260658e-11 #> James Madison 2.132338e-117 4.943593e-38 3.658030e-89 #> James Monroe 1.231309e-81 3.602595e-59 5.831096e-43 #> Jimmy Carter 3.690543e-27 9.634343e-126 4.047490e-63 #> John Adams 1.408931e-149 3.243675e-70 4.365521e-129 #> John F. Kennedy 2.091390e-55 3.085780e-145 1.334934e-95 #> John Quincy Adams 5.366504e-78 2.458461e-49 2.505457e-42 #> John Tyler 1.282192e-67 1.450228e-52 2.276801e-31 #> Lyndon B. Johnson 5.702968e-45 4.170130e-126 3.223670e-81 #> Martin van Buren 9.834555e-58 1.822471e-53 7.886321e-30 #> Millard Fillmore 1.137265e-67 2.400828e-61 3.534670e-33 #> Richard Nixon 3.534279e-40 9.333187e-124 1.076661e-80 #> Ronald Reagan 6.386039e-56 1.169089e-141 2.049674e-100 #> Rutherford B. Hayes 2.814480e-38 8.847074e-61 1.696148e-16 #> Theodore Roosevelt 0.000000e+00 1.513939e-105 1.772384e-28 #> Thomas Jefferson 1.513939e-105 0.000000e+00 1.669825e-74 #> Ulysses S. Grant 1.772384e-28 1.669825e-74 0.000000e+00 #> Warren G. Harding 2.583537e-66 1.802614e-118 1.113060e-82 #> William Henry Harrison 1.946781e-178 1.212722e-135 6.965363e-174 #> William Howard Taft 3.663048e-14 8.745441e-91 2.478127e-21 #> William J. Clinton 3.317190e-53 3.908504e-143 2.416683e-96 #> William McKinley 5.183573e-18 1.923199e-84 3.031909e-15 #> Woodrow Wilson 1.519551e-32 2.802386e-90 3.620454e-42 #> Zachary Taylor 4.302377e-100 2.187302e-63 1.058528e-68 #> Warren G. Harding William Henry Harrison #> Abraham Lincoln 4.541812e-98 3.386050e-155 #> Andrew Jackson 2.592705e-93 1.017711e-173 #> Andrew Johnson 1.268293e-93 1.754306e-154 #> Barack Obama 5.648519e-76 3.497049e-184 #> Benjamin Harrison 2.167592e-74 1.723325e-167 #> Calvin Coolidge 1.787802e-59 5.608427e-166 #> Chester A. Arthur 5.969395e-95 7.083412e-166 #> Donald J. Trump 4.514039e-86 2.870474e-195 #> Dwight D. Eisenhower 1.997870e-61 3.338178e-162 #> Franklin D. Roosevelt 1.289199e-56 8.045241e-170 #> Franklin Pierce 5.115380e-103 9.974886e-157 #> George Bush 1.789305e-55 8.468150e-192 #> George W. Bush 6.477532e-72 2.461485e-173 #> George Washington 4.017405e-142 9.293357e-110 #> Gerald R. Ford 2.454437e-60 4.781978e-199 #> Grover Cleveland 3.379737e-78 9.706347e-176 #> Harry S. Truman 2.768513e-76 3.644374e-183 #> Herbert Hoover 1.498090e-47 2.269840e-171 #> James A. Garfield 1.974005e-151 3.151652e-155 #> James Buchanan 6.773412e-99 1.369352e-165 #> James K. Polk 6.258150e-85 8.171045e-175 #> James Madison 3.695107e-134 1.549644e-122 #> James Monroe 5.590246e-130 2.672069e-151 #> Jimmy Carter 3.771946e-88 2.572443e-180 #> John Adams 2.883931e-173 3.624884e-115 #> John F. Kennedy 3.364789e-55 3.345709e-181 #> John Quincy Adams 5.463684e-109 1.484285e-140 #> John Tyler 5.363724e-110 4.821883e-150 #> Lyndon B. Johnson 1.528961e-52 1.709734e-177 #> Martin van Buren 2.218971e-106 1.632800e-156 #> Millard Fillmore 2.249205e-108 1.864305e-152 #> Richard Nixon 8.689039e-70 2.603134e-170 #> Ronald Reagan 1.518587e-55 4.338797e-174 #> Rutherford B. Hayes 1.163224e-85 1.065876e-159 #> Theodore Roosevelt 2.583537e-66 1.946781e-178 #> Thomas Jefferson 1.802614e-118 1.212722e-135 #> Ulysses S. Grant 1.113060e-82 6.965363e-174 #> Warren G. Harding 0.000000e+00 2.086168e-163 #> William Henry Harrison 2.086168e-163 0.000000e+00 #> William Howard Taft 8.515541e-73 2.399898e-171 #> William J. Clinton 8.579564e-69 9.457251e-185 #> William McKinley 9.493111e-71 2.258724e-180 #> Woodrow Wilson 2.136467e-42 6.536972e-156 #> Zachary Taylor 3.641453e-140 1.603504e-149 #> William Howard Taft William J. Clinton William McKinley #> Abraham Lincoln 1.547031e-47 9.294805e-121 1.816893e-37 #> Andrew Jackson 1.460982e-35 9.776772e-111 3.664159e-26 #> Andrew Johnson 4.000138e-38 3.371533e-111 3.015490e-31 #> Barack Obama 2.634689e-93 5.056326e-18 2.535914e-100 #> Benjamin Harrison 6.065736e-14 6.678419e-91 3.413638e-14 #> Calvin Coolidge 3.088379e-16 1.280554e-61 3.443067e-24 #> Chester A. Arthur 8.399943e-31 9.897097e-112 8.498556e-20 #> Donald J. Trump 8.920327e-127 3.057831e-88 3.044104e-125 #> Dwight D. Eisenhower 7.988680e-49 1.178977e-26 5.262672e-54 #> Franklin D. Roosevelt 4.245148e-48 3.633555e-27 1.524671e-53 #> Franklin Pierce 1.155517e-40 1.217702e-120 4.177047e-39 #> George Bush 2.034433e-99 3.342164e-28 5.879449e-100 #> George W. Bush 7.737573e-82 2.077081e-21 2.943648e-88 #> George Washington 2.110438e-119 4.175783e-165 1.685056e-115 #> Gerald R. Ford 2.328414e-97 6.893105e-35 7.110482e-99 #> Grover Cleveland 2.168233e-13 2.929228e-85 9.013195e-16 #> Harry S. Truman 2.569217e-43 2.620010e-29 4.908649e-50 #> Herbert Hoover 1.668757e-37 2.033877e-73 1.270056e-48 #> James A. Garfield 1.476178e-191 1.148297e-191 6.771576e-190 #> James Buchanan 1.049196e-34 7.945408e-118 4.030213e-30 #> James K. Polk 1.251340e-27 1.136332e-104 6.009786e-17 #> James Madison 3.435496e-94 4.859764e-155 1.158120e-98 #> James Monroe 7.081419e-67 2.502811e-145 2.177929e-51 #> Jimmy Carter 2.902847e-45 5.180206e-31 1.007713e-52 #> John Adams 1.371844e-138 1.342069e-180 3.909918e-138 #> John F. Kennedy 1.700114e-78 1.919264e-27 2.490476e-81 #> John Quincy Adams 1.053693e-58 8.413342e-143 1.772407e-53 #> John Tyler 5.867172e-57 3.639484e-126 1.383469e-46 #> Lyndon B. Johnson 8.900980e-66 7.795201e-16 1.535562e-67 #> Martin van Buren 4.158294e-51 8.189425e-122 2.383187e-37 #> Millard Fillmore 7.687908e-52 2.876066e-134 8.995130e-42 #> Richard Nixon 5.666364e-61 2.520179e-22 2.783546e-69 #> Ronald Reagan 8.563041e-82 6.619749e-10 5.596195e-87 #> Rutherford B. Hayes 4.364042e-26 3.388506e-106 2.046486e-18 #> Theodore Roosevelt 3.663048e-14 3.317190e-53 5.183573e-18 #> Thomas Jefferson 8.745441e-91 3.908504e-143 1.923199e-84 #> Ulysses S. Grant 2.478127e-21 2.416683e-96 3.031909e-15 #> Warren G. Harding 8.515541e-73 8.579564e-69 9.493111e-71 #> William Henry Harrison 2.399898e-171 9.457251e-185 2.258724e-180 #> William Howard Taft 0.000000e+00 1.643959e-78 3.503450e-17 #> William J. Clinton 1.643959e-78 0.000000e+00 4.913813e-85 #> William McKinley 3.503450e-17 4.913813e-85 0.000000e+00 #> Woodrow Wilson 2.531502e-27 1.902187e-60 1.893148e-29 #> Zachary Taylor 2.082007e-82 1.491396e-143 5.750470e-78 #> Woodrow Wilson Zachary Taylor #> Abraham Lincoln 2.596090e-53 1.455080e-40 #> Andrew Jackson 4.306367e-51 7.575803e-58 #> Andrew Johnson 5.296209e-46 2.613470e-60 #> Barack Obama 2.611301e-78 1.030987e-175 #> Benjamin Harrison 5.614948e-31 1.410235e-74 #> Calvin Coolidge 1.310576e-23 1.000065e-87 #> Chester A. Arthur 1.115145e-49 1.479046e-51 #> Donald J. Trump 7.626981e-101 1.659536e-183 #> Dwight D. Eisenhower 1.793818e-41 3.411761e-112 #> Franklin D. Roosevelt 8.716112e-34 2.303645e-107 #> Franklin Pierce 1.655264e-51 2.793461e-42 #> George Bush 4.118438e-75 6.365143e-170 #> George W. Bush 3.485455e-69 3.378112e-155 #> George Washington 1.494468e-114 7.844739e-58 #> Gerald R. Ford 6.416446e-75 3.144231e-171 #> Grover Cleveland 4.550358e-34 1.553115e-86 #> Harry S. Truman 6.361374e-45 1.300818e-111 #> Herbert Hoover 3.491372e-35 3.941001e-91 #> James A. Garfield 1.255649e-171 7.796478e-167 #> James Buchanan 6.611501e-57 9.649905e-58 #> James K. Polk 3.277983e-44 2.999001e-65 #> James Madison 1.107690e-90 2.581517e-50 #> James Monroe 3.014274e-79 1.831882e-32 #> Jimmy Carter 1.919479e-50 1.684025e-109 #> John Adams 2.619856e-142 6.337756e-71 #> John F. Kennedy 3.875230e-59 2.660840e-151 #> John Quincy Adams 1.759019e-69 1.105778e-39 #> John Tyler 1.063564e-60 1.443352e-37 #> Lyndon B. Johnson 6.309796e-48 4.313876e-130 #> Martin van Buren 8.230269e-55 1.244668e-41 #> Millard Fillmore 2.838554e-63 6.642080e-31 #> Richard Nixon 9.987253e-51 5.378986e-124 #> Ronald Reagan 1.501619e-60 2.261891e-150 #> Rutherford B. Hayes 2.798033e-39 1.247473e-56 #> Theodore Roosevelt 1.519551e-32 4.302377e-100 #> Thomas Jefferson 2.802386e-90 2.187302e-63 #> Ulysses S. Grant 3.620454e-42 1.058528e-68 #> Warren G. Harding 2.136467e-42 3.641453e-140 #> William Henry Harrison 6.536972e-156 1.603504e-149 #> William Howard Taft 2.531502e-27 2.082007e-82 #> William J. Clinton 1.902187e-60 1.491396e-143 #> William McKinley 1.893148e-29 5.750470e-78 #> Woodrow Wilson 0.000000e+00 1.173584e-86 #> Zachary Taylor 1.173584e-86 0.000000e+00 #> #> $type #> - Source: Radial Basis Function Kernel Weights #> - Distance Metric: Canberra #> - Scale parameter (phi): 0.1 [User-Supplied] #> #>weight_func <- sparse_rbf_kernel_weights() weight_func(presidential_speech)#> $weight_mat #> Abraham Lincoln Andrew Jackson Andrew Johnson #> Abraham Lincoln 0.0000000 0.0000000 0.7194394 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.7194394 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.6072132 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.6231678 0.0000000 0.5870692 #> George Bush 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.5633683 0.5786401 #> James K. Polk 0.0000000 0.5644831 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.5683039 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.5896010 0.0000000 0.0000000 #> John Tyler 0.6721470 0.5021664 0.6254377 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.6360971 0.6365913 0.6087756 #> Millard Fillmore 0.6111059 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.4552116 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.2575081 #> Zachary Taylor 0.5447867 0.0000000 0.0000000 #> Barack Obama Benjamin Harrison Calvin Coolidge #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.4913505 0.0000000 0.0000000 #> George W. Bush 0.6575412 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.5960045 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.4251644 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.0000000 #> Ronald Reagan 0.5508255 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.6313050 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.3377884 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.6390729 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.4969091 0.5061775 #> William J. Clinton 0.6873245 0.0000000 0.0000000 #> William McKinley 0.0000000 0.6133497 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.3981554 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur Donald J. Trump Dwight D. Eisenhower #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.6072132 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.3010904 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.3871675 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.2904972 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.3937989 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.5389170 0.0000000 0.0000000 #> James K. Polk 0.5313726 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.2084846 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.2406898 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.3353069 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.5199661 #> Ronald Reagan 0.0000000 0.0000000 0.0000000 #> Rutherford B. Hayes 0.6575883 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.5881847 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.2351144 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.5051247 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt Franklin Pierce George Bush #> Abraham Lincoln 0.0000000 0.6231678 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.5870692 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.4913505 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.3871675 #> Dwight D. Eisenhower 0.3010904 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.5009358 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.5080527 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.1426786 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.3368836 0.0000000 0.5055048 #> John Quincy Adams 0.0000000 0.6195258 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.3456227 0.0000000 0.4975538 #> Martin van Buren 0.0000000 0.5869940 0.0000000 #> Millard Fillmore 0.0000000 0.5793973 0.0000000 #> Richard Nixon 0.2220069 0.0000000 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 0.5049289 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> George W. Bush George Washington Gerald R. Ford #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.6575412 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.2904972 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.5009358 0.0000000 0.5080527 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.3906872 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.5637522 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.6572560 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.5481133 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.4075634 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.0000000 #> Ronald Reagan 0.5484734 0.0000000 0.3674560 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.5744514 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.4783581 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.5899892 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> Grover Cleveland Harry S. Truman Herbert Hoover #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.5960045 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.4251644 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.3937989 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.1426786 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.1612662 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.1809124 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.3663438 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.5318102 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.2796808 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.5107005 0.0000000 0.1646794 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.5508226 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.3474524 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> James A. Garfield James Buchanan James K. Polk #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.5633683 0.5644831 #> Andrew Johnson 0.0000000 0.5786401 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.5389170 0.5313726 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.3906872 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.6907221 #> James K. Polk 0.0000000 0.6907221 0.0000000 #> James Madison 0.2776537 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.4930618 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.5842940 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.5461014 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.7349657 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> James Madison James Monroe Jimmy Carter John Adams #> Abraham Lincoln 0.0000000 0.5683039 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.2084846 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 0.0000000 #> George Washington 0.5637522 0.0000000 0.0000000 0.6572560 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.1612662 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.2776537 0.0000000 0.0000000 0.4930618 #> James Buchanan 0.0000000 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 0.5218038 #> James Monroe 0.0000000 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 0.0000000 #> John Adams 0.5218038 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.6547955 0.0000000 0.0000000 #> John Tyler 0.0000000 0.5653616 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.5944114 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.2633906 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.6899268 0.0000000 0.0000000 0.4683423 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.3727091 0.0000000 0.0000000 0.4832152 #> William Howard Taft 0.0000000 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.1050025 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.5102169 0.0000000 0.0000000 0.0000000 #> John F. Kennedy John Quincy Adams John Tyler #> Abraham Lincoln 0.0000000 0.5896010 0.6721470 #> Andrew Jackson 0.0000000 0.0000000 0.5021664 #> Andrew Johnson 0.0000000 0.0000000 0.6254377 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.2406898 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.3368836 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.6195258 0.0000000 #> George Bush 0.5055048 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.5481133 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.6547955 0.5653616 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.5700688 #> John Tyler 0.0000000 0.5700688 0.0000000 #> Lyndon B. Johnson 0.6025675 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.7143307 #> Millard Fillmore 0.0000000 0.0000000 0.6738306 #> Richard Nixon 0.0000000 0.0000000 0.0000000 #> Ronald Reagan 0.4448557 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.2437797 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.5426254 0.0000000 #> Lyndon B. Johnson Martin van Buren Millard Fillmore #> Abraham Lincoln 0.0000000 0.6360971 0.6111059 #> Andrew Jackson 0.0000000 0.6365913 0.0000000 #> Andrew Johnson 0.0000000 0.6087756 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.3353069 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.3456227 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.5869940 0.5793973 #> George Bush 0.4975538 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.4075634 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.5842940 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.5944114 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.6025675 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.7143307 0.6738306 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.4417725 0.0000000 0.0000000 #> Ronald Reagan 0.5966522 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.4017331 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.5670723 #> Richard Nixon Ronald Reagan Rutherford B. Hayes #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.5508255 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.6313050 #> Calvin Coolidge 0.0000000 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.6575883 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.5199661 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.2220069 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.5049289 0.0000000 #> George W. Bush 0.0000000 0.5484734 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.3674560 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 0.0000000 #> Harry S. Truman 0.1809124 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.2633906 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.4448557 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.4417725 0.5966522 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.4393677 0.0000000 #> Ronald Reagan 0.4393677 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.5805342 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.0000000 #> William J. Clinton 0.3443740 0.6236591 0.0000000 #> William McKinley 0.0000000 0.0000000 0.4960166 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> Theodore Roosevelt Thomas Jefferson Ulysses S. Grant #> Abraham Lincoln 0.0000000 0.4552116 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 0.6390729 #> Calvin Coolidge 0.3377884 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.5881847 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 0.0000000 #> George Washington 0.0000000 0.5744514 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.3663438 0.0000000 0.5318102 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.0000000 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.5461014 #> James Madison 0.0000000 0.6899268 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 0.0000000 #> John Adams 0.0000000 0.4683423 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.5805342 #> Theodore Roosevelt 0.0000000 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.4212309 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.3243404 0.0000000 0.6258553 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> Warren G. Harding William Henry Harrison #> Abraham Lincoln 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 #> Calvin Coolidge 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 #> Donald J. Trump 0.2351144 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 #> George Washington 0.0000000 0.4783581 #> Gerald R. Ford 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 #> Herbert Hoover 0.2796808 0.0000000 #> James A. Garfield 0.0000000 0.7349657 #> James Buchanan 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 #> James Madison 0.0000000 0.3727091 #> James Monroe 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 #> John Adams 0.0000000 0.4832152 #> John F. Kennedy 0.2437797 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 #> Warren G. Harding 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 #> Woodrow Wilson 0.3002699 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 #> William Howard Taft William J. Clinton William McKinley #> Abraham Lincoln 0.0000000 0.0000000 0.0000000 #> Andrew Jackson 0.0000000 0.0000000 0.0000000 #> Andrew Johnson 0.0000000 0.0000000 0.0000000 #> Barack Obama 0.0000000 0.6873245 0.0000000 #> Benjamin Harrison 0.4969091 0.0000000 0.6133497 #> Calvin Coolidge 0.5061775 0.0000000 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 0.5051247 #> Donald J. Trump 0.0000000 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.5899892 0.0000000 #> George Washington 0.0000000 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 0.0000000 #> Grover Cleveland 0.5107005 0.0000000 0.5508226 #> Harry S. Truman 0.0000000 0.0000000 0.0000000 #> Herbert Hoover 0.1646794 0.0000000 0.0000000 #> James A. Garfield 0.0000000 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 0.0000000 #> James Madison 0.0000000 0.0000000 0.0000000 #> James Monroe 0.0000000 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.1050025 0.0000000 #> John Adams 0.0000000 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.0000000 0.0000000 #> John Tyler 0.0000000 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.4017331 0.0000000 #> Martin van Buren 0.0000000 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.0000000 0.0000000 #> Richard Nixon 0.0000000 0.3443740 0.0000000 #> Ronald Reagan 0.0000000 0.6236591 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 0.4960166 #> Theodore Roosevelt 0.4212309 0.0000000 0.3243404 #> Thomas Jefferson 0.0000000 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 0.6258553 #> Warren G. Harding 0.0000000 0.0000000 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 0.4991518 #> William J. Clinton 0.0000000 0.0000000 0.0000000 #> William McKinley 0.4991518 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 0.0000000 #> Woodrow Wilson Zachary Taylor #> Abraham Lincoln 0.0000000 0.5447867 #> Andrew Jackson 0.0000000 0.0000000 #> Andrew Johnson 0.2575081 0.0000000 #> Barack Obama 0.0000000 0.0000000 #> Benjamin Harrison 0.0000000 0.0000000 #> Calvin Coolidge 0.3981554 0.0000000 #> Chester A. Arthur 0.0000000 0.0000000 #> Donald J. Trump 0.0000000 0.0000000 #> Dwight D. Eisenhower 0.0000000 0.0000000 #> Franklin D. Roosevelt 0.0000000 0.0000000 #> Franklin Pierce 0.0000000 0.0000000 #> George Bush 0.0000000 0.0000000 #> George W. Bush 0.0000000 0.0000000 #> George Washington 0.0000000 0.0000000 #> Gerald R. Ford 0.0000000 0.0000000 #> Grover Cleveland 0.0000000 0.0000000 #> Harry S. Truman 0.0000000 0.0000000 #> Herbert Hoover 0.3474524 0.0000000 #> James A. Garfield 0.0000000 0.0000000 #> James Buchanan 0.0000000 0.0000000 #> James K. Polk 0.0000000 0.0000000 #> James Madison 0.0000000 0.5102169 #> James Monroe 0.0000000 0.0000000 #> Jimmy Carter 0.0000000 0.0000000 #> John Adams 0.0000000 0.0000000 #> John F. Kennedy 0.0000000 0.0000000 #> John Quincy Adams 0.0000000 0.5426254 #> John Tyler 0.0000000 0.0000000 #> Lyndon B. Johnson 0.0000000 0.0000000 #> Martin van Buren 0.0000000 0.0000000 #> Millard Fillmore 0.0000000 0.5670723 #> Richard Nixon 0.0000000 0.0000000 #> Ronald Reagan 0.0000000 0.0000000 #> Rutherford B. Hayes 0.0000000 0.0000000 #> Theodore Roosevelt 0.0000000 0.0000000 #> Thomas Jefferson 0.0000000 0.0000000 #> Ulysses S. Grant 0.0000000 0.0000000 #> Warren G. Harding 0.3002699 0.0000000 #> William Henry Harrison 0.0000000 0.0000000 #> William Howard Taft 0.0000000 0.0000000 #> William J. Clinton 0.0000000 0.0000000 #> William McKinley 0.0000000 0.0000000 #> Woodrow Wilson 0.0000000 0.0000000 #> Zachary Taylor 0.0000000 0.0000000 #> #> $type #> - Source: Radial Basis Function Kernel Weights #> - Distance Metric: Euclidean #> - Scale parameter (phi): 0.01 [Data-Driven] #> - Sparsified: 4 Nearest Neighbors [Data-Driven] #> #>