找回密码
 注册
查看: 336|回复: 0

R语言 SpatialExtremes包 rmaxstab()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:46:23 | 显示全部楼层 |阅读模式
rmaxstab(SpatialExtremes)
rmaxstab()所属R语言包:SpatialExtremes

                                        Simulation of Max-Stable Random Fields
                                         最大稳定的随机场模拟

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function generates realisation from a max-stable
此功能实现从最大稳定产生


用法----------Usage----------


rmaxstab(n, coord, cov.mod = "gauss", grid = FALSE, control =
list(), ...)



参数----------Arguments----------

参数:n
Integer. The number of observations.
整数。的若干意见。


参数:coord
A vector or matrix that gives the coordinates of each location. Each row corresponds to one location - if any.
的向量或基质,给出了每一个位置的坐标。每一行对应于一个位置 - 如果有的话。


参数:cov.mod
A character string that gives the max-stable model. This must be one of "gauss" for the Smith model, "brown" for the Brown–Resnick model,  or "whitmat", "cauchy", "powexp" and "bessel" for the Schlather model with the given  correlation family. If the latters are prefix by a "t", e.g., "twhitmat", this would corresponds to the extremal-t model.
一个字符的字符串,提供最大稳定的模型。这必须是一个“高斯”史密斯模型,布朗雷斯尼克模型,“棕色”或“whitmat”,“柯西”中,“powexp”和“贝塞尔”的Schlather模型在给定的相关家庭。如果后者是由一个“t”,例如中,“twhitmat”,这将相当于的极值-T模式的前缀。


参数:grid
Logical. Does the coordinates represent grid points?
逻辑。的坐标代表网格点吗?


参数:control
A named list with arguments 'nlines' (number of lines of the TBM simulation), 'method' the name of the simulation method - must be one of 'exact', 'tbm' or 'circ', and 'uBound' the uniform upper bound. See details.
命名列表的参数的nlines“(TBM模拟的行数),”方法“的模拟方法的名称 - 必须是一个精确,TBM或中国保监会,”UBOUND“的统一上限。查看详细信息。


参数:...
The parameters of the max-stable model. See details.
的最大稳定模型的参数。查看详细信息。


Details

详细信息----------Details----------

Users must supply the parameters for the max-stable model. For the Schlather model, users should supply the "nugget", "range" and "smooth" parameter values. For the Smith model, if coord is univariate you must specify var, otherwise users should supply the covariance parameters i.e. parameters with names such as cov11, cov12, ... For the extremal-t model, users should supply the "DoF", "nugget", "range" and "smooth" parameters. Finally for the Brown–Resnick model, users should supply the "range" and the "smooth" parameters.
用户必须提供的最大稳定模型的参数。 Schlather模型,用户应该提供的“狗头”,“范围”和“平稳”的参数值。 Smith模型,如果coord是单变量,你必须指定var,否则用户应提供的协方差参数,即参数的名称,如cov11,cov12,...对于的极值-T模式,用户应该提供的“自由度”,“狗头”,“范围”和“平稳”的参数。最后,为布朗雷斯尼克模型,用户应该提供的“范围”和“平稳”的参数。

Here are the details for each allowed components of 'control'. If 'method' is NULL (default), the function tries to find the  most appropriate simulation technique. Current simulation techniques are a direct approach, i.e. Cholesky decomposition of the covariance matrix, the turning bands and the circular embedding methods. If 'nlines' is NULL, it is set to 1000. If 'uBound' is NULL, it is set to reasonable values - for example 3.5 for the Schlather model.
这里的“控制权”让每个组件的详细信息。如果“方法”是NULL(默认),该函数试图找到最合适的模拟技术。目前的仿真技术是一种直接的方法,即Cholesky分解的协方差矩阵,转向带和圆形的嵌入方法。如果nlines是NULL,它被设置为1000。如果UBOUND是NULL,它被设置为合理值 - 例如3.5 Schlather模型。


值----------Value----------

A matrix containing observations from the required max-stable model. Each column represents one stations. If grid = TRUE, the function returns an array of dimension nrow(coord) x nrow(coord) x n.
矩阵的观测所需的最高稳定的模型。每一列代表一个站。如果grid = TRUE,该函数返回一个数组的维NROW(经纬度)所述NROW(经纬度)X N。


(作者)----------Author(s)----------


Mathieu Ribatet



参考文献----------References----------

Fields. Extremes 5:1,  33–44.
extremes. Unpublished manuscript.

参见----------See Also----------

fitmaxstab
fitmaxstab


实例----------Examples----------


## 1. Smith's model[#1。史密斯的模型]
set.seed(8)
x <- y <- seq(0, 10, length = 100)
coord <- cbind(x, y)
data <- rmaxstab(1, coord, "gauss", cov11 = 9/8, cov12 = 0, cov22 = 9/8,
  grid = TRUE)
##We change to unit Gumbel margins for visibility[#更改为单位冈贝尔边缘的能见度]
filled.contour(x, y, log(data), color.palette = terrain.colors)

## 2. Schlather's model[#2。 Schlather的模型]
data <- rmaxstab(1, coord, cov.mod = "powexp", nugget = 0, range = 3,
smooth = 1, grid = TRUE)
filled.contour(x, y, log(data), color.palette = terrain.colors)

## 3. Brown--Resnick's model **** Only available for non gridded points currently ****[#3。布朗 - 雷斯尼克的模型****仅适用于非网格点目前****]
data <- rmaxstab(1, x, cov.mod = "brown", range = 3, smooth = 0.5)
plot(x, log(data), type = "l")

## 4. Extremal-t model *** Very time consuming for 2d grids ***[#4。极值-T型号***非常费时的二维网格***]
data <- rmaxstab(1, x, "twhitmat", DoF = 4, nugget = 0, range = 3,
smooth = 0.7)
plot(x, log(data), type = "l")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 10:01 , Processed in 0.030188 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表