{
  "_id": "6a102e89acfb0bcc41c94526",
  "Package": "circhelp",
  "Type": "Package",
  "Title": "Circular Analyses Helper Functions",
  "Version": "1.3",
  "Authors@R": "c(person(\"Andrey\", \"Chetverikov\", email = \"andrey.chetverikov@uib.no\",\ncomment = c(ORCID = \"0000-0003-2767-6310\"), role = c(\"aut\", \"cre\")),\nperson(\"Eline\", \"Van Geert\", email = \"eline.vangeert@kuleuven.be\",\ncomment = c(ORCID = \"0000-0002-7848-5998\"),\nrole = c(\"ctb\")))",
  "Description": "Light-weight functions for computing descriptive\nstatistics in different circular spaces (e.g., 2pi, 180, or 360\ndegrees), to handle angle-dependent biases, pad circular data,\nand more. Specifically aimed for psychologists and\nneuroscientists analyzing circular data. Basic methods are\nbased on Jammalamadaka and SenGupta (2001) <doi:10.1142/4031>,\nremoval of cardinal biases is based on the approach introduced\nin van Bergen, Ma, Pratte, & Jehee (2015) <doi:10.1038/nn.4150>\nand Chetverikov and Jehee (2023)\n<doi:10.1038/s41467-023-43251-w>.",
  "URL": "https://achetverikov.github.io/circhelp/index.html,\nhttps://github.com/achetverikov/circhelp",
  "BugReports": "https://github.com/achetverikov/circhelp/issues",
  "License": "CC0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr, patchwork, ggplot2, MASS, ragg, Hmisc,\nggridges, superb, reshape2",
  "RdMacros": "mathjaxr",
  "BuildManual": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://achetverikov.r-universe.dev",
  "Date/Publication": "2026-05-12 21:54:49 UTC",
  "RemoteUrl": "https://github.com/achetverikov/circhelp",
  "RemoteRef": "HEAD",
  "RemoteSha": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 23:20:12 UTC",
    "User": "root"
  },
  "Author": "Andrey Chetverikov [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2767-6310>),\nEline Van Geert [ctb] (ORCID: <https://orcid.org/0000-0002-7848-5998>)",
  "Maintainer": "Andrey Chetverikov <andrey.chetverikov@uib.no>",
  "MD5sum": "db59833a74864f75e183ee00c1e0900d",
  "_user": "achetverikov",
  "_type": "src",
  "_file": "circhelp_1.3.tar.gz",
  "_fileid": "0b303b0d20a03447dd7be4d57c28ceecaed112fd4fb8dc2cdf87093d9dd32a4c",
  "_filesize": 3800451,
  "_sha256": "0b303b0d20a03447dd7be4d57c28ceecaed112fd4fb8dc2cdf87093d9dd32a4c",
  "_created": "2026-05-12T23:20:12.000Z",
  "_published": "2026-05-22T10:23:05.474Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77360921613,
      "time": 186,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6958095089"
    },
    {
      "job": 77360922358,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6958095007"
    },
    {
      "job": 77360922190,
      "time": 242,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6958097777"
    },
    {
      "job": 77360921545,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6958085120"
    },
    {
      "job": 77360921346,
      "time": 284,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6958054024"
    },
    {
      "job": 77360921386,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158250122"
    },
    {
      "job": 77360921663,
      "time": 151,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6958086240"
    },
    {
      "job": 77360922360,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6958081648"
    },
    {
      "job": 77360922014,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6958082518"
    }
  ],
  "_buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/achetverikov/circhelp",
  "_commit": {
    "id": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
    "author": "Andrey Chetverikov <1465806+achetverikov@users.noreply.github.com>",
    "committer": "Andrey Chetverikov <1465806+achetverikov@users.noreply.github.com>",
    "message": "Merge dev/remove-cardinal-biases-speedup: native P-spline replaces gamlss (v1.3)\n",
    "time": 1778622889
  },
  "_maintainer": {
    "name": "Andrey Chetverikov",
    "email": "andrey.chetverikov@uib.no",
    "orcid": "0000-0003-2767-6310"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "circular",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BAMBI",
      "role": "Suggests"
    },
    {
      "package": "ragg",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "superb",
      "role": "Suggests"
    },
    {
      "package": "ggridges",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    }
  ],
  "_owner": "achetverikov",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.1.4",
      "date": "2026-03-18"
    },
    {
      "name": "v1.2",
      "date": "2026-03-18"
    },
    {
      "name": "v1.3",
      "date": "2026-05-12"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "achetverikov",
      "count": 101,
      "uuid": 1465806
    }
  ],
  "_userbio": {
    "uuid": 1465806,
    "type": "user",
    "name": "Andrey Chetverikov",
    "description": "Associate Professor at the University of Bergen, studying decision-making under uncertainty in perception and memory"
  },
  "_downloads": {
    "count": 221,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/circhelp"
  },
  "_devurl": "https://github.com/achetverikov/circhelp",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/circhelp.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/achetverikov/circhelp",
  "_realowner": "achetverikov",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2024-07-04"
    }
  ],
  "_exports": [
    "angle_diff_180",
    "angle_diff_180_45",
    "angle_diff_360",
    "angle_diff_360_90",
    "angle_diff_90",
    "angle_diff_rad",
    "circ_corr",
    "circ_descr",
    "circ_lin_corr",
    "circ_loess",
    "circ_mean_180",
    "circ_mean_360",
    "circ_mean_rad",
    "circ_sd_180",
    "circ_sd_360",
    "circ_sd_rad",
    "correct_angle_rad",
    "density_asymmetry",
    "density_asymmetry_discrete",
    "pad_circ",
    "remove_cardinal_biases",
    "remove_cardinal_biases_discrete",
    "smoothed_circ_sd",
    "vm_circ_sd_deg_to_kappa",
    "vm_circ_sd_to_kappa",
    "vm_kappa_to_circ_sd",
    "vm_kappa_to_circ_sd_deg",
    "weighted_circ_mean",
    "weighted_circ_mean2",
    "weighted_circ_rho",
    "weighted_circ_sd",
    "weighted_sem"
  ],
  "_datasets": [
    {
      "name": "Bae_Luck_2018_data",
      "title": "Data from a motion estimation task",
      "object": "Bae_Luck_2018_data",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "subject_Num",
        "trial_Num",
        "TargetDirection",
        "RespAngle",
        "motionCoh",
        "Block",
        "Session",
        "err"
      ],
      "rows": 20480,
      "table": true,
      "tojson": true
    },
    {
      "name": "Pascucci_et_al_2019_data",
      "title": "Data from an orientation estimation task",
      "object": "Pascucci_et_al_2019_data",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "observer",
        "orientation",
        "reported",
        "rt",
        "err"
      ],
      "rows": 4400,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "angle_diff_rad",
      "title": "Differences between angles in different circular spaces",
      "topics": [
        "angle_diff_180",
        "angle_diff_180_45",
        "angle_diff_360",
        "angle_diff_360_90",
        "angle_diff_90",
        "angle_diff_rad"
      ]
    },
    {
      "page": "Bae_Luck_2018_data",
      "title": "Data from a motion estimation task",
      "topics": [
        "Bae_Luck_2018_data"
      ]
    },
    {
      "page": "circ_corr",
      "title": "Circular correlation coefficient",
      "topics": [
        "circ_corr"
      ]
    },
    {
      "page": "circ_descr",
      "title": "A set of descriptive statistics for circular data",
      "topics": [
        "circ_descr"
      ]
    },
    {
      "page": "circ_lin_corr",
      "title": "Circular-linear correlation",
      "topics": [
        "circ_lin_corr"
      ]
    },
    {
      "page": "circ_loess",
      "title": "An implementation of circular-linear locally-weighted regression (LOESS)",
      "topics": [
        "circ_loess"
      ]
    },
    {
      "page": "circ_mean_rad",
      "title": "Circular mean",
      "topics": [
        "circ_mean_180",
        "circ_mean_360",
        "circ_mean_rad"
      ]
    },
    {
      "page": "circ_sd_rad",
      "title": "Circular standard deviation",
      "topics": [
        "circ_sd_180",
        "circ_sd_360",
        "circ_sd_rad"
      ]
    },
    {
      "page": "correct_angle_rad",
      "title": "Get angle value in [-pi, pi] space",
      "topics": [
        "correct_angle_rad"
      ]
    },
    {
      "page": "density_asymmetry",
      "title": "Compute asymmetry in weighted probability density",
      "topics": [
        "density_asymmetry"
      ]
    },
    {
      "page": "density_asymmetry_discrete",
      "title": "Compute asymmetry in weighted probability density for discrete data",
      "topics": [
        "density_asymmetry_discrete"
      ]
    },
    {
      "page": "pad_circ",
      "title": "Pad circular data on both ends",
      "topics": [
        "pad_circ"
      ]
    },
    {
      "page": "Pascucci_et_al_2019_data",
      "title": "Data from an orientation estimation task",
      "topics": [
        "Pascucci_et_al_2019_data"
      ]
    },
    {
      "page": "remove_cardinal_biases",
      "title": "Remove cardinal biases",
      "topics": [
        "remove_cardinal_biases"
      ]
    },
    {
      "page": "remove_cardinal_biases_discrete",
      "title": "Remove cardinal biases for data with orientation (color, motion, ...) set in discrete steps",
      "topics": [
        "remove_cardinal_biases_discrete"
      ]
    },
    {
      "page": "smoothed_circ_sd",
      "title": "Compute smoothed estimate of circular standard deviation",
      "topics": [
        "smoothed_circ_sd"
      ]
    },
    {
      "page": "vm_kappa_to_circ_sd",
      "title": "Conversion between the circular SD and kappa of von Mises",
      "topics": [
        "vm_circ_sd_deg_to_kappa",
        "vm_circ_sd_to_kappa",
        "vm_kappa_to_circ_sd",
        "vm_kappa_to_circ_sd_deg"
      ]
    },
    {
      "page": "weighted_circ_mean",
      "title": "Weighted circular parameters",
      "topics": [
        "weighted_circ_mean",
        "weighted_circ_mean2",
        "weighted_circ_rho",
        "weighted_circ_sd"
      ]
    },
    {
      "page": "weighted_sem",
      "title": "Weighted standard error of the mean (SEM_w)",
      "topics": [
        "weighted_sem"
      ]
    }
  ],
  "_readme": "https://github.com/achetverikov/circhelp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "MASS",
    "mathjaxr",
    "patchwork",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cardinal_biases.Rmd",
      "filename": "cardinal_biases.html",
      "title": "Correcting for cardinal biases to improve serial dependence estimates",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-01-03 16:45:54",
      "modified": "2025-08-11 09:32:26",
      "commits": 14
    },
    {
      "source": "serial_dependence_with_density_asymmetry.Rmd",
      "filename": "serial_dependence_with_density_asymmetry.html",
      "title": "Estimating serial dependence with density_asymmetry()",
      "author": "Andrey Chetverikov",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-09-04 11:38:20",
      "modified": "2026-03-18 16:59:17",
      "commits": 4
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "circhelp",
  "_universes": [
    "achetverikov"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-05-12T23:22:57.000Z",
      "distro": "noble",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "53085a2f2dfe19efa8b919afdca8a40c912d587f1a50183c3c63e850b26465a3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-05-12T23:22:56.000Z",
      "distro": "noble",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "a6c0a7f837c77d9723890d22d8050133de6c60ae0d2e15f684b90c97da6cfec5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-05-12T23:23:12.000Z",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "26d6d31f9c68513d521066571d068eac6424c6e36598a0ba7590fb12c24e4100",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3",
      "date": "2026-05-12T23:22:27.000Z",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "21cb6edec94f0abafe2a65858358af1aaa67aa55cb13e38cb30b22095d649940",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-05-12T23:22:00.000Z",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "e26f07642b52118a98a2fb12b690ce951287ff5007cdc54154215d8c344b38e6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3",
      "date": "2026-05-12T23:21:40.000Z",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "073add87df0a4e383845a5a411adc54bc58dbcad42dfc6ffa28c044c3b06259d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-05-12T23:21:45.000Z",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "7437278cc5018ed9bfb26c3191bc9907a2024862616a58d064ec63d01d91e3ef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3",
      "date": "2026-05-22T10:22:39.000Z",
      "commit": "699fb5181ee55942ea3324d9f339a6aaf68220c3",
      "fileid": "5a68e9395c86fc22874f168797b966ed4e93278a42c536b80e776108feb3eb95",
      "status": "success",
      "buildurl": "https://github.com/r-universe/achetverikov/actions/runs/25767815290"
    }
  ]
}