ipfTransform: Transform function

Description Usage Arguments Value Examples

Description

Transforms the RSSI (Received Signal Strength Intensity) data to positive or exponential values

Usage

1
2
ipfTransform(data, outRange = c(0, 1), outNoRSSI = 0, inRange = NULL,
  inNoRSSI = 0, trans = "scale", base = exp(1), alpha = 24)

Arguments

data

a vector, matrix or data frame containing the RSSI vectors

outRange

the desired range for the output RSSI data.

outNoRSSI

value desired in the RSSI output data to represent a not detected AP.

inRange

a vector containing the range of the RSSI value from the initial data

inNoRSSI

value used in the RSSI data to represent a not detected AP.

trans

the transformation to perform, 'scale' or 'exponential'

base

base for the 'exponential' transformation

alpha

alpha parameter for the 'exponential' transformation

Value

This function returns a vector, matrix or data frame containing the transformed data

Examples

1
2
3
    trainRSSI <- ipftrain[,1:168]
    ipfTransform(trainRSSI, inRange = c(-100, 0), outRange = c(1, 100),
                 inNoRSSI = NA, outNoRSSI = 0)

ipft documentation built on May 2, 2019, 7:23 a.m.

Related to ipfTransform in ipft...