autoDestr: Automated De-string Responses

Description Usage Arguments Value Author(s) Examples

View source: R/autoDestr.R

Description

Automated de-string responses after performing semnetcleaner

Usage

1
autoDestr(rmat, char = 10)

Arguments

rmat

A semnetcleaner filtered response matrix

char

Minimum number of characters in a string to be checked for destr. Defaults to 10

Value

A question asking whether the response should be de-string-ed. If yes, destr will be applied. If no, the next response will be checked

Author(s)

Alexander Christensen <[email protected]>

Examples

1
2
3
4
5
6
7
8
#create example stringed responses
stringed <- cbind(rowSums(cbind(rmat[,c(1,2)])),convmat)
#change name to stringed name
colnames(stringed)[1] <- "alligator.ant"


#automated de-string
convmat <- destr(stringed, 10)

AlexChristensen/SemNetToolbox documentation built on Aug. 7, 2018, 6:02 p.m.