{
  "_id": "6ace378aa14063b82c3b16e8",
  "Package": "trialSizing",
  "Type": "Package",
  "Title": "Tools for Experimental Design Sizing",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\n\"Willyan\", \"Bandeira\",\nemail = \"bandeira.wjab@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9430-3664\")\n),\nperson(\n\"Leonardo\", \"Pradebon\",\nemail = \"leonardopradebon@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-7827-6312\")\n),\nperson(\n\"Ivan\", \"Carvalho\",\nemail = \"carvalho.irc@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-7947-4900\")\n),\nperson(\n\"Murilo\", \"Loro\",\nemail = \"muriloloro@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-0241-4226\")\n)\n)",
  "Description": "Sizes field experiments from uniformity-trial data,\nfollowing the relationship between the coefficient of variation\nand plot size. Checks a trial for the spatial structure the\nsizing methods assume (semivariogram, Moran's I, kriged field\nmap), summarises the coefficient of variation over every plot\nshape the grid admits, and estimates the optimal plot size by\nthe modified maximum curvature method of Meier and Lessman\n(1971), by the linear response plateau (LRP) and quadratic\nresponse plateau (QRP) models, and by the closed form of\nParanaiba, Ferreira and Morais (2009), which can be compared\nside by side. From the coefficient of variation at the optimum\nit derives the number of replications needed to detect a given\ndifference between treatment means, as in Cargnelutti Filho and\nothers (2014). Every method returns standardised diagnostic\nstatistics, optional bootstrap uncertainty for the breakpoint,\nand publication-style plots.",
  "License": "GPL (>= 3)",
  "URL": "https://willyanjnr.github.io/trialSizing/,\nhttps://github.com/willyanjnr/trialSizing",
  "BugReports": "https://github.com/willyanjnr/trialSizing/issues",
  "Encoding": "UTF-8",
  "Language": "en",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Repository": "https://willyanjnr.r-universe.dev",
  "Date/Publication": "2026-08-05 12:38:08 UTC",
  "RemoteUrl": "https://github.com/willyanjnr/trialsizing",
  "RemoteRef": "HEAD",
  "RemoteSha": "175b5b28dd9223e5698e52bed7529332c8cf9596",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 13:13:13 UTC",
    "User": "root"
  },
  "Author": "Willyan Bandeira [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9430-3664>),\nLeonardo Pradebon [aut] (ORCID:\n<https://orcid.org/0000-0001-7827-6312>),\nIvan Carvalho [aut] (ORCID: <https://orcid.org/0000-0001-7947-4900>),\nMurilo Loro [aut] (ORCID: <https://orcid.org/0000-0003-0241-4226>)",
  "Maintainer": "Willyan Bandeira <bandeira.wjab@gmail.com>",
  "_user": "willyanjnr",
  "_type": "src",
  "_file": "trialSizing_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/82f73c1c80397431f0af50161cb92e32aff58d69fe711a99a57bf11edfb6f384",
  "_filesize": 3349301,
  "_sha256": "82f73c1c80397431f0af50161cb92e32aff58d69fe711a99a57bf11edfb6f384",
  "_expires": "2027-01-21T13:52:07.000Z",
  "_created": "2026-10-13T13:13:13.000Z",
  "_published": "2026-10-13T13:52:10.034Z",
  "_buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115316095876,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11815689116"
    },
    {
      "job": 115316095557,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11815704301"
    },
    {
      "job": 115316095452,
      "time": 284,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11820440561"
    },
    {
      "job": 115316095587,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11819435909"
    },
    {
      "job": 115313490118,
      "time": 339,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11816397258"
    },
    {
      "job": 115316095341,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11816358147"
    },
    {
      "job": 115316095441,
      "time": 173,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11815599256"
    },
    {
      "job": 115316095380,
      "time": 161,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11815964075"
    },
    {
      "job": 115316095424,
      "time": 120,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11815988779"
    }
  ],
  "_upstream": "https://github.com/willyanjnr/trialsizing",
  "_commit": {
    "id": "175b5b28dd9223e5698e52bed7529332c8cf9596",
    "author": "Willyan Bandeira <willyanpacm@gmail.com>",
    "committer": "Willyan Bandeira <willyanpacm@gmail.com>",
    "message": "CRAN Badge Up\n",
    "time": 1785933488
  },
  "_maintainer": {
    "name": "Willyan Bandeira",
    "email": "bandeira.wjab@gmail.com",
    "orcid": "0000-0002-9430-3664"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "willyanjnr",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-30",
      "n": 32
    },
    {
      "week": "2026-31",
      "n": 5
    },
    {
      "week": "2026-32",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "willyanjnr",
      "count": 41,
      "uuid": 159083890
    },
    {
      "user": "lpradebon",
      "count": 2,
      "uuid": 169814808
    }
  ],
  "_userbio": {
    "uuid": 159083890,
    "type": "user",
    "name": "Willyan Bandeira",
    "followers": 2
  },
  "_downloads": {
    "count": 219,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/trialSizing"
  },
  "_devurl": "https://github.com/willyanjnr/trialsizing",
  "_pkgdown": "https://willyanjnr.github.io/trialSizing/",
  "_searchresults": 23,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/trialSizing.html"
  ],
  "_homeurl": "https://github.com/willyanjnr/trialsizing",
  "_realowner": "willyanjnr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-05"
    }
  ],
  "_exports": [
    "calc_cv_shapes",
    "calc_paranaiba",
    "calc_replicates",
    "check_trial",
    "compare_methods",
    "fit_lrp",
    "fit_mcm",
    "fit_qrp"
  ],
  "_datasets": [
    {
      "name": "uniformity_trial",
      "title": "Simulated uniformity trial",
      "object": "uniformity_trial",
      "class": [
        "data.frame"
      ],
      "fields": [
        "trial",
        "row",
        "col01",
        "col02",
        "col03",
        "col04",
        "col05",
        "col06",
        "col07",
        "col08",
        "col09",
        "col10",
        "col11",
        "col12"
      ],
      "rows": 24,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calc_cv_shapes",
      "title": "CV by plot shape from a uniformity-trial grid",
      "topics": [
        "calc_cv_shapes"
      ]
    },
    {
      "page": "calc_paranaiba",
      "title": "Optimal plot size by the Paranaiba method",
      "topics": [
        "calc_paranaiba"
      ]
    },
    {
      "page": "calc_replicates",
      "title": "Estimate the optimal number of replications",
      "topics": [
        "calc_replicates"
      ]
    },
    {
      "page": "check_trial",
      "title": "Check a uniformity trial before sizing plots",
      "topics": [
        "check_trial"
      ]
    },
    {
      "page": "compare_methods",
      "title": "Compare the plot-size methods on the same trial",
      "topics": [
        "compare_methods"
      ]
    },
    {
      "page": "fit_lrp",
      "title": "Fit the Linear Response Plateau (LRP) model by grid search",
      "topics": [
        "fit_lrp"
      ]
    },
    {
      "page": "fit_mcm",
      "title": "Fit the Modified Maximum Curvature (MCM) plot-size model",
      "topics": [
        "fit_mcm"
      ]
    },
    {
      "page": "fit_qrp",
      "title": "Fit the Quadratic Response Plateau (QRP) model by grid search",
      "topics": [
        "fit_qrp"
      ]
    },
    {
      "page": "plot.lrp_fit",
      "title": "Plot an LRP fit (publication style)",
      "topics": [
        "plot.lrp_fit"
      ]
    },
    {
      "page": "plot.lrp_multi",
      "title": "Plot LRP fits for several trials (paginated grid)",
      "topics": [
        "plot.lrp_multi"
      ]
    },
    {
      "page": "plot.mcm_fit",
      "title": "Plot an MCM fit (publication style)",
      "topics": [
        "plot.mcm_fit"
      ]
    },
    {
      "page": "plot.mcm_multi",
      "title": "Plot MCM fits for several trials (paginated grid)",
      "topics": [
        "plot.mcm_multi"
      ]
    },
    {
      "page": "plot.paranaiba_fit",
      "title": "Plot Paranaiba estimates by trial",
      "topics": [
        "plot.paranaiba_fit"
      ]
    },
    {
      "page": "plot.qrp_fit",
      "title": "Plot a QRP fit (publication style)",
      "topics": [
        "plot.qrp_fit"
      ]
    },
    {
      "page": "plot.qrp_multi",
      "title": "Plot QRP fits for several trials (paginated grid)",
      "topics": [
        "plot.qrp_multi"
      ]
    },
    {
      "page": "plot.replicates_fit",
      "title": "Plot the number of replications",
      "topics": [
        "plot.replicates_fit"
      ]
    },
    {
      "page": "plot.trial_check",
      "title": "Field map of a checked uniformity trial",
      "topics": [
        "plot.trial_check"
      ]
    },
    {
      "page": "predict.lrp_fit",
      "title": "Predictions from an LRP fit",
      "topics": [
        "predict.lrp_fit"
      ]
    },
    {
      "page": "predict.mcm_fit",
      "title": "Predictions from an MCM fit",
      "topics": [
        "predict.mcm_fit"
      ]
    },
    {
      "page": "predict.qrp_fit",
      "title": "Predictions from a QRP fit",
      "topics": [
        "predict.qrp_fit"
      ]
    },
    {
      "page": "print.lrp_fit",
      "title": "Print an LRP fit",
      "topics": [
        "print.lrp_fit"
      ]
    },
    {
      "page": "print.lrp_multi",
      "title": "Print LRP fits for several trials",
      "topics": [
        "print.lrp_multi"
      ]
    },
    {
      "page": "print.method_comparison",
      "title": "Print a method comparison",
      "topics": [
        "print.method_comparison"
      ]
    },
    {
      "page": "print.trial_check",
      "title": "Print a trial check",
      "topics": [
        "print.trial_check"
      ]
    },
    {
      "page": "summary.lrp_fit",
      "title": "Summarize an LRP fit",
      "topics": [
        "summary.lrp_fit"
      ]
    },
    {
      "page": "summary.lrp_multi",
      "title": "Summarize LRP fits for several trials",
      "topics": [
        "summary.lrp_multi"
      ]
    },
    {
      "page": "summary.method_comparison",
      "title": "Summarize a method comparison",
      "topics": [
        "summary.method_comparison"
      ]
    },
    {
      "page": "summary.trial_check",
      "title": "Summarize a trial check",
      "topics": [
        "summary.trial_check"
      ]
    },
    {
      "page": "uniformity_trial",
      "title": "Simulated uniformity trial",
      "topics": [
        "uniformity_trial"
      ]
    }
  ],
  "_pkglogo": "https://github.com/willyanjnr/trialsizing/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/willyanjnr/trialsizing/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "check_trial.Rmd",
      "filename": "check_trial.html",
      "title": "Checking a uniformity trial",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why check first",
        "Data",
        "Running the check",
        "Reading the variogram",
        "The field map",
        "Several trials at once",
        "When the grid is awkward",
        "Where this fits",
        "References"
      ],
      "created": "2026-07-24 23:54:48",
      "modified": "2026-07-27 12:46:16",
      "commits": 3
    },
    {
      "source": "compare.Rmd",
      "filename": "compare.html",
      "title": "Comparing the methods",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why compare",
        "From a CV table",
        "From the raw grid",
        "Which statistics are comparable",
        "Weighting",
        "Intervals: the point of the exercise",
        "Several trials at once",
        "Choosing the methods",
        "Where this fits",
        "References"
      ],
      "created": "2026-07-24 23:54:48",
      "modified": "2026-07-27 12:46:16",
      "commits": 3
    },
    {
      "source": "cv_shapes.Rmd",
      "filename": "cv_shapes.html",
      "title": "CV by plot shape",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The step before the models",
        "Theory",
        "Shapes are not interchangeable at equal area",
        "Fewer plots, less information",
        "Data and basic use",
        "Same area, different orientation",
        "n falls as the plot grows",
        "Feeding the fitters",
        "Several trials at once",
        "Long-format data",
        "Where this fits",
        "References"
      ],
      "created": "2026-07-24 23:54:48",
      "modified": "2026-07-27 12:46:16",
      "commits": 3
    },
    {
      "source": "lrp.Rmd",
      "filename": "lrp.html",
      "title": "Linear Response Plateau (LRP)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "How the breakpoint is estimated",
        "References",
        "Data",
        "Basic use",
        "Plot",
        "Several trials at once",
        "Competing breakpoints",
        "Reproducing a fit from another package",
        "Deciding between basins",
        "Fine-tuning",
        "Warnings worth heeding",
        "Where to go next"
      ],
      "created": "2026-07-23 13:35:14",
      "modified": "2026-07-27 18:01:37",
      "commits": 7
    },
    {
      "source": "mcm.Rmd",
      "filename": "mcm.html",
      "title": "Modified Maximum Curvature (MCM)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "Two ways to estimate a and b",
        "References",
        "Data",
        "Basic use",
        "Choosing the estimator",
        "Plot",
        "Several trials at once",
        "Warnings worth heeding",
        "Where to go next"
      ],
      "created": "2026-07-23 13:35:14",
      "modified": "2026-07-27 12:46:16",
      "commits": 4
    },
    {
      "source": "replicates.Rmd",
      "filename": "replicates.html",
      "title": "Number of replications",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "Why this needs iteration",
        "References",
        "Basic use",
        "Design, significance level",
        "The full workflow",
        "Plot",
        "Reading the results",
        "Where to go next"
      ],
      "created": "2026-07-23 13:35:14",
      "modified": "2026-07-27 18:01:37",
      "commits": 5
    },
    {
      "source": "qrp.Rmd",
      "filename": "qrp.html",
      "title": "Quadratic Response Plateau (QRP)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "How the breakpoint is estimated",
        "References",
        "Data",
        "Basic use",
        "Plot",
        "Several trials at once",
        "Fine-tuning",
        "Warnings worth heeding",
        "Comparing with the other methods"
      ],
      "created": "2026-07-23 13:35:14",
      "modified": "2026-07-27 18:01:37",
      "commits": 5
    },
    {
      "source": "paranaiba.Rmd",
      "filename": "paranaiba.html",
      "title": "The Paranaiba method",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory",
        "How rho is estimated",
        "References",
        "Data",
        "Basic use",
        "Direction of the walk",
        "Three ways to supply the data",
        "Plot",
        "When results are flagged invalid",
        "How it compares"
      ],
      "created": "2026-07-23 13:35:14",
      "modified": "2026-07-27 12:46:16",
      "commits": 4
    },
    {
      "source": "validation.Rmd",
      "filename": "validation.html",
      "title": "Validation on simulated fields",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The idea",
        "The generator",
        "Recovering the autocorrelation",
        "Response of the CV-curve methods",
        "What this does and does not show",
        "Extending this to your own scenarios"
      ],
      "created": "2026-07-25 01:09:22",
      "modified": "2026-07-27 12:46:16",
      "commits": 2
    }
  ],
  "_score": 6.014940349792936,
  "_indexed": true,
  "_nocasepkg": "trialsizing",
  "_universes": [
    "willyanjnr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-13T13:15:28.000Z",
      "distro": "resolute",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/65f032df28ba5a3dac84715607242a99cae62b13be4b3fce70a9007819aafad1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-13T13:15:11.000Z",
      "distro": "resolute",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/2d4d33884a7887645b1a58215ddf6a4be24acaffd3e789cbb628ccbc1358d2a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-13T13:49:35.000Z",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/c4066319ef48aeb6a4c9ce57d092e02038f6c990764d231b0d08950227948515",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-13T13:43:55.000Z",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/453c4025025c81586824d010c66561d3169b37454ee70ecabf6c3299cb7dd852",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-13T13:15:02.000Z",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/9b20aad2e73d36a9200341e6a4c58206b10db68e00cdae1ead358be8de935087",
      "status": "success",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-13T13:14:41.000Z",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/f8e6d76ea7bbf52e3b445c00f838fda6dc2aa193b595c3da5c17b2f8d79c9e9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-13T13:14:26.000Z",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/31b75cdfefb92e806d9dcad0d147843abacb86f68b30c1f176666b5d496781fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-13T13:14:21.000Z",
      "commit": "175b5b28dd9223e5698e52bed7529332c8cf9596",
      "fileid": "https://r2.ropensci.org/9115d4d191d62a3d6a6504a33542373d7495c38a928b68fa4a7facb0f2f1719a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willyanjnr/actions/runs/38402456666"
    }
  ]
}