-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdesign.Rd
71 lines (63 loc) · 1.75 KB
/
design.Rd
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
66
67
68
69
70
71
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/design.R
\name{design}
\alias{design}
\alias{redesign}
\title{Start the edibble design}
\usage{
design(
.title = NULL,
...,
.name = "edibble",
.record = TRUE,
.seed = NULL,
.provenance = Provenance$new()
)
redesign(
.data,
.title,
...,
.name = NULL,
.record = TRUE,
.seed = NULL,
.provenance = Provenance$new()
)
}
\arguments{
\item{.title}{Optional title of the experiment.}
\item{...}{A series of name-value pairs where the name corresponds to the
name of the metadata nad the value corresponds to the actual metadata value.
If the name is omitted, then no name to the metadata is assigned for the
corresponding value.}
\item{.name}{Optional name of the experiment.}
\item{.record}{A logical value. This indicates whether to record this
code step. The default is TRUE. It should remain TRUE unless this
function is used as a wrapper in other code.}
\item{.seed}{A seed number for reproducibility.}
\item{.provenance}{An environment setup in a manner to store methods and
information to trace the origin of the design}
\item{.data}{An edibble table.}
}
\value{
An empty \code{edbl_design} object.
}
\description{
This function doesn't really do much besides create a new edibble design object.
}
\examples{
design("My design")
}
\seealso{
Add variables to this design with \code{\link[=set_units]{set_units()}}, \code{\link[=set_trts]{set_trts()}}, and
\code{\link[=set_rcrds]{set_rcrds()}}.
Other user-facing functions:
\code{\link{allot_trts}()},
\code{\link{allot_units}()},
\code{\link{expect_rcrds}()},
\code{\link{export_design}()},
\code{\link{serve_table}()},
\code{\link{set_rcrds}()},
\code{\link{set_trts}()},
\code{\link{set_units}()}
}
\concept{user-facing functions}