ipfTransform {ipft} | R Documentation |
Transform function
Description
Transforms the RSSI (Received Signal Strength Intensity) data to positive or exponential values
Usage
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
trainRSSI <- ipftrain[,1:168]
ipfTransform(trainRSSI, inRange = c(-100, 0), outRange = c(1, 100),
inNoRSSI = NA, outNoRSSI = 0)
[Package ipft version 0.7.2 Index]