Learn R Programming

polmineR (version 0.6.1)

dispersion-class: dispersion class

Description

class to organize results from dispersion analysis

Drop unwanted columns in a dispersion object, and merge columns by either explicitly stating the columns, or providing a regex. If merge$old is length 1, it is assumed that a regex is provided

Usage

"count"(.Object)
"t"(x)
"show"(object)
"freq"(.Object)
"trim"(object, drop = NULL, merge = list(old = c(), new  = c()))

Arguments

.Object
a dispersion object
x
a dispersion object
object
a crosstab object to be adjusted
drop
defaults to NULL, or a character vector giving columns to be dropped
merge
a list giving columns to be merged or exactly one string with a regex (see examples)

Value

a modified crosstab object

Slots

call
call that generated this object
count
Object of class "character" the call that generated the object
freq
Object of class "character" the partition the analysis is based on
dim
dimensions of the object
query
the query / the queries that were used
sizes
Object of class "numeric" the size of the partition