ipft (version 0.7.1)

ipfTransform: Transform function

Description

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

Usage

ipfTransform(data, outRange = c(0, 100), outNoRSSI = 0, inRange = NULL,
  inNoRSSI = 0, trans = "linear", 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, 'linear' 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

Run this code
# NOT RUN {
    trainRSSI <- ipftrain[,1:168]
    ipfTransform(trainRSSI, inRange = c(-100, 0), outRange = c(1, 100),
                 inNoRSSI = NA, outNoRSSI = 0)

# }

Run the code above in your browser using DataCamp Workspace