Creates a desc object.
desc(output = NULL, total = NULL, nbcol = NULL, y = NULL,
x1 = NULL, x2 = NULL, at.row = NULL, subjid = NULL,
type.desc = NULL, type = NULL, y.label = NULL, type.mod = NULL,
raw.output = NULL, contrast = NULL, contrast.name = NULL,
stat.name = NULL, regrouped = F, rbind.label = NULL,
title = NULL, y.levels.label = NULL)
a data.frame object
Boolean. Indicates if a column Total should be added or not
Numeric. number of columns that are not statistics
Character indicating the response variable
Character indicating a factor in the data
Character indicating a factor in the data
Character. Pass to spacetable function. Used to space the results (see spacetable
)
Character. Indicates in the data.frame the name of the column used to identify the Id of the subjects. If not null, it adds in the headers the number of unique subject per levels of x1 or y (if x1 is null).
Character. Can be "quali" "quanti" "lsmeans" or "quali_quanti"
Character. Can be "response" or "link"
Character. The label for y response variable
Character. The type of models the LS means are coming from (can be 'quali' or 'quanti')
Data.frame. The raw statistics unformatted from report.quali
, report.quanti
and report.lsmeans
Logical. Specify if the contrast function has been used after the emmeans function
Character. Corresponds to the label of the column in which the contrasts are specified Default value is 'contrast'.
Character. Indicates the name of the variable that report the statistics in report.quanti function. Default = "Statistics"
Logical. used to indicate if the desc object regroup several desc objects (see regroup.desc
)
Character. The name of the label in case several desc objects are regrouped
Character. The title of the desc object that will be printed and used in report.doc
Character. The label to be displayed in the table which indicates the level of y
A desc object
Used internally by codereport.XXX functions
# NOT RUN {
# }
# NOT RUN {
x=desc()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab