knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Install the latest stable version of fgeo.krig with:
these_repos <- c(getOption("repos"), "https://forestgeo.github.io/drat") install.packages("fgeo.krig", repos = these_repos)
Install the development version of fgeo.krig with:
# install.packages("devtools") devtools::install_github("forestgeo/fgeo.krig")
library(fgeo.krig)
Using custom parameters and multiple soil variable.
params <- list( model = "circular", range = 100, nugget = 1000, sill = 46000, kappa = 0.5 ) vars <- c("c", "p") custom <- krig(soil_fake, vars, params = params, quiet = TRUE) # Showing only the first item of the resulting output as_tibble(custom)
Using automated parameters.
result <- krig(soil_fake, var = "c", quiet = TRUE) summary(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.