dispersion-class: dispersion class

Description Usage Arguments Value Slots

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S4 method for signature 'dispersion'
t(x)

## S4 method for signature 'dispersion'
show(object)

## S4 method for signature 'dispersion'
count(.Object)

## S4 method for signature 'dispersion'
freq(.Object)

## S4 method for signature 'dispersion'
trim(object, drop = NULL, merge = list(old = c(), new
  = c()))

Arguments

x

a dispersion object

object

a crosstab object to be adjusted

.Object

a dispersion object

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


nrauscher/corpus documentation built on May 23, 2019, 9:34 p.m.