print.FormatOccurrence {itsdm} | R Documentation |
Print summary information from FormatOccurrence
object.
Description
Display the type and number of training and evaluation dataset
in the formatted observations obtained by
function format_observation
.
Usage
## S3 method for class 'FormatOccurrence'
print(x, ...)
Arguments
x |
( |
... |
Not used. |
Value
The same object that was passed as input.
See Also
Examples
library(dplyr)
library(itsdm)
data("occ_virtual_species")
# obs + eval, presence-absence
obs_df <- occ_virtual_species %>% filter(usage == "train")
eval_df <- occ_virtual_species %>% filter(usage == "eval")
x_col <- "x"
y_col <- "y"
obs_col <- "observation"
obs_type <- "presence_absence"
obs_formatted <- format_observation(
obs_df = obs_df, eval_df = eval_df,
x_col = x_col, y_col = y_col, obs_col = obs_col,
obs_type = obs_type)
print(obs_formatted)
[Package itsdm version 0.2.1 Index]