{"id":13857394,"url":"https://github.com/emitanaka/sizzled","last_synced_at":"2025-04-04T09:30:51.851Z","repository":{"id":146656568,"uuid":"326286392","full_name":"emitanaka/sizzled","owner":"emitanaka","description":"An R-package to create experiments that require sample size calculation","archived":false,"fork":false,"pushed_at":"2021-07-02T09:33:00.000Z","size":161,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T02:35:48.771Z","etag":null,"topics":["r-package"],"latest_commit_sha":null,"homepage":"https://sizzled.emitanaka.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emitanaka.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-02T22:55:11.000Z","updated_at":"2025-03-22T08:13:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2469c70-fa0e-497f-8326-07cf56b22b98","html_url":"https://github.com/emitanaka/sizzled","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emitanaka%2Fsizzled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emitanaka%2Fsizzled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emitanaka%2Fsizzled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emitanaka%2Fsizzled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emitanaka","download_url":"https://codeload.github.com/emitanaka/sizzled/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247152870,"owners_count":20892567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r-package"],"created_at":"2024-08-05T03:01:35.455Z","updated_at":"2025-04-04T09:30:46.836Z","avatar_url":"https://github.com/emitanaka.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# sizzled \u003cimg src=\"man/figures/logo.png\" align=\"right\" alt=\"\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\u003c!-- badges: end --\u003e\n\nThe aim of sizzled package is to use some foundational aspects of edibble package but include extra functionality to support experiments that initially have an unknown structure, i.e. requiring calculation for sample size for some units. \n\n\n(WIP) There is not much to see here.\n\nBelow is not implemented. \n\n```{r, eval = FALSE}\nlibrary(edibble)\nlibrary(sizzled)\nout \u003c- start_design() %\u003e% \n  set_trts(treat = c(\"placebo\", \"vaccine\")) %\u003e% \n  set_units(person = symbol(\"npeople\")) %\u003e% \n  allocate_trts(treat ~ person) %\u003e% \n  randomise_trts() %\u003e% \n  serve_table()\n\n# trying different sample sizes, \n# output here is a list\nout %\u003e% \n  set_symbols(npeople = c(40, 100, 200))\n\n# standard sample size calculator\n# non-vectorised version\nout %\u003e% \n  set_symbols(npeople = siz(power = 80,\n                            sig_level = 0.05,\n                            alternative = \"two.sided\",\n                            effect = 3,\n                            target_group = treat))\n\n# vectorised version\nout %\u003e% \n  set_symbols(npeople = sizz(...))\n\n# proportion version\nout %\u003e% \n  set_symbols(npeople = sizp(...))\n\n# one that relies on other unit structures, etc\nout %\u003e% \n  set_symbols(npeople = sizzz(...))\n\n# add more z to have other variations, but more z usually means more\n# complex structure\n\n```\n\nOne shouldn't sizzle too much lest you overcook your edibble design. \n\nThe sizzling sound also could be the sound of the statistician silently boiling in anger when told to do yet another sample size calculation from their non-statistical colleague. Beware of that sizzling statistician.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femitanaka%2Fsizzled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femitanaka%2Fsizzled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femitanaka%2Fsizzled/lists"}