Learn R Programming

TestDesign (version 1.7.0)

item_attrib-operators: Basic functions for item attribute objects

Description

Basic functions for item attribute objects

Usage

# S4 method for item_attrib,numeric
[(x, i, j, ..., drop = TRUE)

# S4 method for item_attrib dim(x)

# S4 method for item_attrib colnames(x)

# S4 method for item_attrib rownames(x)

# S4 method for item_attrib names(x)

# S4 method for item_attrib as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

an item_attrib object.

i, j

indices to use in subsetting.

...

not used, exists for compatibility.

drop

not used, exists for compatibility.

row.names

not used, exists for compatibility.

optional

not used, exists for compatibility.

Examples

Run this code
x <- itemattrib_science
x[1:10]
dim(x)
ncol(x)
nrow(x)
colnames(x)
rownames(x)
names(x)
as.data.frame(x)

Run the code above in your browser using DataLab