tests/testthat/_snaps/fbplot.md

fbplot() works as expected for univariate data

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["Depth", "Fvalue", "ID_outliers"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [0.57142857, 0.56666667, 0.55238095, 0.52857143, 0.4952381, 0.45238095, 0.4, 0.33809524, 0.26666667, 0.18571429, 0.0952381, 0.56666667, 0.55238095, 0.52857143, 0.4952381, 0.45238095, 0.4, 0.33809524, 0.26666667, 0.18571429, 0.0952381]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [10]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": []
    }
  ]
}
{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["Depth", "Fvalue", "ID_outliers"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [0.57142857, 0.56666667, 0.55238095, 0.52857143, 0.4952381, 0.45238095, 0.4, 0.33809524, 0.26666667, 0.18571429, 0.0952381, 0.56666667, 0.55238095, 0.52857143, 0.4952381, 0.45238095, 0.4, 0.33809524, 0.26666667, 0.18571429, 0.0952381]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.5]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": []
    }
  ]
}

fbplot() with adjustment works as expected for univariate data

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["Depth", "Fvalue", "ID_outliers"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [0.06207423, 0.4806182, 0.39098453, 0.04365739, 0.44692794, 0.36812168, 0.30055904, 0.45534798, 0.41595303, 0.33035271, 0.47350637, 0.4377111, 0.4663402, 0.47779142, 0.45792786, 0.46389371, 0.46314918, 0.39360946, 0.44196248, 0.07459094, 0.28035752, 0.32204265, 0.46513459, 0.45606381, 0.44474485, 0.13901643, 0.38058052, 0.37798124, 0.46975743, 0.30690918, 0.29414942, 0.46802741, 0.29861178, 0.23896657, 0.15493627, 0.05332858, 0.0502602, 0.10108313, 0.44699671, 0.41301162, 0.30115415, 0.33881876, 0.24859383, 0.27066341, 0.13664305, 0.38153796, 0.26053082, 0.19512882, 0.31794389, 0.43193331, 0.32979335, 0.45490613, 0.07715046, 0.17229579, 0.48855182, 0.26584545, 0.37015904, 0.2573911, 0.22661515, 0.34862349, 0.34306485, 0.03986244, 0.45025507, 0.484522, 0.4432824, 0.29552465, 0.40354886, 0.07868954, 0.25818725, 0.48746982, 0.3615277, 0.23698565, 0.47663118, 0.48278685, 0.07745523, 0.49507238, 0.21239776, 0.06406605, 0.47204377, 0.4683022, 0.47784048, 0.3171822, 0.26124409, 0.49313812, 0.37290982, 0.39004297, 0.35679295, 0.48855695, 0.45937603, 0.10688481, 0.48645996, 0.31865876, 0.10747271, 0.1654182, 0.34110605, 0.20022573, 0.39005996, 0.42419287, 0.42740505, 0.27486766, 0.16698437, 0.42153138, 0.46629371, 0.41049042, 0.17842806, 0.43998685, 0.35554341, 0.47339126, 0.39089042, 0.42854589, 0.44887198, 0.42911327, 0.38113347, 0.47026758, 0.48951038, 0.36730116, 0.33150076, 0.37961202, 0.44848176, 0.37384898, 0.37703487, 0.39525964, 0.15197403, 0.40868409, 0.03386437, 0.47405707, 0.16161683, 0.13616962, 0.29086445, 0.45372665, 0.28505267, 0.44772986, 0.14796297, 0.46537892, 0.09480208, 0.43990092, 0.41642613, 0.15094188, 0.40566509, 0.44213451, 0.4266004, 0.20504914, 0.24733932, 0.41687455, 0.43027768, 0.41629932, 0.11801715, 0.42715383, 0.32588313, 0.41554677, 0.46766397, 0.46349066, 0.30845371, 0.34268168, 0.41033074, 0.3523915, 0.45084441, 0.2289079, 0.1294921, 0.45032802, 0.24863439, 0.46717675, 0.44997034, 0.48205098, 0.48917098, 0.47209154, 0.03125627, 0.24451527, 0.4636707, 0.29808016, 0.24568465, 0.488438, 0.46023487, 0.01717259, 0.36580473, 0.26379014, 0.29447872, 0.048602, 0.43578004, 0.46799327, 0.03882068, 0.42604265, 0.12830253, 0.44276152, 0.47060361, 0.02815375, 0.25235142, 0.2213584, 0.3044186, 0.48106325, 0.37363976, 0.03335263, 0.22843222, 0.44412056, 0.1050485, 0.46802533, 0.46753202, 0.25527246, 0.49119872, 0.32369603, 0.26436954, 0.25860281, 0.42283671, 0.33976994, 0.46661291, 0.28427431, 0.21380697, 0.39952192, 0.45889042, 0.28176946, 0.4269281, 0.30782156, 0.3082602, 0.29828553, 0.35409475, 0.46670669, 0.48868938, 0.44322437, 0.48501595, 0.35160689, 0.24099784, 0.42907351, 0.04175519, 0.39168754, 0.48282549, 0.1503984, 0.01466421, 0.44697651, 0.38034677, 0.3062198, 0.46525307, 0.35367679, 0.37200577, 0.3884776, 0.2423216, 0.16018068, 0.00924297, 0.48338164, 0.38889988, 0.45931639, 0.46180168, 0.46662253, 0.32917002, 0.43351535, 0.43188184, 0.38939014, 0.29601828, 0.44588425, 0.44795719, 0.44096866, 0.34202774, 0.12822653, 0.44403094, 0.41212265, 0.37511102, 0.48503535, 0.21238477, 0.26890677, 0.25567663, 0.36975375, 0.39454782, 0.3838283, 0.36491447, 0.3636396, 0.37381275, 0.45337299, 0.47860569, 0.23546052, 0.4916388, 0.45184208, 0.46004601, 0.10908842, 0.47033523, 0.09201074, 0.15607888, 0.40458325, 0.28442052, 0.2077289, 0.46778421, 0.39061611, 0.422261, 0.43019848, 0.37458004, 0.19026517, 0.33738982, 0.42040048, 0.31637467, 0.37983487, 0.30151888, 0.45314661, 0.15880962, 0.41241267, 0.19359551, 0.36595591, 0.33761122, 0.06509707, 0.33355383, 0.44657908, 0.46137683, 0.47797098, 0.31381034, 0.42667078, 0.49185812, 0.35904898, 0.44158605, 0.45487984, 0.29125756, 0.36472754, 0.41214525, 0.39805451, 0.18613307, 0.40325451, 0.29638926, 0.45558749, 0.2828622, 0.19832449, 0.46185042, 0.12868633, 0.40489731, 0.42593956, 0.24906661, 0.45177379, 0.21410228, 0.33555158, 0.47830525, 0.18217363, 0.33507639, 0.18833218, 0.29787255, 0.45662942, 0.35874982, 0.34876393, 0.4887208, 0.46888048, 0.43081491, 0.28843735, 0.38617026, 0.04710894, 0.39965178, 0.46826228, 0.4611899, 0.43688609, 0.23377651, 0.39502894, 0.40967776, 0.29553154, 0.43065283, 0.02687631, 0.48409315, 0.45273331, 0.08710108, 0.40327198, 0.45636024, 0.47989451, 0.39721315, 0.36715367, 0.27233651, 0.22806717, 0.44060489, 0.22663359, 0.27842132, 0.1214485, 0.46468232, 0.44668778, 0.33505972, 0.28790445, 0.42702493, 0.41161571, 0.38898966, 0.0837398, 0.3670416, 0.20318862, 0.3077523, 0.44848673, 0.34558124, 0.48231022, 0.37865828, 0.39707351, 0.32118509, 0.4437297, 0.20429675, 0.07573403, 0.46227848, 0.36989483, 0.30132393, 0.2690222, 0.45340008, 0.42842148, 0.23154293, 0.48097411, 0.3334291, 0.02033619, 0.24501852, 0.21340922, 0.44857251, 0.4539992, 0.45028938, 0.33763014, 0.37012473, 0.33960737, 0.27397948, 0.46719535, 0.48083447, 0.40706293, 0.41262653, 0.48710846, 0.14777988, 0.3793204, 0.45910236, 0.47035575, 0.14485002, 0.47336946, 0.43320449, 0.15782044, 0.45351856, 0.25833635, 0.19352962, 0.4502315, 0.43398878, 0.49330581, 0.21125804, 0.46569154, 0.40486285, 0.46428617, 0.47337074, 0.43514693, 0.19152834, 0.45257379, 0.26191647, 0.33021034, 0.10338405, 0.08648192, 0.39853547, 0.18579447, 0.33341339, 0.20594293, 0.10760641, 0.16213226, 0.20651527, 0.28819158, 0.18151102, 0.41162485, 0.46112609, 0.2312715, 0.32131206, 0.34991343, 0.4655083, 0.371579, 0.45231679, 0.06499832, 0.37931752, 0.3307479, 0.28777876, 0.39664866, 0.29246092, 0.36591022, 0.35633828, 0.23253948, 0.4695208, 0.24691543, 0.47737267, 0.27367503, 0.44010148, 0.4243123, 0.3221305, 0.40212842, 0.08289475, 0.41320016, 0.41305315, 0.43551246, 0.28583407, 0.35271327, 0.43429467, 0.43764297, 0.42794212, 0.10367904, 0.4220683, 0.33364457, 0.29500842, 0.20349916, 0.44614236, 0.39764136, 0.1220008, 0.44833619, 0.47754036, 0.01773579, 0.0124085, 0.25297491, 0.23785651, 0.19689812, 0.34306998, 0.27047038, 0.11480802, 0.08017539, 0.26590814, 0.40486445, 0.08446188, 0.4535519, 0.2588784, 0.09570341]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.96298929]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [1, 78, 167, 174, 186, 237, 486, 487]
    }
  ]
}

fbplot() works as expected for multivariate data

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["Depth", "Fvalue", "ID_outliers"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [0.0952381, 0.18571429, 0.26666667, 0.33809524, 0.4, 0.45238095, 0.4952381, 0.52857143, 0.55238095, 0.56666667, 0.57142857, 0.56666667, 0.55238095, 0.52857143, 0.4952381, 0.45238095, 0.4, 0.33809524, 0.26666667, 0.18571429, 0.0952381]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [3]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": []
    }
  ]
}

fbplot() works for randomly generated multivariate data

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["Depth", "Fvalue", "ID_outliers"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [0.14345724, 0.41886869, 0.37811852, 0.1888633, 0.34543165, 0.42784108, 0.27882828, 0.37941279, 0.42894007, 0.31096296, 0.40013468, 0.29216027, 0.44789495, 0.46494276, 0.27443906, 0.44944377, 0.41166869, 0.3538303, 0.44499663, 0.04845118, 0.45154747, 0.44958249, 0.42211717, 0.42305455, 0.45173333, 0.08702896, 0.44257508, 0.20941414, 0.45265589, 0.37328754, 0.19676364, 0.31934007, 0.30053064, 0.37204444, 0.28934276, 0.25910034, 0.30412525, 0.40756768, 0.36152997, 0.39423704, 0.34783434, 0.37469764, 0.33186263, 0.35812795, 0.19602828, 0.37300337, 0.45065993, 0.10859259, 0.46736835, 0.33192054, 0.41109226, 0.33357576, 0.41260875, 0.3576835, 0.30891582, 0.35108552, 0.16064108, 0.26706667, 0.16541818, 0.47115286, 0.35508822, 0.16649293, 0.40502896, 0.37283502, 0.36127273, 0.27374276, 0.36073939, 0.19020067, 0.33977508, 0.41761886, 0.4115138, 0.48745993, 0.36871111, 0.43364848, 0.30495354, 0.38656162, 0.32835286, 0.18507205, 0.44089832, 0.39537104, 0.42852525, 0.47054411, 0.34441481, 0.42420337, 0.39881751, 0.3593468, 0.38677172, 0.27659798, 0.38469226, 0.23645253, 0.47510303, 0.39674613, 0.32961481, 0.37791246, 0.42756902, 0.2714303, 0.35122828, 0.22855084, 0.36893872, 0.30826801]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [2.5]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": []
    }
  ]
}


Try the roahd package in your browser

Any scripts or data that you put into this service are public.

roahd documentation built on Nov. 4, 2021, 1:07 a.m.