sagang_multipleregressionanalysisgridandpredictorgrids: QGIS algorithm - Multiple regression analysis (grid and...

View source: R/sagang_multipleregressionanalysisgridandpredictorgrids.R

sagang_multipleregressionanalysisgridandpredictorgridsR Documentation

QGIS algorithm - Multiple regression analysis (grid and predictor grids)

Description

QGIS Algorithm provided by SAGA Next Gen Multiple regression analysis (grid and predictor grids) (sagang:multipleregressionanalysisgridandpredictorgrids). —————- Arguments —————- DEPENDENT: Dependent Variable Argument type: raster Acceptable values: - Path to a raster layer PREDICTORS: Predictors Argument type: multilayer REGRESSION: Regression Argument type: rasterDestination Acceptable values: - Path for new raster layer RESIDUALS: Residuals Argument type: rasterDestination Acceptable values: - Path for new raster layer INFO_COEFF: Details: Coefficients Argument type: vectorDestination Acceptable values: - Path for new vector layer INFO_MODEL: Details: Model Argument type: vectorDestination Acceptable values: - Path for new vector layer INFO_STEPS: Details: Steps Argument type: vectorDestination Acceptable values: - Path for new vector layer RESAMPLING: Resampling Default value: 3 Argument type: enum Available values: - 0: (0) Nearest Neighbour - 1: (1) Bilinear Interpolation - 2: (2) Bicubic Spline Interpolation - 3: (3) B-Spline Interpolation Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' COORD_X: Include X Coordinate Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression COORD_Y: Include Y Coordinate Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression METHOD: Method Default value: 3 Argument type: enum Available values: - 0: (0) include all - 1: (1) forward - 2: (2) backward - 3: (3) stepwise Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' P_VALUE: Significance Level Default value: 5 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression CROSSVAL: Cross Validation Default value: 0 Argument type: enum Available values: - 0: (0) none - 1: (1) leave one out - 2: (2) 2-fold - 3: (3) k-fold Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' CROSSVAL_K: Cross Validation Subsamples Default value: 10 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression

Usage

sagang_multipleregressionanalysisgridandpredictorgrids(
  DEPENDENT = qgisprocess:::qgis_default_value(),
  PREDICTORS = qgisprocess:::qgis_default_value(),
  REGRESSION = qgisprocess:::qgis_default_value(),
  RESIDUALS = qgisprocess:::qgis_default_value(),
  INFO_COEFF = qgisprocess:::qgis_default_value(),
  INFO_MODEL = qgisprocess:::qgis_default_value(),
  INFO_STEPS = qgisprocess:::qgis_default_value(),
  RESAMPLING = qgisprocess:::qgis_default_value(),
  COORD_X = qgisprocess:::qgis_default_value(),
  COORD_Y = qgisprocess:::qgis_default_value(),
  METHOD = qgisprocess:::qgis_default_value(),
  P_VALUE = qgisprocess:::qgis_default_value(),
  CROSSVAL = qgisprocess:::qgis_default_value(),
  CROSSVAL_K = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

DEPENDENT

raster - Dependent Variable. Path to a raster layer.

PREDICTORS

multilayer - Predictors. .

REGRESSION

rasterDestination - Regression. Path for new raster layer.

RESIDUALS

rasterDestination - Residuals. Path for new raster layer.

INFO_COEFF

vectorDestination - Details: Coefficients. Path for new vector layer.

INFO_MODEL

vectorDestination - Details: Model. Path for new vector layer.

INFO_STEPS

vectorDestination - Details: Steps. Path for new vector layer.

RESAMPLING

enum of ⁠("(0) Nearest Neighbour", "(1) Bilinear Interpolation", "(2) Bicubic Spline Interpolation", "(3) B-Spline Interpolation")⁠ - Resampling. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

COORD_X

boolean - Include X Coordinate. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

COORD_Y

boolean - Include Y Coordinate. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

METHOD

enum of ⁠("(0) include all", "(1) forward", "(2) backward", "(3) stepwise")⁠ - Method. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

P_VALUE

number - Significance Level. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

CROSSVAL

enum of ⁠("(0) none", "(1) leave one out", "(2) 2-fold", "(3) k-fold")⁠ - Cross Validation. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

CROSSVAL_K

number - Cross Validation Subsamples. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

logical specifying if complete out of qgisprocess::qgis_run_algorithm() should be used (TRUE) or first output (most likely the main) should read (FALSE). Default value is TRUE.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • INFO_COEFF - outputVector - Details: Coefficients

  • INFO_MODEL - outputVector - Details: Model

  • INFO_STEPS - outputVector - Details: Steps

  • REGRESSION - outputRaster - Regression

  • RESIDUALS - outputRaster - Residuals


JanCaha/r_package_qgis documentation built on Nov. 3, 2024, 5:25 p.m.