Description Usage Arguments Details Value Author(s) References See Also Examples
The function calculates all possible crossvariograms within the values you referred.
1 | CrossVariogram(coord,values,n=15)
|
coord |
Dataframe containing the coordinates from Factorial Techniques. |
values |
Dataframe containing values from data. |
n |
Number of pairs. |
Only 2 dimension allowed.
Usually standarized values keep better performance.
Use n_pairs_opt
to evaluate it.
Object containing all possible CrossVariograms
Victor Vicente Palacios
Lark R.M. Robust estimation of the pseudo cross-variogram for cokriging soil properties. Eur J Soil Sci. 2002
n_pairs_opt,plot.crossvariogram
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data("iris")
Versicolor <- iris[which(iris$Species=='versicolor'),-5]
##Data Standarization
means_vers <- apply(Versicolor,2,mean)
sd_vers <- apply(Versicolor,2,sd)
Versicolor_st <- Versicolor
for (i in 1:length(Versicolor[1,]))
{Versicolor_st[,i] <- (Versicolor[,i]-means_vers[i])/sd_vers[i]}
##PrComp
PC_train <- princomp(Versicolor_st)
## CrossVariogram Calculation
CV_vers <- crossvariogram(as.data.frame(PC_train$scores[,1:2]),as.data.frame(Versicolor_st),11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.