ipft (version 0.2.2)

ipfTransform: Transform function

Description

This function transforms the RSSI (Received Signal Strength Intensity) data to positive or exponential values

Usage

ipfTransform(data, trans = "positive", minRSSI = -104, maxRSSI = 0,
  noRSSI = 0, alpha = 24)

Arguments

data
a vector, matrix or data frame containing the RSSI vectors
trans
the transformations to perform
minRSSI
the minimum value for RSSI to consider when transforming the RSSI to positive values.
maxRSSI
the maximum value for RSSI to consider when transforming the RSSI to exponential values.
noRSSI
value used in the RSSI data to represent a not detected AP.
alpha
parameter for exponential transformation

Value

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

Examples

Run this code
    trainRSSI <- ipftrain[,1:168]
    ipfTransform(trainRSSI, trans = 'positive')

    trainRSSI <- ipftrain[,1:168]
    posTrainRSSI <- ipfTransform(trainRSSI, trans = 'positive')
    expTrainRSSI <- ipfTransform(posTrainRSSI, trans = 'exponential', maxRSSI = 104)

Run the code above in your browser using DataLab