destr: De-string Responses

Description Usage Arguments Value Author(s) Examples

View source: R/destr.R

Description

De-string responses after performing semnetcleaner

Usage

1
destr(rmat, column, sep)

Arguments

rmat

A semnetcleaner filtered response matrix

column

The column number or name of the stringed response

sep

Separating string character (e.g., " ", ".", ","). Must be input as a character

Value

The response matrix with the string column merged into appropriate response columns and the string response removed

Author(s)

Alexander Christensen <[email protected]>

Examples

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

#de-string
convmat <- destr(stringed, 1, ".")

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