-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b1807e
commit ce26e4f
Showing
347 changed files
with
35,864 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.4 KB
diff594/_main_files/figure-html/03-data-morley-hist-with-factor-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.1 KB
diff594/_main_files/figure-html/03-mother-tongue-vs-most-at-home-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.4 KB
diff594/_main_files/figure-html/03-mother-tongue-vs-most-at-home-labs-1.png
Oops, something went wrong.
Binary file added
BIN
+24 KB
diff594/_main_files/figure-html/03-mother-tongue-vs-most-at-home-scale-1.png
Oops, something went wrong.
Binary file added
BIN
+25.4 KB
diff594/_main_files/figure-html/03-mother-tongue-vs-most-at-home-scale-props-1.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+76 KB
diff594/_main_files/figure-html/03-scatter-color-by-category-legend-edit-1.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+38.6 KB
diff594/_main_files/figure-html/06-neighbors-irrelevant-features-1.png
Oops, something went wrong.
Binary file added
BIN
+35.9 KB
diff594/_main_files/figure-html/06-performance-irrelevant-features-1.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+22.9 KB
diff594/_main_files/figure-html/11-bootstrapping-six-bootstrap-samples-1.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+59.7 KB
diff594/_main_files/figure-html/scatter-color-by-category-palette-1.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
del.diff, del.diff * { | ||
background-color: lightcoral; | ||
} | ||
ins.diff, ins.diff * { | ||
background-color: lightgreen; | ||
} | ||
/*del.diff-selected, del.diff-selected * { | ||
background-color: firebrick; | ||
} | ||
ins.diff-selected, ins.diff-selected * { | ||
background-color: limegreen; | ||
}*/ | ||
|
||
del.diff:has(img) { | ||
background-color: transparent; | ||
} | ||
|
||
ins.diff:has(img) { | ||
background-color: transparent; | ||
} | ||
|
||
del.diff > img { | ||
border: 0.7rem solid lightcoral !important; | ||
} | ||
|
||
ins.diff > img { | ||
border: 0.7rem solid lightgreen !important; | ||
} | ||
|
||
/* | ||
del.diff-selected > img { | ||
border: 0.7rem solid firebrick !important; | ||
} | ||
ins.diff-selected > img { | ||
border: 0.7rem solid limegreen !important; | ||
}*/ | ||
|
||
.link-to-diff { | ||
color: darkgoldenrod !important; | ||
} | ||
|
||
.link-to-add { | ||
color: darkgreen !important; | ||
} | ||
|
||
.link-to-del { | ||
color: darkred !important; | ||
} | ||
|
||
/* The alert message box */ | ||
.alert { | ||
color: white; | ||
position: absolute; | ||
right: 4rem; | ||
top: 2rem; | ||
z-index: 3; | ||
border-bottom: none; | ||
box-shadow: 5px 5px 10px 2px rgb(0 0 0 / .4); | ||
|
||
} | ||
|
||
.alert.add-banner { | ||
background-color: darkgreen; | ||
} | ||
|
||
.alert.del-banner { | ||
background-color: darkred; | ||
} | ||
|
||
/* The close button */ | ||
.closebtn { | ||
margin-left: 15px; | ||
color: white; | ||
font-weight: bold; | ||
float: right; | ||
font-size: 22px; | ||
line-height: 15px; | ||
cursor: pointer; | ||
transition: 0.3s; | ||
} | ||
|
||
/* When moving the mouse over the close button */ | ||
.closebtn:hover { | ||
color: black; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
// dynamically load jQuery if not already present on the website | ||
if (typeof jQuery == 'undefined') { | ||
document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>'); | ||
} | ||
|
||
var diffidx = 0; | ||
|
||
window.addEventListener('load', () => { | ||
scrollToFirstDiff(diffidx); | ||
scrollToNextDiff(diffidx); | ||
}); | ||
|
||
// Borrowed from https://stackoverflow.com/a/15203639 | ||
function isElementVisible(el) { | ||
var rect = el.getBoundingClientRect(), | ||
vWidth = window.innerWidth || document.documentElement.clientWidth, | ||
vHeight = window.innerHeight || document.documentElement.clientHeight, | ||
efp = function (x, y) { return document.elementFromPoint(x, y) }; | ||
|
||
// Return false if it's not in the viewport | ||
if (rect.right < 0 || rect.bottom < 0 | ||
|| rect.left > vWidth || rect.top > vHeight) | ||
return false; | ||
|
||
// Return true if any of its four corners are visible | ||
return ( | ||
el.contains(efp(rect.left, rect.top)) | ||
|| el.contains(efp(rect.right, rect.top)) | ||
|| el.contains(efp(rect.right, rect.bottom)) | ||
|| el.contains(efp(rect.left, rect.bottom)) | ||
); | ||
} | ||
|
||
// Scroll to the center of first diff element on page | ||
function scrollToFirstDiff(diffidx) { | ||
var cur; | ||
cur = $(".diff:visible").eq(diffidx) | ||
if (typeof cur[0] != "undefined") { | ||
cur.addClass("diff-selected"); | ||
$(cur)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"}); | ||
} | ||
} | ||
|
||
// Scroll to the next diff element on pressing n, previous on pressing Shift + n | ||
function scrollToNextDiff(diffidx) { | ||
$(document).on("keypress", function(e) { | ||
var cur; | ||
var next; | ||
cur = $(".diff:visible").eq(diffidx) | ||
if (typeof cur[0] == "undefined") { | ||
return; | ||
} | ||
cur.removeClass("diff-selected"); | ||
if (e.which == 110){ | ||
|
||
var diffidx_tmp = diffidx + 1; | ||
if (diffidx_tmp > $(".diff:visible").length-1){ | ||
diffidx_tmp = $(".diff:visible").length-1; | ||
} | ||
var cur_tmp = $(".diff:visible").eq(diffidx_tmp); | ||
|
||
while (isElementVisible(cur_tmp[0])) { | ||
diffidx_tmp += 1; | ||
if (diffidx_tmp > $(".diff:visible").length-1){ | ||
diffidx_tmp = $(".diff:visible").length-1; | ||
break | ||
} | ||
cur_tmp = $(".diff:visible").eq(diffidx_tmp) | ||
} | ||
cur = cur_tmp | ||
diffidx = diffidx_tmp | ||
} | ||
if (e.which == 78) { | ||
|
||
var diffidx_tmp = diffidx - 1; | ||
if (diffidx_tmp < 0){ | ||
diffidx_tmp = 0; | ||
} | ||
var cur_tmp = $(".diff:visible").eq(diffidx_tmp); | ||
|
||
while (isElementVisible(cur_tmp[0])) { | ||
diffidx_tmp -= 1; | ||
if (diffidx_tmp < 0){ | ||
diffidx_tmp = 0; | ||
break | ||
} | ||
cur_tmp = $(".diff:visible").eq(diffidx_tmp) | ||
} | ||
cur = cur_tmp | ||
diffidx = diffidx_tmp | ||
} | ||
next = $(".diff:visible").eq(diffidx) | ||
next.addClass("diff-selected") | ||
$(next)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"}); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
del.diff, del.diff * { | ||
background-color: lightcoral; | ||
} | ||
ins.diff, ins.diff * { | ||
background-color: lightgreen; | ||
} | ||
/*del.diff-selected, del.diff-selected * { | ||
background-color: firebrick; | ||
} | ||
ins.diff-selected, ins.diff-selected * { | ||
background-color: limegreen; | ||
}*/ | ||
|
||
del.diff:has(img) { | ||
background-color: transparent; | ||
} | ||
|
||
ins.diff:has(img) { | ||
background-color: transparent; | ||
} | ||
|
||
del.diff > img { | ||
border: 0.7rem solid lightcoral !important; | ||
} | ||
|
||
ins.diff > img { | ||
border: 0.7rem solid lightgreen !important; | ||
} | ||
|
||
/* | ||
del.diff-selected > img { | ||
border: 0.7rem solid firebrick !important; | ||
} | ||
ins.diff-selected > img { | ||
border: 0.7rem solid limegreen !important; | ||
}*/ | ||
|
||
.link-to-diff { | ||
color: darkgoldenrod !important; | ||
} | ||
|
||
.link-to-add { | ||
color: darkgreen !important; | ||
} | ||
|
||
.link-to-del { | ||
color: darkred !important; | ||
} | ||
|
||
/* The alert message box */ | ||
.alert { | ||
color: white; | ||
position: absolute; | ||
right: 4rem; | ||
top: 2rem; | ||
z-index: 3; | ||
border-bottom: none; | ||
box-shadow: 5px 5px 10px 2px rgb(0 0 0 / .4); | ||
|
||
} | ||
|
||
.alert.add-banner { | ||
background-color: darkgreen; | ||
} | ||
|
||
.alert.del-banner { | ||
background-color: darkred; | ||
} | ||
|
||
/* The close button */ | ||
.closebtn { | ||
margin-left: 15px; | ||
color: white; | ||
font-weight: bold; | ||
float: right; | ||
font-size: 22px; | ||
line-height: 15px; | ||
cursor: pointer; | ||
transition: 0.3s; | ||
} | ||
|
||
/* When moving the mouse over the close button */ | ||
.closebtn:hover { | ||
color: black; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
// dynamically load jQuery if not already present on the website | ||
if (typeof jQuery == 'undefined') { | ||
document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>'); | ||
} | ||
|
||
var diffidx = 0; | ||
|
||
window.addEventListener('load', () => { | ||
scrollToFirstDiff(diffidx); | ||
scrollToNextDiff(diffidx); | ||
}); | ||
|
||
// Borrowed from https://stackoverflow.com/a/15203639 | ||
function isElementVisible(el) { | ||
var rect = el.getBoundingClientRect(), | ||
vWidth = window.innerWidth || document.documentElement.clientWidth, | ||
vHeight = window.innerHeight || document.documentElement.clientHeight, | ||
efp = function (x, y) { return document.elementFromPoint(x, y) }; | ||
|
||
// Return false if it's not in the viewport | ||
if (rect.right < 0 || rect.bottom < 0 | ||
|| rect.left > vWidth || rect.top > vHeight) | ||
return false; | ||
|
||
// Return true if any of its four corners are visible | ||
return ( | ||
el.contains(efp(rect.left, rect.top)) | ||
|| el.contains(efp(rect.right, rect.top)) | ||
|| el.contains(efp(rect.right, rect.bottom)) | ||
|| el.contains(efp(rect.left, rect.bottom)) | ||
); | ||
} | ||
|
||
// Scroll to the center of first diff element on page | ||
function scrollToFirstDiff(diffidx) { | ||
var cur; | ||
cur = $(".diff:visible").eq(diffidx) | ||
if (typeof cur[0] != "undefined") { | ||
cur.addClass("diff-selected"); | ||
$(cur)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"}); | ||
} | ||
} | ||
|
||
// Scroll to the next diff element on pressing n, previous on pressing Shift + n | ||
function scrollToNextDiff(diffidx) { | ||
$(document).on("keypress", function(e) { | ||
var cur; | ||
var next; | ||
cur = $(".diff:visible").eq(diffidx) | ||
if (typeof cur[0] == "undefined") { | ||
return; | ||
} | ||
cur.removeClass("diff-selected"); | ||
if (e.which == 110){ | ||
|
||
var diffidx_tmp = diffidx + 1; | ||
if (diffidx_tmp > $(".diff:visible").length-1){ | ||
diffidx_tmp = $(".diff:visible").length-1; | ||
} | ||
var cur_tmp = $(".diff:visible").eq(diffidx_tmp); | ||
|
||
while (isElementVisible(cur_tmp[0])) { | ||
diffidx_tmp += 1; | ||
if (diffidx_tmp > $(".diff:visible").length-1){ | ||
diffidx_tmp = $(".diff:visible").length-1; | ||
break | ||
} | ||
cur_tmp = $(".diff:visible").eq(diffidx_tmp) | ||
} | ||
cur = cur_tmp | ||
diffidx = diffidx_tmp | ||
} | ||
if (e.which == 78) { | ||
|
||
var diffidx_tmp = diffidx - 1; | ||
if (diffidx_tmp < 0){ | ||
diffidx_tmp = 0; | ||
} | ||
var cur_tmp = $(".diff:visible").eq(diffidx_tmp); | ||
|
||
while (isElementVisible(cur_tmp[0])) { | ||
diffidx_tmp -= 1; | ||
if (diffidx_tmp < 0){ | ||
diffidx_tmp = 0; | ||
break | ||
} | ||
cur_tmp = $(".diff:visible").eq(diffidx_tmp) | ||
} | ||
cur = cur_tmp | ||
diffidx = diffidx_tmp | ||
} | ||
next = $(".diff:visible").eq(diffidx) | ||
next.addClass("diff-selected") | ||
$(next)[0].scrollIntoView({ behavior: "smooth", block: "center", inline: "nearest"}); | ||
}); | ||
} |
Oops, something went wrong.