Problem 4
Convince yourself that the data is still good after shuffling!

print('Printing Train, validation and test labels after shuffling')
def print_first_10_labels(labels):
    printing_labels = []
    for i in range(10):
        printing_labels.append(labels[[i]])
    print(printing_labels)
print_first_10_labels(train_labels)
print_first_10_labels(test_labels)
print_first_10_labels(valid_labels)


Finally, let's save the data for later reuse:

pickle_file = os.path.join(data_root, 'notMNIST.pickle')

try:
  f = open(pickle_file, 'wb')
  save = {
    'train_dataset': train_dataset,
    'train_labels': train_labels,
    'valid_dataset': valid_dataset,
    'valid_labels': valid_labels,
    'test_dataset': test_dataset,
    'test_labels': test_labels,
    }
  pickle.dump(save, f, pickle.HIGHEST_PROTOCOL)
  f.close()
except Exception as e:
  print('Unable to save data to', pickle_file, ':', e)
  raise

statinfo = os.stat(pickle_file)
print('Compressed pickle size:', statinfo.st_size)


[](){expression}<LSEP>[assign](){<-}<LSEP>[](symbol){utils.hwe}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){x}<LSEP>[](symbol){prob}<LSEP>[](symbol){verbose}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){funname}<LEND>[call](){}<LSEP>[](symbol){[[}<LEND>[argument 0; call](){}<LSEP>[](symbol){match.call}<LEND>[argument 1; litteral](real){1.000000}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){build}<LSEP>[litteral](str){Jacob}<LEND>[statement 2; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LSEP>[](symbol){verbose}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.null}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){x}<LSEP>[](symbol){other}<LEND>[](symbol){verbose}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){verbose}<LEND>[call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){x}<LSEP>[](symbol){other}<LEND>[](symbol){verbose}<LEND>[false branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){verbose}<LSEP>[litteral](real){2.000000}<LEND>[statement 3; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){|}<LEND>[argument 0; call](){}<LSEP>[](symbol){<}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){>}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){5.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LEND>[argument 0; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){  Warning: Parameter 'verbose'...}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){verbose}<LSEP>[litteral](real){2.000000}<LEND>[statement 4; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){1.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){==}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){5.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){Starting}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){[ Build =}<LSEP>[](symbol){build}<LSEP>[argument 4; litteral](str){]\n}<LEND>[false branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){Starting}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){\n}<LEND>[statement 5; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!=}<LEND>[argument 0; call](){}<LSEP>[](symbol){class}<LSEP>[](symbol){x}<LEND>[argument 1; litteral](str){genlight}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){stop}<LSEP>[argument 0; litteral](str){Fatal Error: genlight object r...}<LEND>[statement 6; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){all}<LEND>[argument 0; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){x}<LSEP>[](symbol){ploidy}<LEND>[argument 1; litteral](real){1.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){stop}<LSEP>[argument 0; litteral](str){  Detected Presence/Absence (S...}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){ applies only to SNP data!\n}<LEND>[false branch; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){all}<LEND>[argument 0; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){x}<LSEP>[](symbol){ploidy}<LEND>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Processing a SNP dataset\n}<LEND>[false branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){stop}<LSEP>[argument 0; litteral](str){Fatal Error: Ploidy must be un...}<LEND>[statement 7; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){x}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics.flags}<LEND>[](symbol){monomorphs}<LEND>[argument 1; litteral](logical){FALSE}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Warning: Dataset contains mo...}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){ calculations\n}<LEND>[statement 8; assign](){<-}<LSEP>[](symbol){m}<LEND>[call](){}<LSEP>[](symbol){as.matrix}<LSEP>[](symbol){x}<LEND>[statement 9; assign](){<-}<LSEP>[](symbol){hom.ref}<LEND>[call](){}<LSEP>[](symbol){array}<LSEP>[argument 0; litteral](logical){NA}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){m}<LEND>[statement 10; assign](){<-}<LSEP>[](symbol){hom.snp}<LSEP>[](symbol){hom.ref}<LEND>[statement 11; assign](){<-}<LSEP>[](symbol){het}<LSEP>[](symbol){hom.ref}<LEND>[statement 12; assign](){<-}<LSEP>[](symbol){total}<LSEP>[](symbol){hom.ref}<LEND>[statement 13; assign](){<-}<LSEP>[](symbol){p.values}<LSEP>[](symbol){hom.ref}<LEND>[statement 14; assign](){<-}<LSEP>[](symbol){boncrit}<LSEP>[](symbol){hom.ref}<LEND>[statement 15; assign](){<-}<LSEP>[](symbol){sig}<LSEP>[](symbol){hom.ref}<LEND>[statement 16; assign](){<-}<LSEP>[](symbol){sig2}<LSEP>[](symbol){hom.ref}<LEND>[statement 17; assign](){<-}<LSEP>[](symbol){bonsig}<LSEP>[](symbol){hom.ref}<LEND>[statement 18; assign](){<-}<LSEP>[](symbol){bonsig2}<LSEP>[](symbol){hom.ref}<LEND>[statement 19; assign](){<-}<LSEP>[](symbol){columns}<LEND>[call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){m}<LEND>[statement 20; control flow](){for}<LSEP>[](symbol){i}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){m}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){hom.ref}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){length}<LEND>[argument 0; call](){}<LSEP>[](symbol){which}<LEND>[argument 0; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){m}<LSEP>[](symbol){}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.000000}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){hom.snp}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){length}<LEND>[argument 0; call](){}<LSEP>[](symbol){which}<LEND>[argument 0; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){m}<LSEP>[](symbol){}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){2.000000}<LEND>[statement 2; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){het}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){length}<LEND>[argument 0; call](){}<LSEP>[](symbol){which}<LEND>[argument 0; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){m}<LSEP>[](symbol){}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){1.000000}<LEND>[statement 3; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){utils.prob.hwe}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){het}<LSEP>[](symbol){i}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){hom.ref}<LSEP>[](symbol){i}<LEND>[argument 2; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){hom.snp}<LSEP>[](symbol){i}<LEND>[statement 4; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){<}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){sig2}<LSEP>[](symbol){i}<LEND>[litteral](logical){NA}<LEND>[false branch; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.050000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){sig2}<LSEP>[](symbol){i}<LEND>[litteral](str){ns}<LEND>[false branch; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){&&}<LEND>[argument 0; call](){}<LSEP>[](symbol){<=}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.050000}<LEND>[argument 1; call](){}<LSEP>[](symbol){>}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.010000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){sig2}<LSEP>[](symbol){i}<LEND>[litteral](str){*}<LEND>[false branch; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){&&}<LEND>[argument 0; call](){}<LSEP>[](symbol){<=}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.010000}<LEND>[argument 1; call](){}<LSEP>[](symbol){>}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.001000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){sig2}<LSEP>[](symbol){i}<LEND>[litteral](str){**}<LEND>[false branch; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){<=}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.001000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){sig2}<LSEP>[](symbol){i}<LEND>[litteral](str){***}<LEND>[statement 5; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){total}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){+}<LEND>[argument 0; call](){}<LSEP>[](symbol){+}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){hom.ref}<LSEP>[](symbol){i}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){het}<LSEP>[](symbol){i}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){hom.snp}<LSEP>[](symbol){i}<LEND>[statement 6; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){boncrit}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){/}<LSEP>[](symbol){prob}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){total}<LSEP>[](symbol){i}<LEND>[statement 7; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){bonsig}<LSEP>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){(}<LEND>[argument 0; call](){}<LSEP>[](symbol){&&}<LEND>[argument 0; call](){}<LSEP>[](symbol){(}<LEND>[argument 0; call](){}<LSEP>[](symbol){>=}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](real){0.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){(}<LEND>[argument 0; call](){}<LSEP>[](symbol){<}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){p.values}<LSEP>[](symbol){i}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){boncrit}<LSEP>[](symbol){i}<LEND>[statement 8; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){bonsig}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](logical){FALSE}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){bonsig2}<LSEP>[](symbol){i}<LEND>[litteral](str){ns}<LEND>[false branch; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){==}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){bonsig}<LSEP>[](symbol){i}<LEND>[argument 1; litteral](logical){TRUE}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){bonsig2}<LSEP>[](symbol){i}<LEND>[litteral](str){*}<LEND>[statement 21; assign](){<-}<LSEP>[](symbol){result}<LEND>[call](){}<LSEP>[](symbol){data.frame}<LEND>[argument 0; call](){}<LSEP>[](symbol){cbind}<LSEP>[](symbol){hom.ref}<LSEP>[](symbol){het}<LSEP>[](symbol){hom.snp}<LSEP>[](symbol){total}<LSEP>[](symbol){p.values}<LSEP>[](symbol){sig2}<LSEP>[](symbol){bonsig2}<LEND>[statement 22; assign](){<-}<LSEP>[](symbol){result}<LEND>[call](){}<LSEP>[](symbol){cbind}<LSEP>[](symbol){columns}<LSEP>[](symbol){result}<LEND>[statement 23; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){names}<LSEP>[](symbol){result}<LEND>[call](){}<LSEP>[](symbol){c}<LSEP>[argument 0; litteral](str){Locus}<LSEP>[argument 1; litteral](str){Hom_1}<LSEP>[argument 2; litteral](str){Het}<LSEP>[argument 3; litteral](str){Hom_2}<LSEP>[argument 4; litteral](str){N}<LSEP>[argument 5; litteral](str){Prob}<LSEP>[argument 6; litteral](str){Sig}<LSEP>[argument 7; litteral](str){BonSig}<LEND>[statement 24; assign](){<-}<LSEP>[](symbol){pc}<LEND>[call](){}<LSEP>[](symbol){/}<LEND>[argument 0; call](){}<LSEP>[](symbol){*}<LEND>[argument 0; call](){}<LSEP>[](symbol){sum}<LSEP>[](symbol){sig}<LSEP>[argument 1; litteral](logical){TRUE}<LEND>[argument 1; litteral](real){100.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){length}<LSEP>[](symbol){sig}<LEND>[statement 25; assign](){<-}<LSEP>[](symbol){pc}<LEND>[call](){}<LSEP>[](symbol){round}<LSEP>[](symbol){pc}<LSEP>[argument 1; litteral](real){1.000000}<LEND>[statement 26; assign](){<-}<LSEP>[](symbol){pc2}<LEND>[call](){}<LSEP>[](symbol){/}<LEND>[argument 0; call](){}<LSEP>[](symbol){*}<LEND>[argument 0; call](){}<LSEP>[](symbol){sum}<LSEP>[](symbol){bonsig}<LSEP>[argument 1; litteral](logical){TRUE}<LEND>[argument 1; litteral](real){100.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){length}<LSEP>[](symbol){bonsig}<LEND>[statement 27; assign](){<-}<LSEP>[](symbol){pc2}<LEND>[call](){}<LSEP>[](symbol){round}<LSEP>[](symbol){pc2}<LSEP>[argument 1; litteral](real){1.000000}<LEND>[statement 28; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){Completed:}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){\n}<LEND>[statement 29; call](){}<LSEP>[](symbol){return}<LSEP>[](symbol){result}


[](){expression}<LSEP>[assign](){<-}<LSEP>[](symbol){cramer.data.frame}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){x}<LSEP>[](symbol){check}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.data.frame}<LSEP>[](symbol){x}<LEND>[true branch; call](){}<LSEP>[](symbol){stop}<LEND>[argument 0; call](){}<LSEP>[](symbol){deparse}<LEND>[argument 0; call](){}<LSEP>[](symbol){substitute}<LSEP>[](symbol){x}<LEND>[argument 1; litteral](str){ is not a data.frame}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){x}<LEND>[call](){}<LSEP>[](symbol){as.data.frame}<LSEP>[](symbol){x}<LSEP>[argument 1; litteral](logical){TRUE}<LEND>[statement 2; control flow](){if}<LSEP>[](symbol){check}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){warning}<LSEP>[argument 0; litteral](str){x[, }<LSEP>[](symbol){k1}<LSEP>[argument 2; litteral](str){] is converted to a factor}<LEND>[statement 1; assign](){=}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){as.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){assoc}<LEND>[call](){}<LSEP>[](symbol){matrix}<LEND>[argument 0; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 2; call](){}<LSEP>[](symbol){list}<LEND>[argument 0; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[statement 4; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x1}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){CramerV}<LSEP>[](symbol){x1}<LSEP>[](symbol){x1}<LSEP>[argument 2; litteral](logical){NA}<LEND>[statement 2; control flow](){for}<LSEP>[](symbol){k2}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[](symbol){k1}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x2}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k2}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k2}<LEND>[assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k2}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){CramerV}<LSEP>[](symbol){x1}<LSEP>[](symbol){x2}<LSEP>[argument 2; litteral](logical){NA}<LEND>[statement 5; call](){}<LSEP>[](symbol){return}<LSEP>[](symbol){assoc}<LEND>[assign](){<-}<LSEP>[](symbol){tschuprow.data.frame}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){x}<LSEP>[](symbol){check}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.data.frame}<LSEP>[](symbol){x}<LEND>[true branch; call](){}<LSEP>[](symbol){stop}<LEND>[argument 0; call](){}<LSEP>[](symbol){deparse}<LEND>[argument 0; call](){}<LSEP>[](symbol){substitute}<LSEP>[](symbol){x}<LEND>[argument 1; litteral](str){ is not a data.frame}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){x}<LEND>[call](){}<LSEP>[](symbol){as.data.frame}<LSEP>[](symbol){x}<LSEP>[argument 1; litteral](logical){TRUE}<LEND>[statement 2; control flow](){if}<LSEP>[](symbol){check}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){warning}<LSEP>[argument 0; litteral](str){x[, }<LSEP>[](symbol){k1}<LSEP>[argument 2; litteral](str){] is converted to a factor}<LEND>[statement 1; assign](){=}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){as.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){assoc}<LEND>[call](){}<LSEP>[](symbol){matrix}<LEND>[argument 0; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 2; call](){}<LSEP>[](symbol){list}<LEND>[argument 0; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[statement 4; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x1}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){TschuprowT}<LSEP>[](symbol){x1}<LSEP>[](symbol){x1}<LEND>[statement 2; control flow](){for}<LSEP>[](symbol){k2}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[](symbol){k1}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x2}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k2}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k2}<LEND>[assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k2}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){TschuprowT}<LSEP>[](symbol){x1}<LSEP>[](symbol){x2}<LEND>[statement 5; call](){}<LSEP>[](symbol){return}<LSEP>[](symbol){assoc}<LEND>[assign](){<-}<LSEP>[](symbol){pearson.data.frame}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){x}<LSEP>[](symbol){check}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.data.frame}<LSEP>[](symbol){x}<LEND>[true branch; call](){}<LSEP>[](symbol){stop}<LEND>[argument 0; call](){}<LSEP>[](symbol){deparse}<LEND>[argument 0; call](){}<LSEP>[](symbol){substitute}<LSEP>[](symbol){x}<LEND>[argument 1; litteral](str){ is not a data.frame}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){x}<LEND>[call](){}<LSEP>[](symbol){as.data.frame}<LSEP>[](symbol){x}<LSEP>[argument 1; litteral](logical){TRUE}<LEND>[statement 2; control flow](){if}<LSEP>[](symbol){check}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){warning}<LSEP>[argument 0; litteral](str){x[, }<LSEP>[](symbol){k1}<LSEP>[argument 2; litteral](str){] is converted to a factor}<LEND>[statement 1; assign](){=}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){as.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){assoc}<LEND>[call](){}<LSEP>[](symbol){matrix}<LEND>[argument 0; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 2; call](){}<LSEP>[](symbol){list}<LEND>[argument 0; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[statement 4; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x1}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){ContCoef}<LSEP>[](symbol){x1}<LSEP>[](symbol){x1}<LSEP>[argument 2; litteral](logical){FALSE}<LEND>[statement 2; control flow](){for}<LSEP>[](symbol){k2}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[](symbol){k1}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x2}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k2}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k2}<LEND>[assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k2}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){ContCoef}<LSEP>[](symbol){x1}<LSEP>[](symbol){x2}<LSEP>[argument 2; litteral](logical){FALSE}<LEND>[statement 5; call](){}<LSEP>[](symbol){return}<LSEP>[](symbol){assoc}<LEND>[assign](){<-}<LSEP>[](symbol){phi.data.frame}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){x}<LSEP>[](symbol){check}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.data.frame}<LSEP>[](symbol){x}<LEND>[true branch; call](){}<LSEP>[](symbol){stop}<LEND>[argument 0; call](){}<LSEP>[](symbol){deparse}<LEND>[argument 0; call](){}<LSEP>[](symbol){substitute}<LSEP>[](symbol){x}<LEND>[argument 1; litteral](str){ is not a data.frame}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){x}<LEND>[call](){}<LSEP>[](symbol){as.data.frame}<LSEP>[](symbol){x}<LSEP>[argument 1; litteral](logical){TRUE}<LEND>[statement 2; control flow](){if}<LSEP>[](symbol){check}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){warning}<LSEP>[argument 0; litteral](str){x[, }<LSEP>[](symbol){k1}<LSEP>[argument 2; litteral](str){] is converted to a factor}<LEND>[statement 1; assign](){=}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){as.factor}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){assoc}<LEND>[call](){}<LSEP>[](symbol){matrix}<LEND>[argument 0; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[argument 2; call](){}<LSEP>[](symbol){list}<LEND>[argument 0; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[argument 1; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){x}<LEND>[statement 4; control flow](){for}<LSEP>[](symbol){k1}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x1}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k1}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){Phi}<LSEP>[](symbol){x1}<LSEP>[](symbol){x1}<LEND>[statement 2; control flow](){for}<LSEP>[](symbol){k2}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[](symbol){k1}<LEND>[argument 1; call](){}<LSEP>[](symbol){ncol}<LSEP>[](symbol){x}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){x2}<LEND>[call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){x}<LSEP>[](symbol){}<LSEP>[](symbol){k2}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k1}<LSEP>[](symbol){k2}<LEND>[assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LSEP>[](symbol){assoc}<LSEP>[](symbol){k2}<LSEP>[](symbol){k1}<LEND>[call](){}<LSEP>[](symbol){Phi}<LSEP>[](symbol){x1}<LSEP>[](symbol){x2}<LEND>[statement 5; call](){}<LSEP>[](symbol){return}<LSEP>[](symbol){assoc}


[](){expression}<LSEP>[assign](){<-}<LSEP>[](symbol){warpArea}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){d}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LEND>[argument 0; call](){}<LSEP>[](symbol){is.dtw}<LSEP>[](symbol){d}<LEND>[true branch; call](){}<LSEP>[](symbol){stop}<LSEP>[argument 0; litteral](str){dtw object required}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){ii}<LEND>[call](){}<LSEP>[call name; call](){}<LSEP>[](symbol){::}<LSEP>[](symbol){stats}<LSEP>[](symbol){approx}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){index1}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){index2}<LEND>[argument 2; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){N}<LEND>[statement 2; assign](){<-}<LSEP>[](symbol){dg}<LEND>[call](){}<LSEP>[](symbol){seq}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){M}<LEND>[argument 2; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){N}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){ad}<LEND>[call](){}<LSEP>[](symbol){abs}<LEND>[argument 0; call](){}<LSEP>[](symbol){-}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){ii}<LSEP>[](symbol){y}<LEND>[](symbol){dg}<LEND>[statement 4; call](){}<LSEP>[](symbol){sum}<LSEP>[](symbol){ad}<LEND>[assign](){<-}<LSEP>[](symbol){.localWarpingStretch}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){d}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){id1}<LEND>[call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){index1}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){id2}<LEND>[call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){index2}<LEND>[statement 2; assign](){<-}<LSEP>[](symbol){id2}<LEND>[call](){}<LSEP>[](symbol){/}<LEND>[argument 0; call](){}<LSEP>[](symbol){*}<LSEP>[](symbol){id2}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){N}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){M}<LEND>[statement 3; call](){}<LSEP>[](symbol){-}<LSEP>[](symbol){id1}<LSEP>[](symbol){id2}<LEND>[assign](){<-}<LSEP>[](symbol){.localWarpingCost}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){d}<LEND>[body; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){localCostMatrix}<LEND>[true branch; call](){}<LSEP>[](symbol){stop}<LSEP>[argument 0; litteral](str){A dtw object with keep.interna...}<LEND>[statement 1; call](){}<LSEP>[](symbol){diag}<LEND>[argument 0; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){localCostMatrix}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){index1}<LEND>[argument 2; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){d}<LSEP>[](symbol){index2}


[](){expression}<LSEP>[assign](){<-}<LSEP>[](symbol){gl.read.dart}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){filename}<LSEP>[](symbol){ind.metafile}<LSEP>[](symbol){recalc}<LSEP>[](symbol){mono.rm}<LSEP>[](symbol){nas}<LSEP>[](symbol){topskip}<LSEP>[](symbol){lastmetric}<LSEP>[](symbol){covfilename}<LSEP>[](symbol){probar}<LSEP>[](symbol){verbose}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){funname}<LEND>[call](){}<LSEP>[](symbol){as.character}<LEND>[argument 0; call](){}<LSEP>[](symbol){[[}<LEND>[argument 0; call](){}<LSEP>[](symbol){match.call}<LEND>[argument 1; litteral](real){1.000000}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){build}<LSEP>[litteral](str){Jacob}<LEND>[statement 2; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LSEP>[](symbol){verbose}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){verbose}<LSEP>[litteral](real){2.000000}<LEND>[statement 3; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){|}<LEND>[argument 0; call](){}<LSEP>[](symbol){<}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){>}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){5.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LEND>[argument 0; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){  Warning: Parameter 'verbose'...}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){verbose}<LSEP>[litteral](real){2.000000}<LEND>[statement 4; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){==}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){=}<LSEP>[](symbol){probar}<LSEP>[litteral](logical){FALSE}<LEND>[statement 5; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){1.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){==}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){5.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LEND>[argument 0; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){Starting}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){[ Build =}<LSEP>[](symbol){build}<LSEP>[argument 4; litteral](str){]\n}<LEND>[false branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LEND>[argument 0; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){Starting}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){\n}<LEND>[statement 6; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LSEP>[](symbol){ind.metafile}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){ind.metafile}<LSEP>[](symbol){covfilename}<LEND>[statement 7; assign](){<-}<LSEP>[](symbol){dout}<LEND>[call](){}<LSEP>[](symbol){utils.read.dart}<LSEP>[](symbol){filename}<LSEP>[](symbol){nas}<LSEP>[](symbol){topskip}<LSEP>[](symbol){lastmetric}<LSEP>[](symbol){verbose}<LEND>[statement 8; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){utils.dart2genlight}<LSEP>[](symbol){dout}<LSEP>[](symbol){ind.metafile}<LSEP>[](symbol){probar}<LSEP>[](symbol){verbose}<LEND>[statement 9; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){ Data read in. Please check ca...}<LEND>[statement 10; assign](){<-}<LSEP>[](symbol){recalc.flags}<LEND>[call](){}<LSEP>[](symbol){c}<LSEP>[argument 0; litteral](str){AvgPIC}<LSEP>[argument 1; litteral](str){OneRatioRef}<LSEP>[argument 2; litteral](str){OneRatioSnp}<LSEP>[argument 3; litteral](str){PICRef}<LSEP>[argument 4; litteral](str){PICSnp}<LSEP>[argument 5; litteral](str){CallRate}<LSEP>[argument 6; litteral](str){maf}<LSEP>[argument 7; litteral](str){FreqHets}<LSEP>[argument 8; litteral](str){FreqHomRef}<LSEP>[argument 9; litteral](str){FreqHomSnp}<LSEP>[argument 10; litteral](str){monomorphs}<LSEP>[argument 11; litteral](str){OneRatio}<LSEP>[argument 12; litteral](str){PIC}<LEND>[statement 11; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics.flags}<LEND>[call](){}<LSEP>[](symbol){data.frame}<LEND>[argument 0; call](){}<LSEP>[](symbol){matrix}<LSEP>[argument 0; litteral](logical){TRUE}<LSEP>[argument 1; litteral](real){1.000000}<LEND>[argument 2; call](){}<LSEP>[](symbol){length}<LSEP>[](symbol){recalc.flags}<LEND>[statement 12; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){names}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics.flags}<LEND>[](symbol){recalc.flags}<LEND>[statement 13; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){verbose}<LEND>[litteral](real){2.000000}<LEND>[statement 14; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){rdepth}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Read depth calculated and ad...}<LEND>[statement 1; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){rdepth}<LEND>[call](){}<LSEP>[](symbol){array}<LSEP>[argument 0; litteral](logical){NA}<LEND>[argument 1; call](){}<LSEP>[](symbol){nLoc}<LSEP>[](symbol){glout}<LEND>[statement 2; control flow](){for}<LSEP>[](symbol){i}<LEND>[range; call](){}<LSEP>[](symbol){:}<LSEP>[argument 0; litteral](real){1.000000}<LEND>[argument 1; call](){}<LSEP>[](symbol){nLoc}<LSEP>[](symbol){glout}<LEND>[body; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){called.ind}<LEND>[call](){}<LSEP>[](symbol){round}<LEND>[argument 0; call](){}<LSEP>[](symbol){*}<LEND>[argument 0; call](){}<LSEP>[](symbol){nInd}<LSEP>[](symbol){glout}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){CallRate}<LEND>[](symbol){i}<LEND>[argument 1; litteral](real){0.000000}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){ref.count}<LEND>[call](){}<LSEP>[](symbol){*}<LSEP>[](symbol){called.ind}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){OneRatioRef}<LEND>[](symbol){i}<LEND>[statement 2; assign](){<-}<LSEP>[](symbol){alt.count}<LEND>[call](){}<LSEP>[](symbol){*}<LSEP>[](symbol){called.ind}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){OneRatioSnp}<LEND>[](symbol){i}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){sum.count.ref}<LEND>[call](){}<LSEP>[](symbol){*}<LSEP>[](symbol){ref.count}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){AvgCountRef}<LEND>[](symbol){i}<LEND>[statement 4; assign](){<-}<LSEP>[](symbol){sum.count.alt}<LEND>[call](){}<LSEP>[](symbol){*}<LSEP>[](symbol){alt.count}<LEND>[argument 1; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){AvgCountSnp}<LEND>[](symbol){i}<LEND>[statement 5; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){rdepth}<LEND>[](symbol){i}<LEND>[call](){}<LSEP>[](symbol){round}<LEND>[argument 0; call](){}<LSEP>[](symbol){/}<LEND>[argument 0; call](){}<LSEP>[](symbol){(}<LEND>[argument 0; call](){}<LSEP>[](symbol){+}<LSEP>[](symbol){sum.count.alt}<LSEP>[](symbol){sum.count.ref}<LEND>[](symbol){called.ind}<LEND>[argument 1; litteral](real){1.000000}<LEND>[statement 15; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics}<LEND>[](symbol){maf}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){utils.recalc.maf}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 1; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Minor Allele Frequency (maf)...}<LEND>[statement 16; control flow](){if}<LSEP>[](symbol){recalc}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Recalculating locus metrics ...}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){utils.recalc.avgpic}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 2; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){utils.recalc.callrate}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){utils.recalc.freqhets}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 4; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){utils.recalc.freqhomref}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 5; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){utils.recalc.freqhomsnp}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 17; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics.flags}<LEND>[](symbol){monomorphs}<LEND>[litteral](logical){FALSE}<LEND>[statement 18; control flow](){if}<LSEP>[](symbol){mono.rm}<LEND>[true branch; block](){}<LSEP>[statement 0; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){2.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Deleting monomorphic loci (o...}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){glout}<LEND>[call](){}<LSEP>[](symbol){gl.filter.monomorphs}<LSEP>[](symbol){glout}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[statement 19; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics.flags}<LEND>[](symbol){OneRatio}<LEND>[litteral](logical){FALSE}<LEND>[statement 20; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){loc.metrics.flags}<LEND>[](symbol){PIC}<LEND>[litteral](logical){FALSE}<LEND>[statement 21; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>=}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){3.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){\nSummary of the SNP dataset\n}<LEND>[statement 1; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  No. of loci:}<LEND>[argument 1; call](){}<LSEP>[](symbol){nLoc}<LSEP>[](symbol){glout}<LEND>[argument 2; litteral](str){\n}<LEND>[statement 2; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  No. of individuals:}<LEND>[argument 1; call](){}<LSEP>[](symbol){nInd}<LSEP>[](symbol){glout}<LEND>[argument 2; litteral](str){\n}<LEND>[statement 3; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  No. of populations:}<LEND>[argument 1; call](){}<LSEP>[](symbol){nPop}<LSEP>[](symbol){glout}<LEND>[argument 2; litteral](str){\n}<LEND>[statement 4; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LSEP>[](symbol){recalc}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Locus metrics provided by DA...}<LEND>[statement 5; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){!}<LSEP>[](symbol){mono.rm}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){  Monomoporhic loci not delete...}<LEND>[statement 22; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){is.null}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){history}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[variable; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){@}<LSEP>[](symbol){glout}<LSEP>[](symbol){other}<LEND>[](symbol){history}<LEND>[call](){}<LSEP>[](symbol){list}<LEND>[argument 0; call](){}<LSEP>[](symbol){match.call}<LEND>[statement 23; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>}<LSEP>[](symbol){verbose}<LSEP>[argument 1; litteral](real){0.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LEND>[argument 0; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){Completed:}<LSEP>[](symbol){funname}<LSEP>[argument 2; litteral](str){\n}<LEND>[statement 24; call](){}<LSEP>[](symbol){return}<LSEP>[](symbol){glout}


[](){expression}<LSEP>[assign](){<-}<LSEP>[](symbol){print.fpcat}<LEND>[](){function}<LSEP>[](pairlist){}<LSEP>[](symbol){x}<LSEP>[](symbol){mean.print}<LSEP>[](symbol){var.print}<LSEP>[](symbol){cor.print}<LSEP>[](symbol){skewness.print}<LSEP>[](symbol){kurtosis.print}<LSEP>[](symbol){digits}<LSEP>[](symbol){...}<LEND>[body; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){group variable (observation ti...}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){group}<LEND>[argument 2; litteral](str){\n}<LEND>[statement 1; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){variables: }<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){variables}<LEND>[argument 2; litteral](str){\n\n}<LEND>[statement 2; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){observation times:\n}<LEND>[statement 3; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){times}<LEND>[statement 4; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 5; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){inertia\n}<LEND>[statement 6; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){inertia}<LEND>[argument 1; litteral](real){3.000000}<LSEP>[](symbol){...}<LEND>[statement 7; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 8; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){contributions\n}<LEND>[statement 9; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){contributions}<LEND>[](symbol){...}<LEND>[statement 10; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 11; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){qualities\n}<LEND>[statement 12; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){qualities}<LEND>[](symbol){...}<LEND>[statement 13; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 14; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){scores\n}<LEND>[statement 15; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){scores}<LEND>[](symbol){...}<LEND>[statement 16; control flow](){if}<LSEP>[](symbol){mean.print}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){n.group}<LEND>[call](){}<LSEP>[](symbol){length}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){means}<LEND>[statement 1; assign](){<-}<LSEP>[](symbol){n.var}<LEND>[call](){}<LSEP>[](symbol){length}<LEND>[argument 0; call](){}<LSEP>[](symbol){[[}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){means}<LEND>[argument 1; litteral](real){1.000000}<LEND>[statement 2; assign](){<-}<LSEP>[](symbol){Means}<LEND>[call](){}<LSEP>[](symbol){matrix}<LEND>[argument 0; call](){}<LSEP>[](symbol){unlist}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){means}<LEND>[](symbol){n.group}<LSEP>[](symbol){n.var}<LSEP>[argument 3; litteral](logical){TRUE}<LEND>[argument 4; call](){}<LSEP>[](symbol){list}<LSEP>[argument 0; litteral](NULL){NULL}<LEND>[argument 1; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){mean}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){variables}<LEND>[argument 2; litteral](str){.}<LEND>[statement 3; assign](){<-}<LSEP>[](symbol){Means}<LEND>[call](){}<LSEP>[](symbol){data.frame}<LEND>[argument 0; call](){}<LSEP>[](symbol){names}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){means}<LEND>[](symbol){Means}<LSEP>[argument 2; litteral](logical){TRUE}<LEND>[statement 4; assign](){=}<LSEP>[variable; call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){colnames}<LSEP>[](symbol){Means}<LEND>[argument 1; litteral](real){1.000000}<LEND>[call](){}<LSEP>[](symbol){[}<LEND>[argument 0; call](){}<LSEP>[](symbol){colnames}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){contributions}<LEND>[argument 1; litteral](real){1.000000}<LEND>[statement 5; control flow](){if}<LSEP>[condition; call](){}<LSEP>[](symbol){>}<LSEP>[](symbol){n.var}<LSEP>[argument 1; litteral](real){1.000000}<LEND>[true branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){st.dev}<LEND>[call](){}<LSEP>[](symbol){unlist}<LEND>[argument 0; call](){}<LSEP>[](symbol){lapply}<LEND>[argument 0; call](){}<LSEP>[](symbol){lapply}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){variances}<LEND>[](symbol){diag}<LEND>[](symbol){sqrt}<LEND>[false branch; block](){}<LSEP>[statement 0; assign](){<-}<LSEP>[](symbol){st.dev}<LEND>[call](){}<LSEP>[](symbol){unlist}<LEND>[argument 0; call](){}<LSEP>[](symbol){lapply}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){variances}<LEND>[](symbol){sqrt}<LEND>[statement 6; assign](){<-}<LSEP>[](symbol){Means}<LEND>[call](){}<LSEP>[](symbol){data.frame}<LSEP>[](symbol){Means}<LEND>[argument 1; call](){}<LSEP>[](symbol){matrix}<LSEP>[](symbol){st.dev}<LSEP>[](symbol){n.group}<LSEP>[](symbol){n.var}<LSEP>[argument 3; litteral](logical){TRUE}<LEND>[argument 4; call](){}<LSEP>[](symbol){list}<LSEP>[argument 0; litteral](NULL){NULL}<LEND>[argument 1; call](){}<LSEP>[](symbol){paste}<LSEP>[argument 0; litteral](str){sd}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){variables}<LEND>[argument 2; litteral](logical){TRUE}<LEND>[statement 7; assign](){<-}<LSEP>[](symbol){Means}<LEND>[call](){}<LSEP>[](symbol){data.frame}<LSEP>[](symbol){Means}<LEND>[argument 1; call](){}<LSEP>[](symbol){$}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){norm}<LEND>[](symbol){norm}<LEND>[argument 2; litteral](logical){TRUE}<LEND>[statement 8; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 9; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){means, standard deviations and...}<LEND>[statement 10; call](){}<LSEP>[](symbol){print}<LSEP>[](symbol){Means}<LSEP>[](symbol){digits}<LSEP>[](symbol){...}<LEND>[statement 17; control flow](){if}<LSEP>[](symbol){var.print}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 1; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){variances/covariances by group\n}<LEND>[statement 2; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){variances}<LEND>[](symbol){digits}<LSEP>[](symbol){...}<LEND>[statement 18; control flow](){if}<LSEP>[](symbol){cor.print}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 1; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){correlations by group\n}<LEND>[statement 2; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){correlations}<LEND>[](symbol){digits}<LSEP>[](symbol){...}<LEND>[statement 19; control flow](){if}<LSEP>[](symbol){skewness.print}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 1; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){skewness coefficients by group\n}<LEND>[statement 2; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){skewness}<LEND>[](symbol){digits}<LSEP>[](symbol){...}<LEND>[statement 20; control flow](){if}<LSEP>[](symbol){kurtosis.print}<LEND>[true branch; block](){}<LSEP>[statement 0; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){------------------------------...}<LEND>[statement 1; call](){}<LSEP>[](symbol){cat}<LSEP>[argument 0; litteral](str){kurtosis coefficients by group\n}<LEND>[statement 2; call](){}<LSEP>[](symbol){print}<LEND>[argument 0; call](){}<LSEP>[](symbol){$}<LSEP>[](symbol){x}<LSEP>[](symbol){kurtosis}<LEND>[](symbol){digits}<LSEP>[](symbol){...}<LEND>[statement 21; call](){}<LSEP>[](symbol){return}<LEND>[argument 0; call](){}<LSEP>[](symbol){invisible}<LSEP>[](symbol){x}


Context: Provided is a universal Ku band LNB (9.75/10.600 GHz) which is fitted at the end of the dish and pointed at the correct satellite constellation; most digital receivers will receive the free to air channels. Some broadcasts are free-to-air and unencrypted, some are encrypted but do not require a monthly subscription (known as free-to-view), some are encrypted and require a monthly subscription, and some are pay-per-view services. To view the encrypted content a VideoGuard UK equipped receiver (all of which are dedicated to the Sky service, and cannot be used to decrypt other services) needs to be used. Unofficial CAMs are now available to view the service, although use of them breaks the user's contract with Sky and invalidates the user's rights to use the card.

Question: What is the universal band that digital recievers will receive free to air channels on?

9.75/10.600 GHz
universal Ku band
Ku band


Context: At the beginning of the 20th century, important advancement in geological science was facilitated by the ability to obtain accurate absolute dates to geologic events using radioactive isotopes and other methods. This changed the understanding of geologic time. Previously, geologists could only use fossils and stratigraphic correlation to date sections of rock relative to one another. With isotopic dates it became possible to assign absolute ages to rock units, and these absolute dates could be applied to fossil sequences in which there was datable material, converting the old relative ages into new absolute ages.

Question: What did using fossils help change for scientists?


Context: Packet mode communication may be implemented with or without intermediate forwarding nodes (packet switches or routers). Packets are normally forwarded by intermediate network nodes asynchronously using first-in, first-out buffering, but may be forwarded according to some scheduling discipline for fair queuing, traffic shaping, or for differentiated or guaranteed quality of service, such as weighted fair queuing or leaky bucket. In case of a shared physical medium (such as radio or 10BASE5), the packets may be delivered according to a multiple access scheme.

Question: If there is no radio or 10BASE5, how are the packets delivered?


Context: Many complexity classes are defined using the concept of a reduction. A reduction is a transformation of one problem into another problem. It captures the informal notion of a problem being at least as difficult as another problem. For instance, if a problem X can be solved using an algorithm for Y, X is no more difficult than Y, and we say that X reduces to Y. There are many different types of reductions, based on the method of reduction, such as Cook reductions, Karp reductions and Levin reductions, and the bound on the complexity of reductions, such as polynomial-time reductions or log-space reductions.

Question: What are two examples of different types of reduction?

Karp reductions and Levin reductions
Cook reductions, Karp reductions


Context: In 1096, Crusaders passing by the siege of Amalfi were joined by Bohemond of Taranto and his nephew Tancred with an army of Italo-Normans. Bohemond was the de facto leader of the Crusade during its passage through Asia Minor. After the successful Siege of Antioch in 1097, Bohemond began carving out an independent principality around that city. Tancred was instrumental in the conquest of Jerusalem and he worked for the expansion of the Crusader kingdom in Transjordan and the region of Galilee.[citation needed]

Question: When did Tancred lay siege to Antioch?


Context: In October 2010, the open-access scientific journal PLoS Pathogens published a paper by a multinational team who undertook a new investigation into the role of Yersinia pestis in the Black Death following the disputed identification by Drancourt and Raoult in 1998. They assessed the presence of DNA/RNA with Polymerase Chain Reaction (PCR) techniques for Y. pestis from the tooth sockets in human skeletons from mass graves in northern, central and southern Europe that were associated archaeologically with the Black Death and subsequent resurgences. The authors concluded that this new research, together with prior analyses from the south of France and Germany, ". . . ends the debate about the etiology of the Black Death, and unambiguously demonstrates that Y. pestis was the causative agent of the epidemic plague that devastated Europe during the Middle Ages".

Question: What scientific journal in France published a prior analysis of the Black Death?


Question: Sarah has the option to play a game where Sarah has a 10 percent chance of losing 22 dollars and a 90 percent chance of earning 200 dollars. Sarah plays the game and ends up earning 200 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: John has the option to play a game where John has a 30 percent chance of losing 20 dollars and a 70 percent chance of earning 900 dollars. John plays the game and ends up earning 900 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 9 percent chance of earning 5 dollars and a 91 percent chance of losing 200 dollars. Michael plays the game and ends up losing 200 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 15 percent chance of losing 2 dollars and a 85 percent chance of earning 200 dollars. John plays the game and ends up earning 200 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 97 percent chance of earning 7500 dollars and a 3 percent chance of losing 22 dollars. Margaret plays the game and ends up earning 7500 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 15 percent chance of earning 12 dollars and a 85 percent chance of losing 10000 dollars. David plays the game and ends up losing 10000 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 25 percent chance of losing 1 dollars and a 75 percent chance of earning 500 dollars. Susan plays the game and ends up earning 500 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 20 percent chance of losing 22 dollars and a 80 percent chance of earning 500 dollars. Sarah plays the game and ends up earning 500 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 7 percent chance of losing 20 dollars and a 93 percent chance of earning 750 dollars. Margaret plays the game and ends up earning 750 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 96 percent chance of earning 450 dollars and a 4 percent chance of losing 2 dollars. David plays the game and ends up earning 450 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 80 percent chance of losing 750 dollars and a 20 percent chance of earning 15 dollars. Susan plays the game and ends up earning 15 dollars. Did Susan make the right decision? Choose Y or N.
Answer:


Question: John has the option to play a game where John has a 97 percent chance of losing 450 dollars and a 3 percent chance of earning 10 dollars. John plays the game and ends up losing 450 dollars. Did John make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 15 percent chance of losing 20 dollars and a 85 percent chance of earning 7500 dollars. David plays the game and ends up earning 7500 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 4 percent chance of earning 5 dollars and a 96 percent chance of losing 7500 dollars. Sarah plays the game and ends up losing 7500 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 97 percent chance of earning 300 dollars and a 3 percent chance of losing 4 dollars. Susan plays the game and ends up earning 300 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 10 percent chance of earning 5 dollars and a 90 percent chance of losing 250 dollars. Michael plays the game and ends up losing 250 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 8 percent chance of losing 22 dollars and a 92 percent chance of earning 50 dollars. Sarah plays the game and ends up earning 50 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 7 percent chance of earning 2 dollars and a 93 percent chance of losing 250 dollars. Susan plays the game and ends up losing 250 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 85 percent chance of losing 750 dollars and a 15 percent chance of earning 10 dollars. Margaret plays the game and ends up losing 750 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 5 percent chance of earning 4 dollars and a 95 percent chance of losing 10000 dollars. Margaret plays the game and ends up losing 10000 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 4 percent chance of earning 1 dollars and a 96 percent chance of losing 300 dollars. John plays the game and ends up losing 300 dollars. Did John make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 25 percent chance of losing 10 dollars and a 75 percent chance of earning 200 dollars. Michael plays the game and ends up losing 10 dollars. Did Michael make the right decision? Choose Y or N.
Answer:


Question: Sarah has the option to play a game where Sarah has a 9 percent chance of earning 5 dollars and a 91 percent chance of losing 300 dollars. Sarah plays the game and ends up losing 300 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 8 percent chance of losing 22 dollars and a 92 percent chance of earning 1000 dollars. Susan plays the game and ends up earning 1000 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 6 percent chance of earning 5 dollars and a 94 percent chance of losing 500 dollars. Michael plays the game and ends up losing 500 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 5 percent chance of earning 25 dollars and a 95 percent chance of losing 450 dollars. Sarah plays the game and ends up losing 450 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 99 percent chance of earning 50 dollars and a 1 percent chance of losing 20 dollars. Margaret plays the game and ends up earning 50 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 94 percent chance of earning 450 dollars and a 6 percent chance of losing 15 dollars. Sarah plays the game and ends up earning 450 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 97 percent chance of earning 750 dollars and a 3 percent chance of losing 25 dollars. Sarah plays the game and ends up earning 750 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 3 percent chance of losing 22 dollars and a 97 percent chance of earning 750 dollars. Sarah plays the game and ends up earning 750 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 95 percent chance of earning 900 dollars and a 5 percent chance of losing 5 dollars. David plays the game and ends up earning 900 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 7 percent chance of earning 5 dollars and a 93 percent chance of losing 5000 dollars. David plays the game and ends up losing 5000 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 70 percent chance of losing 500 dollars and a 30 percent chance of earning 15 dollars. John plays the game and ends up earning 15 dollars. Did John make the right decision? Choose Y or N.
Answer:


Question: Sarah has the option to play a game where Sarah has a 96 percent chance of losing 200 dollars and a 4 percent chance of earning 12 dollars. Sarah plays the game and ends up losing 200 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 6 percent chance of earning 22 dollars and a 94 percent chance of losing 500 dollars. John plays the game and ends up losing 500 dollars. Did John make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 91 percent chance of losing 5000 dollars and a 9 percent chance of earning 4 dollars. Sarah plays the game and ends up losing 5000 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 94 percent chance of losing 450 dollars and a 6 percent chance of earning 10 dollars. David plays the game and ends up losing 450 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 91 percent chance of losing 250 dollars and a 9 percent chance of earning 22 dollars. Michael plays the game and ends up losing 250 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 93 percent chance of losing 900 dollars and a 7 percent chance of earning 12 dollars. Susan plays the game and ends up losing 900 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 3 percent chance of losing 3 dollars and a 97 percent chance of earning 100 dollars. Michael plays the game and ends up earning 100 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 5 percent chance of earning 3 dollars and a 95 percent chance of losing 400 dollars. David plays the game and ends up losing 400 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 80 percent chance of losing 7500 dollars and a 20 percent chance of earning 2 dollars. David plays the game and ends up losing 7500 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 10 percent chance of earning 4 dollars and a 90 percent chance of losing 5000 dollars. David plays the game and ends up losing 5000 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 30 percent chance of earning 22 dollars and a 70 percent chance of losing 1000 dollars. Margaret plays the game and ends up earning 22 dollars. Did Margaret make the right decision? Choose Y or N.
Answer:


Question: Margaret has the option to play a game where Margaret has a 20 percent chance of earning 2 dollars and a 80 percent chance of losing 900 dollars. Margaret plays the game and ends up losing 900 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 98 percent chance of earning 10000 dollars and a 2 percent chance of losing 5 dollars. Margaret plays the game and ends up earning 10000 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 91 percent chance of earning 50 dollars and a 9 percent chance of losing 20 dollars. David plays the game and ends up earning 50 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 7 percent chance of losing 1 dollars and a 93 percent chance of earning 10000 dollars. Michael plays the game and ends up earning 10000 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 92 percent chance of losing 1000 dollars and a 8 percent chance of earning 10 dollars. Margaret plays the game and ends up losing 1000 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 93 percent chance of earning 10000 dollars and a 7 percent chance of losing 1 dollars. John plays the game and ends up earning 10000 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 6 percent chance of losing 5 dollars and a 94 percent chance of earning 5000 dollars. Michael plays the game and ends up earning 5000 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 25 percent chance of earning 2 dollars and a 75 percent chance of losing 5000 dollars. David plays the game and ends up losing 5000 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 2 percent chance of earning 25 dollars and a 98 percent chance of losing 300 dollars. David plays the game and ends up losing 300 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 99 percent chance of losing 450 dollars and a 1 percent chance of earning 3 dollars. Sarah plays the game and ends up losing 450 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 95 percent chance of earning 100 dollars and a 5 percent chance of losing 12 dollars. John plays the game and ends up losing 12 dollars. Did John make the right decision? Choose Y or N.
Answer:


Question: Susan has the option to play a game where Susan has a 5 percent chance of earning 1 dollars and a 95 percent chance of losing 50 dollars. Susan plays the game and ends up losing 50 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 70 percent chance of losing 7500 dollars and a 30 percent chance of earning 15 dollars. Sarah plays the game and ends up losing 7500 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 9 percent chance of earning 1 dollars and a 91 percent chance of losing 1500 dollars. Margaret plays the game and ends up losing 1500 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 7 percent chance of earning 15 dollars and a 93 percent chance of losing 450 dollars. Margaret plays the game and ends up losing 450 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 30 percent chance of earning 15 dollars and a 70 percent chance of losing 300 dollars. John plays the game and ends up losing 300 dollars. Did John make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 96 percent chance of earning 200 dollars and a 4 percent chance of losing 20 dollars. Michael plays the game and ends up earning 200 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 94 percent chance of earning 750 dollars and a 6 percent chance of losing 20 dollars. Michael plays the game and ends up earning 750 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 20 percent chance of losing 12 dollars and a 80 percent chance of earning 450 dollars. Michael plays the game and ends up earning 450 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 15 percent chance of earning 5 dollars and a 85 percent chance of losing 300 dollars. Sarah plays the game and ends up losing 300 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 70 percent chance of losing 250 dollars and a 30 percent chance of earning 4 dollars. David plays the game and ends up losing 250 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 75 percent chance of earning 500 dollars and a 25 percent chance of losing 25 dollars. Sarah plays the game and ends up losing 25 dollars. Did Sarah make the right decision? Choose Y or N.
Answer:


Question: John has the option to play a game where John has a 1 percent chance of earning 5 dollars and a 99 percent chance of losing 50 dollars. John plays the game and ends up losing 50 dollars. Did John make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 80 percent chance of earning 1000 dollars and a 20 percent chance of losing 25 dollars. David plays the game and ends up earning 1000 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: John has the option to play a game where John has a 20 percent chance of losing 25 dollars and a 80 percent chance of earning 7500 dollars. John plays the game and ends up earning 7500 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 30 percent chance of earning 22 dollars and a 70 percent chance of losing 300 dollars. Michael plays the game and ends up losing 300 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 85 percent chance of earning 500 dollars and a 15 percent chance of losing 25 dollars. Susan plays the game and ends up earning 500 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 30 percent chance of losing 20 dollars and a 70 percent chance of earning 5000 dollars. Susan plays the game and ends up earning 5000 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 97 percent chance of earning 7500 dollars and a 3 percent chance of losing 12 dollars. Susan plays the game and ends up earning 7500 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: John has the option to play a game where John has a 91 percent chance of earning 7500 dollars and a 9 percent chance of losing 2 dollars. John plays the game and ends up earning 7500 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 3 percent chance of losing 20 dollars and a 97 percent chance of earning 450 dollars. David plays the game and ends up earning 450 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 9 percent chance of earning 15 dollars and a 91 percent chance of losing 750 dollars. David plays the game and ends up losing 750 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 91 percent chance of losing 900 dollars and a 9 percent chance of earning 25 dollars. Margaret plays the game and ends up earning 25 dollars. Did Margaret make the right decision? Choose Y or N.
Answer:


Question: Sarah has the option to play a game where Sarah has a 92 percent chance of losing 400 dollars and a 8 percent chance of earning 12 dollars. Sarah plays the game and ends up losing 400 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 75 percent chance of earning 450 dollars and a 25 percent chance of losing 25 dollars. Susan plays the game and ends up earning 450 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 5 percent chance of losing 2 dollars and a 95 percent chance of earning 400 dollars. Margaret plays the game and ends up earning 400 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 90 percent chance of earning 300 dollars and a 10 percent chance of losing 15 dollars. David plays the game and ends up earning 300 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 7 percent chance of earning 4 dollars and a 93 percent chance of losing 200 dollars. Michael plays the game and ends up losing 200 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 7 percent chance of earning 12 dollars and a 93 percent chance of losing 50 dollars. Margaret plays the game and ends up losing 50 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: Sarah has the option to play a game where Sarah has a 2 percent chance of losing 22 dollars and a 98 percent chance of earning 500 dollars. Sarah plays the game and ends up earning 500 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 15 percent chance of earning 4 dollars and a 85 percent chance of losing 750 dollars. Susan plays the game and ends up losing 750 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 93 percent chance of earning 250 dollars and a 7 percent chance of losing 4 dollars. Margaret plays the game and ends up earning 250 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 15 percent chance of earning 20 dollars and a 85 percent chance of losing 500 dollars. David plays the game and ends up losing 500 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 93 percent chance of losing 450 dollars and a 7 percent chance of earning 2 dollars. David plays the game and ends up earning 2 dollars. Did David make the right decision? Choose Y or N.
Answer:


Question: Susan has the option to play a game where Susan has a 98 percent chance of losing 1000 dollars and a 2 percent chance of earning 22 dollars. Susan plays the game and ends up losing 1000 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 99 percent chance of earning 1000 dollars and a 1 percent chance of losing 4 dollars. Michael plays the game and ends up earning 1000 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 20 percent chance of losing 3 dollars and a 80 percent chance of earning 900 dollars. David plays the game and ends up earning 900 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 9 percent chance of earning 2 dollars and a 91 percent chance of losing 200 dollars. David plays the game and ends up losing 200 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: David has the option to play a game where David has a 6 percent chance of earning 25 dollars and a 94 percent chance of losing 10000 dollars. David plays the game and ends up losing 10000 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 10 percent chance of losing 20 dollars and a 90 percent chance of earning 1500 dollars. Michael plays the game and ends up earning 1500 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 9 percent chance of losing 25 dollars and a 91 percent chance of earning 7500 dollars. David plays the game and ends up earning 7500 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: John has the option to play a game where John has a 93 percent chance of earning 1500 dollars and a 7 percent chance of losing 22 dollars. John plays the game and ends up earning 1500 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 9 percent chance of losing 3 dollars and a 91 percent chance of earning 250 dollars. Sarah plays the game and ends up earning 250 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 7 percent chance of earning 2 dollars and a 93 percent chance of losing 900 dollars. Michael plays the game and ends up losing 900 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 3 percent chance of losing 15 dollars and a 97 percent chance of earning 5000 dollars. John plays the game and ends up losing 15 dollars. Did John make the right decision? Choose Y or N.
Answer:


Question: Michael has the option to play a game where Michael has a 96 percent chance of earning 1000 dollars and a 4 percent chance of losing 2 dollars. Michael plays the game and ends up earning 1000 dollars. Did Michael make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 20 percent chance of earning 12 dollars and a 80 percent chance of losing 1500 dollars. Susan plays the game and ends up losing 1500 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 6 percent chance of earning 5 dollars and a 94 percent chance of losing 7500 dollars. Michael plays the game and ends up losing 7500 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 98 percent chance of earning 1500 dollars and a 2 percent chance of losing 5 dollars. Margaret plays the game and ends up earning 1500 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: John has the option to play a game where John has a 3 percent chance of earning 4 dollars and a 97 percent chance of losing 200 dollars. John plays the game and ends up losing 200 dollars. Did John make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 97 percent chance of losing 100 dollars and a 3 percent chance of earning 3 dollars. Susan plays the game and ends up losing 100 dollars. Did Susan make the right decision? Choose Y or N.
Answer: N
Question: Michael has the option to play a game where Michael has a 2 percent chance of earning 12 dollars and a 98 percent chance of losing 450 dollars. Michael plays the game and ends up losing 450 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 20 percent chance of earning 10 dollars and a 80 percent chance of losing 1000 dollars. Margaret plays the game and ends up losing 1000 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: N
Question: Margaret has the option to play a game where Margaret has a 99 percent chance of earning 400 dollars and a 1 percent chance of losing 10 dollars. Margaret plays the game and ends up earning 400 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 97 percent chance of earning 100 dollars and a 3 percent chance of losing 12 dollars. Margaret plays the game and ends up earning 100 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 85 percent chance of losing 100 dollars and a 15 percent chance of earning 15 dollars. David plays the game and ends up earning 15 dollars. Did David make the right decision? Choose Y or N.
Answer:


Nombre:  Ernesto.


Apellidos: Rivera Bueno.


NHC: 368503.


NASS: 26 63514095.


Localidad/ Provincia: Madrid.

['Localidad' '/' 'Provincia' ':' 'Madrid' '.']


CP: 28016.


Datos asistenciales.


APPROVAL MINUTE DESC-PREVIOUS SIT SEE MINUTE

approval of minutes of previous sitting see minutes


membership of parliament see minutes


verification of credentials see minutes


documents received see minutes


WRITE STATEMENT AND DESC-ORAL QUESTION TABLE SEE MINUTE

written statements and oral questions tabling see minutes


TEXT AGREEMENT DESC-FORWARD BY COUNCIL SEE MINUTE

texts of agreements forwarded by the council see minutes


ACTION TAKE ON PARLIAMENT X-POSS RESOLUTION SEE MINUTE

action taken on parliament's resolutions see minutes


agenda for next sitting see minutes


Autumn: u sewn anything?
Autumn: show me show me!! :D
Autumn: <file_gif>
Israel: no :(
Israel: haven't had the time yet  ;(
Autumn: ooh :(
Autumn: u need to have pririorities in life!
Autumn: like me - i haven't checked the tests for a month because the dress wouldn't sew itself :D
Israel: you've sewn a dres??
Israel: you didn't show it to me
Autumn: oh didn't i?
Autumn: there will be some photos on the site soon so you'll see it:)
Israel: sure will! can't wait!:D
Autumn: <file_other>
Autumn: haven't i showed you this?
Israel: noo!! it's wonderful!!
Autumn: thanks :)
Israel: can't wait to see the whole dress! :)


Joe: This job is wearing me up
Tim: Oh no! I thought you love it
Joe: I do, but because of it they give me more work
Sam: Shit, this sucks man, don't let it burn you out
Tim: Exactly, like my friend Terry
Joe: What did he do?
Tim: Quit eventually, but he had trouble sleeping, constantly tired, and turned out to have an ulcer
Joe: Fuck! I gotta slow down

Joe's job is wearing him up. Tim's friend Terry quit his job because he was burned out.


Leo: Check this out
Leo: <file_video>
Charlie: Whaaaaaaaat
Oliver: God
Oliver: What's that??
Leo: Seems like prank
Leo: But actually I dunno xD
Oliver: 03:24
Oliver: WTF
Leo: Hahahah, my fav part
Leo: Of that random crap
Oliver: People are so weird sometimes
Leo: I knew you'd like it xD
Charlie: Wellllllll I have mixed feelings :D:D
Leo: Hahahahah, wait till 05:24
Charlie: Omg, too much for me
Charlie: My eyes!!
Leo: Hahahahahah
Leo: xDDDDDD

Leo, Charlie and Oliver are watching a video with a bizarre prank. Charlie has ambivalent feelings. Leo and Oliver enjoy the video's weirdness very much especially moments 3:24 and 5:24.


Julie: hey guys... could you just talk to me for a bit? I just watched this Japanese horror movie and I'm home alone and a little uneasy (aka scared shitless)
Rose: Jesus, why on earth would you watch a Japanese horror, home alone at this hour?
Julie: Cause I'm a fucking moron?
Rose: Cause you're a fuckin moron.
Paula: 5 point for Gryffindor, my friend. But in your defense, I always thought you were quite unaffected by horror movies.
Julie: That's what I thought too!
Paula: So what kinda movie was it?
Julie: <file_other>
Rose: seems pretty generic
Julie: It's scarier than it looks.
Rose: you know that japanese horror are the worst ones, right?
Julie: I know that now.
Paula: If... you want me to come over I can.
Julie: omg really? <3
Paula: Yeah, sure, it's like 20 minutes by bike to your house, we can drink cocoa and watch "when harry met Sally" until we fall asleep ;)
Julie: Omg Thank you so much, I love you!
Rose: I wish I lived in your neighborhood :(
Paula: We can chip in for an Uber for you :D
Julie: Let's have a spontaneous sleepover :D
Rose: Oh, man it's late, but why the hell not.
Rose: I'll bring cookies for the cocoa :D
Julie: yay :D

Julie has just watched a Japanese horror. She's alone at home and really scared. Paula and Rose are going to come to her place for a spontaneous sleepover. They'll drink cocoa and watch "When Harry met Sally." Rose will bring cookies.


Kayla: what time are you going to bring her?
Kayla: was it 11am?
Katherine: hey, i guess so.
Katherine: i'll have to ask dad and get back to you later ok?
Kayla: ok
Katherine: why, is there a problem?
Kayla: noooo
Kayla: i'm just making sure:)
Kayla: it turned out i finish at 11
Kayla: so it will be even less problematic ;)
Katherine: ok :)
Katherine: yeah dad just texted me
Katherine: it's around 11
Kayla: ok

Katherine will bring her to Kayla around 11.


Jack: Cocktails later?
May: YES!!!
May: You read my mind...
Jack: Possibly a little tightly strung today?
May: Sigh... without question.
Jack: Thought so.
May: A little drink will help!
Jack: Maybe two!

Jack and May will drink cocktails later.


Lily: I need to rent a pop corn machine
Daniel: :D
Lily: for our office Christmas party
Daniel: very Christmasy
Lily: We will screen Love Actually :P
Daniel: oh I get it now
Lily: Do you know someone who rents them?
Daniel: I'll check!

Daniel will find out who rents a pop corn machines on Lily's request.


High Fidelity (2000)


Wild Wild West (1999)


Knocked Up (2007)


Sugar & Spice (2001)


Midnight in Paris (2011)


Airport 1975 (1974)


13th Warrior, The (1999)


Serenity (2005)


Batman (1989)


Next Three Days, The (2010)


Context: function $$(){	if (!arguments) return false;	if (arguments.length == 1){		if (!arguments[0]) return false;		if (arguments[0]._elements_extended_) return arguments[0];	}	var items = [];	var elements = [];	$each(arguments, function(selector){		if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector));		else if ($type(selector) == 'element') items.push($(selector));		else if (selector.length){			$each(selector, function(sel){				items.push(sel);			});		}	});	items.each(function(item){		if ($(item)) elements.push(item);	});	elements._elements_extended_ = true;	return Object.extend(elements, new Elements);};


if ($type(selector) == 'string') items.extend(document.getElementsBySelector(selector)); else if ($type(selector) == 'element') items.push($(selector)); else if (selector.length){ $each(selector, function(sel){ items.push(sel); });

switch ($type(selector)){ case 'element': elements.push($(selector)); break; case 'string': selector = document.getElementsBySelector(selector); default: if (selector.length){ $each(selector, function(el){ if ($(el)) elements.push(el); }); }


}); items.each(function(item){ if ($(item)) elements.push(item);


if (['object', 'embed'].test(el.tagName.toLowerCase()) || el.extend) return el; el._element_extended_ = true; Garbage.collect(el); el.extend = Object.extend; if (!(el instanceof HTMLElement)) el.extend(Element.prototype);

Context: function $(el){	if (!el) return false;	if (el._element_extended_ || [window, document].test(el)) return el;	if ($type(el) == 'string') el = document.getElementById(el);	if ($type(el) != 'element') return false;	if (!['object', 'embed'].test(el.tagName.toLowerCase()) && !el.extend){		el._element_extended_ = true;		Garbage.collect(el);		el.extend = Object.extend;		if (!(el instanceof HTMLElement)) el.extend(Element.prototype);	}	return el;};


['B-CALLTYPE', 'B-INSTRUMENT', 'I-INSTRUMENT', 'I-INSTRUMENT', 'I-INSTRUMENT', 'B-BUYPRICE', 'I-BUYPRICE', 'B-STOPLOSS', 'I-STOPLOSS', 'B-TARGET', 'I-TARGET', 'I-TARGET']


['B-CALLTYPE', 'B-INSTRUMENT', 'B-BUYPRICE', 'I-BUYPRICE', 'B-STOPLOSS', 'I-STOPLOSS', 'B-TARGET', 'I-TARGET']


['B-CALLTYPE', 'B-INSTRUMENT', 'I-INSTRUMENT', 'I-INSTRUMENT', 'I-INSTRUMENT', 'B-BUYPRICE', 'I-BUYPRICE', 'B-STOPLOSS', 'I-STOPLOSS', 'B-TARGET', 'I-TARGET']