Package: n2kanalysis 0.3.2

Thierry Onkelinx

n2kanalysis: Generic Functions to Analyse Data from the 'Natura 2000' Monitoring

All generic functions and classes for the analysis for the 'Natura 2000' monitoring. The classes contain all required data and definitions to fit the model without the need to access other sources. Potentially they might need access to one or more parent objects. An aggregation object might for example need the result of an imputation object. The actual definition of the analysis, using these generic function and classes, is defined in dedictated analysis R packages for every monitoring scheme. For example 'abvanalysis' and 'watervogelanalysis'.

Authors:Thierry Onkelinx [aut, cre], Research Institute for Nature and Forest [cph, fnd]

n2kanalysis_0.3.2.tar.gz
n2kanalysis_0.3.2.zip(r-4.4)
n2kanalysis_0.3.2.tgz(r-4.4-any)n2kanalysis_0.3.2.tgz(r-4.3-any)
n2kanalysis_0.3.2.tar.gz(r-4.5-noble)n2kanalysis_0.3.2.tar.gz(r-4.4-noble)
n2kanalysis.pdf |n2kanalysis.html
n2kanalysis/json (API)
NEWS

# Install 'n2kanalysis' in R:
install.packages('n2kanalysis', repos = c('https://inbo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/inbo/n2kanalysis/issues

On CRAN:

analysismonitoringnatura2000

3.18 score 1 stars 7 scripts 52 exports 75 dependencies

Last updated 10 months agofrom:07ef66200f. Checks:OK: 4 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 08 2024
R-4.5-linuxOKDec 08 2024
R-4.4-winOKDec 08 2024
R-4.4-macOKDec 08 2024
R-4.3-macERRORDec 10 2024

Exports:combinedelete_modeldisplayextractfit_every_modelfit_modelget_analysis_dateget_analysis_versionget_anomalyget_dataget_file_fingerprintget_formulaget_location_group_idget_modelget_model_parameterget_model_typeget_parentsget_resultget_scheme_idget_seedget_species_group_idget_status_fingerprintinla_inversemanifest_yaml_to_bashmark_obsolete_datasetn2k_aggregaten2k_compositen2k_hurdle_imputedn2k_importn2k_inlan2k_inla_comparisonn2k_manifestn2k_model_imputedparent_statusparent_status<-read_manifestread_modelread_resultresult_estimateresult_metadataselect_factor_count_strictly_positiveselect_factor_thresholdselect_observed_rangesession_packagesha1statusstatus<-store_manifeststore_manifest_yamlstore_modelunionvalidObject

Dependencies:askpassassertthataws.s3aws.signaturebase64encbitbit64blobbootclassclassIntclicpp11curlDBIdigestdplyre1071fansifmesherfsgenericsgit2rgluehmshttrINLAjsonliteKernSmoothlatticelazyevallifecyclelme4lubridatemagrittrMASSMatrixMatrixModelsmimeminqamultimputmvtnormn2khelpernlmenloptrodbcopensslpillarpkgconfigplyrproxypurrrR6RcppRcppEigenrlangRODBCRPostgreSQLs2sfspstringistringrsystibbletidyrtidyselecttimechangeunitsutf8vctrswithrwkxml2yaml

Using n2kanalysis to analyse monitoring data

Rendered fromworkflow.Rmdusingknitr::rmarkdownon Dec 08 2024.

Last update: 2024-02-12
Started: 2024-02-12

Readme and manuals

Help Manual

Help pageTopics
Combine multiple n2k objectscombine combine,n2kAnalysisVersion-method combine,n2kAnalysisVersion-methods combine,n2kAnamoly-methods combine,n2kAnomaly-method combine,n2kParameter-method combine,n2kParameter-methods combine,n2kResult-method combine,n2kResult-methods
Delete an 'n2kModel' objectdelete_model delete_model,ANY,character-method delete_model,ANY,s3_bucket-method
Display a message.display
Extract the relevant coefficientsextract extract,ANY,character-method extract,ANY,n2kInla-method extract,character-methods extract,n2kInla-methods
Fit the model to the analysis filesfit_every_model
Fit an 'n2kModel' objectfit_model fit_model,character-method fit_model,n2kAggregate-method fit_model,n2kComposite-method fit_model,n2kHurdleImputed-method fit_model,n2kInla-method fit_model,n2kInlaComparison-method fit_model,n2kManifest-method fit_model,n2kModelImputed-method fit_model,s3_object-method
Get the analysis date of an 'n2kModel' objectget_analysis_date get_analysis_date,n2kAnalysisMetadata-method get_analysis_date,n2kModel-methods
Get an analysis versionget_analysis_version get_analysis_version,data.frame-method get_analysis_version,n2kAnalysisMetadata-method get_analysis_version,n2kAnalysisMetadata-methods get_analysis_version,sessionInfo-method get_analysis_version,sessionInfo-methods
Get the anomalies from a modelget_anomaly get_anomaly,n2kInla-method get_anomaly,n2kInla-methods get_anomaly,n2kModel-method
Get the data of an 'n2kModel' objectget_data get_data,n2kInla-method get_data,n2kInla-methods
Get the file fingerprint of an 'n2kModel' objectget_file_fingerprint get_file_fingerprint,n2kAnalysisMetadata-method get_file_fingerprint,n2kAnalysisMetadata-methods get_file_fingerprint,n2kManifest-method get_file_fingerprint,n2kManifest-methods
Get the formula of an 'n2kModel' objectget_formula get_formula,n2kAnalysisMetadata-method get_formula,n2kAnalysisMetadata-methods
Get the location group id of an 'n2kModel' objectget_location_group_id get_location_group_id,n2kAnalysisMetadata-method get_location_group_id,n2kAnalysisMetadata-methods
Get the model of a 'n2kModel' objectget_model get_model,character-method get_model,character-methods get_model,n2kInla-method get_model,n2kInla-methods
Add the model parameters from a modelget_model_parameter get_model_parameter,n2kAggregate-method get_model_parameter,n2kComposite-method get_model_parameter,n2kHurdleImputed-method get_model_parameter,n2kInla-method get_model_parameter,n2kInlaComparison-method get_model_parameter,n2kModelImputed-method
Get the model type of an 'n2kModel' objectget_model_type get_model_type,n2kAnalysisMetadata-method get_model_type,n2kAnalysisMetadata-methods
Get the object of the parent analyses of an 'n2kModel' objectget_parents
Add the results from an analysisget_result get_result,character-method get_result,n2kInla-method get_result,n2kManifest-method get_result,n2kModel-method get_result,s3_object-method
Get the 'scheme_id' of an 'n2kModel' objectget_scheme_id get_scheme_id,n2kAnalysisMetadata-method get_scheme_id,n2kAnalysisMetadata-methods
Get the seed of an 'n2kModel' objectget_seed get_seed,n2kAnalysisMetadata-method get_seed,n2kAnalysisMetadata-methods
Get the species group id of an 'n2kModel' objectget_species_group_id get_species_group_id,n2kAnalysisMetadata-method get_species_group_id,n2kAnalysisMetadata-methods
Get the status fingerprint of an 'n2kModel' objectget_status_fingerprint get_status_fingerprint,n2kAnalysisMetadata-method get_status_fingerprint,n2kAnalysisMetadata-methods
Calculate the mean and 95\ marginalinla_inverse
Convert a manifest yaml file into a bash scriptmanifest_yaml_to_bash manifest_yaml_to_bash,character-method manifest_yaml_to_bash,s3_bucket-method
Find and mark obsolete datasetsmark_obsolete_dataset
Create an 'n2kAggregate' objectn2k_aggregate n2k_aggregate,ANY-method n2k_aggregate,n2kAggregate-methods
Create an 'n2kComposite' objectn2k_composite n2k_composite,data.frame-method n2k_composite,n2kComposite-methods
Create an 'n2kHurdleImputed' objectn2k_hurdle_imputed n2k_hurdle_imputed,n2kHurdleImputed-methods n2k_hurdle_imputed,n2kInla-method
Create an 'n2kImport' objectn2k_import n2k_import,ANY-method
Create an 'n2kInla' objectn2k_inla n2k_inla,data.frame,ANY-method n2k_inla,n2kInla,inla-method n2k_inla,n2kInla-methods
Create an 'n2kInlaComparison' objectn2k_inla_comparison n2k_inla_comparison,data.frame-method n2k_inla_comparison,n2kInlaComparison-methods
Create an 'n2kManifest' objectn2k_manifest n2k_manifest,data.frame-method n2k_manifest,n2kManifest-methods
Create an 'n2kModelImputed' objectn2k_model_imputed n2k_model_imputed,ANY-method n2k_model_imputed,n2kModelImputed-methods
The 'n2kAggregate' classn2kAggregate-class
The 'n2kAnalysisMetadata' classn2kAnalysisMetadata-class
The 'n2kAnalysisVersion' classn2kAnalysisVersion-class
The 'n2kAnomaly' classn2kAnomaly-class
The 'n2kComposite' classn2kComposite-class
The 'n2kContrast' classn2kContrast-class
The 'n2kHurdleImputed' classn2kHurdleImputed-class
The 'n2kImport' classn2kImport-class
The 'n2kInla' classn2kInla-class
The 'n2kInlaComparison' classn2kInlaComparison-class
The 'n2kManifest' classn2kManifest-class
The 'n2kModel' classn2kModel-class
The 'n2kModelImputed' classn2kModelImputed-class
The 'n2kParameter' classn2kParameter-class
The 'n2kResult' classn2kResult-class
Get the parent status of an 'n2kModel'parent_status parent_status,n2kAnalysisMetadata-method parent_status,n2kAnalysisMetadata-methods
Overwrite the status of an 'n2kAnalysisMetadata'parent_status<- parent_status<-,n2kComposite-method
Read a 'n2kManifest' objectread_manifest read_manifest,character-method read_manifest,s3_bucket-method
Read an 'n2kModel' objectread_model read_model,ANY,ANY-method read_model,ANY,character-method read_model,ANY,s3_bucket-method
Read an 'n2kResult' objectread_result read_result,ANY,ANY-method read_result,ANY,character-method read_result,ANY,s3_bucket-method
Aggregate all results estimates in a single dataframeresult_estimate result_estimate,character-method result_estimate,n2kResult-method
Aggregate all results meta data in a single dataframeresult_metadata result_metadata,character-method result_metadata,n2kResult-method
Select data based on the number of presences per categoryselect_factor_count_strictly_positive
Select the observations based on the average of a factorselect_factor_threshold
Limit the observation to the range in which the species is presentselect_observed_range
Convert a 'sessionInfo()' to a data.frame of packagessession_package session_package,sessionInfo-method session_package,sessionInfo-methods
Get the status of an 'n2kModel'status status,character-method status,character-methods status,n2kAnalysisMetadata-method status,n2kAnalysisMetadata-methods
Overwrite the status of an 'n2kAnalysisMetadata'status<- status<-,n2kAggregate-method status<-,n2kComposite-method status<-,n2kHurdleImputed-method status<-,n2kInla-method status<-,n2kInlaComparison-method status<-,n2kModelImputed-method
Store an 'n2kManifest' objectstore_manifest store_manifest,ANY,character-method store_manifest,ANY,s3_bucket-method
Store a Docker configurationstore_manifest_yaml store_manifest_yaml,ANY,character-method store_manifest_yaml,ANY,s3_bucket-method
Store an 'n2kModel' objectstore_model store_model,ANY,character-method store_model,ANY,s3_bucket-method
Make a union of 'AnalysisVersions'union
Get the validity of objects in filesvalidObject,character-method validObject,character-methods