From 6b4e342b240baaf18150360986d15895fc80a937 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 15 Oct 2015 14:41:26 +0200 Subject: Add endpoint and GUS functions, roxygenize --- pkg/man/drift_data_JKI.Rd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkg/man/drift_data_JKI.Rd') diff --git a/pkg/man/drift_data_JKI.Rd b/pkg/man/drift_data_JKI.Rd index d7e6d3b..cc27985 100644 --- a/pkg/man/drift_data_JKI.Rd +++ b/pkg/man/drift_data_JKI.Rd @@ -1,4 +1,4 @@ -% Generated by roxygen2 (4.1.1): do not edit by hand +% Generated by roxygen2: do not edit by hand % Please edit documentation in R/drift_data_JKI.R \docType{data} \name{drift_data_JKI} @@ -22,8 +22,11 @@ published by the German Julius-Kühn Institute (JKI). The data were extracted from the spreadsheet cited below using the R code given in the example section. The spreadsheet is not included in the package as its licence is not clear. + + } \examples{ + \dontrun{ # This is the code that was used to extract the data library(readxl) @@ -34,13 +37,14 @@ as its licence is not clear. for (n in 1:8) { drift_data_raw <- read_excel(abdrift_path, sheet = n + 1, skip = 2) - drift_data <- as.matrix(drift_data_raw[1:9, 2:4]) + drift_data <- as.matrix(drift_data_raw[1:9, 2:4]) dimnames(drift_data) <- list(distance = as.integer(drift_data_raw[1:9, 1]), crop = JKI_crops) drift_data_JKI[[n]] <- drift_data } save(drift_data_JKI, file = "data/drift_data_JKI.RData") } + } \keyword{datasets} -- cgit v1.2.1