Learn R Programming

TestDesign (version 1.7.0)

st_attrib-operators: Basic functions for stimulus attribute objects

Description

Basic functions for stimulus attribute objects

Usage

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

# S4 method for st_attrib dim(x)

# S4 method for st_attrib colnames(x)

# S4 method for st_attrib rownames(x)

# S4 method for st_attrib names(x)

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

Arguments

x

a st_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 <- stimattrib_reading
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