predict.Ad: predicting yield adaptability from genotypic sensibility...

View source: R/predicAd.R

predict.AdR Documentation

predicting yield adaptability from genotypic sensibility coefficients and raster files.

Description

predicting yield adaptability from genotypic sensibility coefficients and raster files.

Usage

## S3 method for class 'Ad'
predict(coef, cov.raster, df.x = NULL, yx = NULL,
  intercept = T)

Arguments

coef

data.frame containing genotype id (gid) and genotypic sensibility coefficients

cov.raster

is a raster or a raster stack file for environmental covariates

df.x

data.frame containing environmental covarites per pixel (used when cov.raster is NULL)

yx

data.frame containing geographic coordinates (latitude and longitude) per pixel (used when cov.raster is NULL)

intercept

TRUE (default) or FALSE if considering include fixed genotypic intercept

Author(s)

Germano M F Costa Neto


gcostaneto/frGIS documentation built on Jan. 4, 2024, 1:41 p.m.