Description Usage Arguments Value Examples
Construct graphs from data tables containing psyFitted objects
1 2 | graFromFittedDT(dataT, byC, psyFCol, Xlab = "Duration (seconds)",
Ylab = "Proportion of Long Responses", Annotate = T)
|
dataT |
The data.table containing the psyFitted objects |
byC |
Name of the columns to contain the factors. There should be no duplicate rows.Can be a character vector or can be a single string with each name separated by commas. |
psyFCol |
Name of the column containing the psyFitted objects |
Xlab |
X axis label |
Ylab |
y axis label |
Annotate |
If TRUE, graphs will be annotated. |
A data table with the byC columns and a column containing ggplots
1 2 3 | data("exampleData",package="nlregVL")
result<-nlregVL::fitLSDT(dataF = exampleData,cD = "Duration",cNbS = "Nb1",cNbL = "Nb3",cBy = "Sub")
result2<-graFromFittedDT(dataT = result,byC = "Sub",psyFCol = "psyF")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.