tests/testthat/_snaps/tidier_methods.md

tidy() snapshot value of mvgam_example1

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["parameter", "type", "mean", "sd", "2.5%", "50%", "97.5%"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2, 3, 4, 5]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "character",
      "attributes": {},
      "value": ["sigma_obs[1]", "sigma_obs[2]", "(Intercept)", "sigma[1]", "sigma[2]"]
    },
    {
      "type": "character",
      "attributes": {},
      "value": ["observation_family_extra_param", "observation_family_extra_param", "observation_beta", "trend_model_param", "trend_model_param"]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.73, 0.22, -2.4, 0.53, 1]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.24, 0.081, 0.064, 0.18, 0.24]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.5, 0.14, -2.4, 0.39, 0.69]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.7, 0.2, -2.4, 0.45, 0.96]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1, 0.33, -2.3, 0.79, 1.3]
    }
  ]
}

tidy() snapshot value of mvgam_example2

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["parameter", "type", "mean", "sd", "2.5%", "50%", "97.5%"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2, 3, 4, 5]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "character",
      "attributes": {},
      "value": ["sigma_obs[1]", "sigma_obs[2]", "(Intercept)", "Sigma[1,1]", "(Intercept)_trend"]
    },
    {
      "type": "character",
      "attributes": {},
      "value": ["observation_family_extra_param", "observation_family_extra_param", "observation_beta", "trend_model_param", "trend_beta"]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.52, 0.87, -1, 0.61, 0.23]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.12, 0.19, 0.31, 0.28, 0.74]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.34, 0.65, -1.3, 0.27, -0.7]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.57, 0.81, -1.1, 0.53, 0.14]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.61, 1.1, -0.56, 0.91, 1.2]
    }
  ]
}

tidy() snapshot value of mvgam_example3

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["parameter", "type", "mean", "sd", "2.5%", "50%", "97.5%"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "character",
      "attributes": {},
      "value": ["sigma_obs[1]", "sigma_obs[2]", "(Intercept)", "A[1,1]", "A[2,1]", "A[1,2]", "A[2,2]", "Sigma[1,1]", "Sigma[2,1]", "Sigma[1,2]", "Sigma[2,2]"]
    },
    {
      "type": "character",
      "attributes": {},
      "value": ["observation_family_extra_param", "observation_family_extra_param", "observation_beta", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param"]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.41, 0.55, -0.78, 0.47, -0.28, -0.044, 0.32, 0.17, -0.0057, -0.0057, 0.71]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.064, 0.23, 0.19, 0.35, 0.42, 0.17, 0.51, 0.061, 0.2, 0.2, 0.73]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.34, 0.3, -0.96, 0.061, -0.78, -0.29, -0.25, 0.094, -0.31, -0.31, 0.16]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.4, 0.51, -0.88, 0.55, -0.37, -0.017, 0.66, 0.17, 0.086, 0.086, 0.5]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.5, 0.87, -0.52, 0.82, 0.24, 0.13, 0.71, 0.25, 0.14, 0.14, 1.8]
    }
  ]
}

tidy() snapshot value of mvgam_example4

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["parameter", "type", "mean", "sd", "2.5%", "50%", "97.5%"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2, 3, 4, 5, 6, 7, 8]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "character",
      "attributes": {},
      "value": ["sigma_obs[1]", "sigma_obs[2]", "(Intercept)", "seriesseries_2", "rho_gp[1]", "rho_gp[2]", "alpha_gp[1]", "alpha_gp[2]"]
    },
    {
      "type": "character",
      "attributes": {},
      "value": ["observation_family_extra_param", "observation_family_extra_param", "observation_beta", "observation_beta", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param"]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.73, 0.86, -0.99, 0.51, 12, 7.7, 0.25, 0.25]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.18, 0.12, 0.14, 0.15, 7.3, 5.6, 0, 0]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.51, 0.8, -1.1, 0.38, 7.6, 3.4, 0.25, 0.25]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.75, 0.82, -1, 0.45, 9.2, 4.7, 0.25, 0.25]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.93, 1, -0.84, 0.7, 24, 16, 0.25, 0.25]
    }
  ]
}

tidy() snapshot value of mvgam_example6

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["parameter", "type"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "character",
      "attributes": {},
      "value": ["(Intercept)", "speciesspecies_2", "speciesspecies_3", "speciesspecies_4", "ar1[1]", "ar1[2]", "ar1[3]", "ar1[4]", "ar1[5]", "ar1[6]", "ar1[7]", "ar1[8]", "ar1[9]", "ar1[10]", "ar1[11]", "ar1[12]", "alpha_cor", "Sigma_1[1,1]", "Sigma_1[2,1]", "Sigma_1[3,1]", "Sigma_1[4,1]", "Sigma_1[1,2]", "Sigma_1[2,2]", "Sigma_1[3,2]", "Sigma_1[4,2]", "Sigma_1[1,3]", "Sigma_1[2,3]", "Sigma_1[3,3]", "Sigma_1[4,3]", "Sigma_1[1,4]", "Sigma_1[2,4]", "Sigma_1[3,4]", "Sigma_1[4,4]", "Sigma_2[1,1]", "Sigma_2[2,1]", "Sigma_2[3,1]", "Sigma_2[4,1]", "Sigma_2[1,2]", "Sigma_2[2,2]", "Sigma_2[3,2]", "Sigma_2[4,2]", "Sigma_2[1,3]", "Sigma_2[2,3]", "Sigma_2[3,3]", "Sigma_2[4,3]", "Sigma_2[1,4]", "Sigma_2[2,4]", "Sigma_2[3,4]", "Sigma_2[4,4]", "Sigma_3[1,1]", "Sigma_3[2,1]", "Sigma_3[3,1]", "Sigma_3[4,1]", "Sigma_3[1,2]", "Sigma_3[2,2]", "Sigma_3[3,2]", "Sigma_3[4,2]", "Sigma_3[1,3]", "Sigma_3[2,3]", "Sigma_3[3,3]", "Sigma_3[4,3]", "Sigma_3[1,4]", "Sigma_3[2,4]", "Sigma_3[3,4]", "Sigma_3[4,4]"]
    },
    {
      "type": "character",
      "attributes": {},
      "value": ["observation_beta", "observation_beta", "observation_beta", "observation_beta", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param", "trend_model_param"]
    }
  ]
}


nicholasjclark/mvgam documentation built on April 17, 2025, 9:39 p.m.