q.distribution: Tabularize Q-method-data

Description Usage Arguments Value See Also Examples

View source: R/q.method.R

Description

Tabularize Q-method-data

Usage

1
q.distribution(qrows, exclude = NULL)

Arguments

qrows

A list of rows from get.q.rows()

exclude

A vector of values to exclude from the tabulation

Value

Returns a data.frame with three rows: Activity (the statements from wordrank), Frequency of this statement in this row, and the Row for which the Activity has this Frequency. Rows are numbered from the buttom (1) to the top (number of rows)

See Also

q.plot()

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)
qdist

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