get.q.df: Produce a data.frame from a open.pci.q object

Description Usage Arguments Value Examples

View source: R/q.method.R

Description

Produce a data.frame from a open.pci.q object

Usage

1

Arguments

q

A open.pci.q object

Value

Returns a data.frame with statements as rows and persons as columns. Each statement has a score on each person equal to the row it is put in by the person. The upper row has the highest value, the bottom row has the value 1. If a statement has not been put in a row, it gets 0 on this person.

Examples

1
2
3
4
qjson<-c("[[\"Running\"],[\"Walking\",\"Crawling\"],[\"Jumping\",\"Sprinting\",\"Jogging\"],[\"Strolling\",\"\",\"Standing\",\"Sitting\"]]",
         "[[\"Sitting\"],[\"Strolling\",\"Jogging\"],[\"Standing\",\"Sprinting\",\"Crawling\"],[\"Walking\",\"Running\",\"Jumping\"]]")
q<-get.q(qjson)
get.q.df(q)

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