item | R Documentation |
Distractor analysis
item(
data,
vars,
key = "D,C,A,D,D,A,D,B,D,A,A,D,C,C,B,C,D,A,A,B",
num = 1,
num1 = 1,
group = 3,
group1 = 3,
count = TRUE,
prop = FALSE,
sum = FALSE,
disc = FALSE,
sum1 = FALSE,
plot = FALSE,
angle = 90,
plot1 = FALSE,
disi,
plot2 = FALSE,
plot3 = FALSE,
width2 = 500,
height2 = 500,
width = 500,
height = 500,
width1 = 500,
height1 = 500,
width3 = 500,
height3 = 500
)
data |
The data as a data frame. |
vars |
. |
key |
. |
num |
. |
num1 |
. |
group |
. |
group1 |
. |
count |
. |
prop |
. |
sum |
. |
disc |
. |
sum1 |
. |
plot |
. |
angle |
. |
plot1 |
. |
disi |
. |
plot2 |
. |
plot3 |
. |
width2 |
. |
height2 |
. |
width |
. |
height |
. |
width1 |
. |
height1 |
. |
width3 |
. |
height3 |
. |
A results object containing:
results$instructions | a html | ||||
results$text | a preformatted | ||||
results$count | an array of tables | ||||
results$prop | an array of tables | ||||
results$sum | an array of tables | ||||
results$disc | a table | ||||
results$sum1 | an array of tables | ||||
results$plot2 | an image | ||||
results$plot | an image | ||||
results$plot1 | an image | ||||
results$total | an output | ||||
results$scoring | an output | ||||
results$plot3 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$disc$asDF
as.data.frame(results$disc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.