Description Usage Arguments Value Author(s) See Also Examples
Takes a data frame with groups and a continuous abscissa, then returns the abscissa range for a given group.
1 2 3 4 5 6 | get_xrange(
dat,
x_name = maeve_options("x_name"),
group_name = maeve_options("group_name"),
reference_Dunnett = maeve_options("reference_Dunnett")
)
|
dat |
a data.frame including a numeric column and a factor column |
x_name |
character string with name of numeric column of interest |
group_name |
character string with name of factor column of interest |
reference_Dunnett |
character string with exact match to an element of grpnames. The exact match will be the reference group in Dunnett contrasts. |
a vector with two numbers giving the range of interest for dat[,x_name].
Bill Forrest forrest@gene.com
1 2 | test_dat <- expand.grid( x = 0:3, group = c('group_1','group_2') )
example_xrange <- maeve:::get_xrange( test_dat, 'x', 'group' )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.