curve_table | R Documentation |
Produces publication-ready tables with relevant statistics of interest for functions produced from the concurve package.
curve_table(data, levels, type = "c", format = "data.frame")
data |
Dataframe from a concurve function to produce a table for |
levels |
Levels of the consonance intervals or likelihood intervals that should be included in the table. |
type |
Indicates whether the table is for a consonance function or likelihood function. The default is set to "c" for consonance and can be switched to "l" for likelihood. |
format |
The format of the tables. The options include "data.frame" which is the default, "docx" (which creates a table for a word document), "pptx" (which creates a table for powerpoint), "latex", (which creates a table for a TeX document), and "image", which produces an image of the table. |
ggcurve()
curve_compare()
plot_compare()
## Not run:
library(concurve)
GroupA <- rnorm(500)
GroupB <- rnorm(500)
RandomData <- data.frame(GroupA, GroupB)
intervalsdf <- curve_mean(GroupA, GroupB, data = RandomData, method = "default")
(z <- curve_table(intervalsdf[[1]], format = "data.frame"))
(z <- curve_table(intervalsdf[[1]], format = "latex"))
(z <- curve_table(intervalsdf[[1]], format = "image"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.