inv_dis_wt {klovan} | R Documentation |
Inverse Distance Weighting
Description
This function applies the Inverse Distance Weighting interpolation algorithm
Usage
inv_dis_wt(data, num_fac = 3)
Arguments
data |
A dataset of class data.frame. The data should contain 'C_X' and 'C_Y' columns representing the x and y coordinates of the data points and excludes any rank, ID, or column not for analysis, see README for details |
num_fac |
a numeric value for how many factors to analyze. Recommended to use 3 and default to 3. |
Value
a data frame with interpolated data for the whole graph. Data frame has collumns: "C_X" "C_Y" "value" "FA": C_X, C_Y are coordinates and "value" is the value for the "FA" the relevant factor.
Examples
data("Klovan_Row80")
inv_dis_wt(Klovan_Row80, 4)
inv_dis_wt(Klovan_Row80, 3)
[Package klovan version 0.1.0 Index]