View source: R/general_help_functions.R
| plot_meanSE_longitudinal_twogroups | R Documentation | 
Function to plot mean and SE for longitudinal observations for twogroups compared
plot_meanSE_longitudinal_twogroups(
  thedata,
  columnnames,
  timepoints,
  observation
)
| thedata | the data where the observations are held | 
| columnnames | columnnames in the data where the intersted observations | 
| timepoints | the timepoints at which the descriptive analysis is done | 
| observation | name of the observations | 
the plot that shows mean and SE
eg_data <- as.data.frame(list(no = c(1, 2, 3, 4),
mark_at_1 = c(12, 7, 23, 45), gender = c("M", "F", "M", "F"),
mark_at_2 = c(12, 34, 89, 45), trialarm = c("1","1","2","2")))
plot_meanSE_longitudinal_twogroups(eg_data,  c("mark_at_1", "mark_at_2"),
c("1","2"), "mark")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.