knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

Analyze soils

lifecycle Travis build status Coverage status CRAN status

Installation

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")

Example

library(fgeo.krig)

Krige soil data

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)

Get started with fgeo

Information



forestgeo/fgeo.krig documentation built on June 26, 2019, 8:09 p.m.