q.plot: Plot distribution of Q-method ordering

Description Usage Arguments Value Examples

View source: R/q.method.R

Description

Plot distribution of Q-method ordering

Usage

1
q.plot(qdist, title = NULL, subtitle = NULL, caption = NULL)

Arguments

qdist

The distributions of Q-method ordering from qdist()

title

The title of the plot

subtitle

The subtitle of the plot

caption

The caption of the plot

Value

Returns the plot (a ggplot which for example can be saved with ggsave())

Examples

1
2
3
4
5
6
qjson<-c("[[\"Running\"],[\"Walking\",\"Crawling\"],[\"Jumping\",\"Sprinting\",\"Jogging\"],[\"Strolling\",\"\",\"Standing\",\"Sitting\"]]",
         "[[\"Sitting\"],[\"Strolling\",\"Jogging\"],[\"Standing\",\"Sprinting\",\"Crawling\"],[\"Walking\",\"Running\",\"Jumping\"]]")
q<-get.q(qjson)
qrows<-get.q.rows(q)
qdist<-q.distribution(qrows)
qplot(qdist)

openPCI/OpenPCIScoring documentation built on June 10, 2021, 1:18 p.m.