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

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

[复制链接]
发表于 2012-9-30 13:43:35 | 显示全部楼层 |阅读模式
linnet(spatstat)
linnet()所属R语言包:spatstat

                                         Create a Linear Network
                                         创建一个线性网络

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

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

Creates an object of class "linnet" representing a network of line segments.
创建类的一个对象"linnet"网络线段。


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


linnet(vertices, m, edges)



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

参数:vertices
Point pattern (object of class "ppp") specifying the vertices of the network.  
点模式(类的对象"ppp")指定的网络的顶点。


参数:m
Adjacency matrix. A matrix of logical values equal to TRUE when the corresponding vertices are joined by a line. (Specify either m or edges.)  
邻接矩阵。 A矩阵的逻辑值等于TRUE时,相应的顶点都加入了一行。 (请注明是m或edges。)


参数:edges
Edge list. A two-column matrix of integers, specifying all pairs of vertices that should be joined by an edge.  (Specify either m or edges.)  
边列表。两列矩阵的整数,指定所有对顶点应该加入由边缘。 (请注明是m或edges。)


Details

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

An object of class "linnet" represents a network of straight line segments in two dimensions. The function linnet creates such an object from the minimal information: the spatial location of each vertex (endpoint, crossing point or meeting point of lines) and information about which vertices are joined by an edge.
一种的类"linnet"的对象代表一个网络在两个维度的直线段。函数linnet创建这样一个对象的最低限度的信息:每个顶点的空间位置(端点,交叉点或线的交汇点)和顶点的信息都加入了边缘。

This function can take some time to execute, because the algorithm computes various properties of the network that are stored in the resulting object.
此功能可以采取一些时间来执行,因为该算法计算的网络,它们存储在所产生的对象的各种属性。


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

Object of class "linnet" representing the linear network.
对象类"linnet"的的线性网络。


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



Ang Qi Wei <a href="mailto:aqw07398@hotmail.com">aqw07398@hotmail.com</a> and
Adrian Baddeley <a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>




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

simplenet for an example of a linear network.
simplenet用于线性网络的一个例子。

methods.linnet for methods applicable to linnet objects.
methods.linnet为方法适用linnet对象。

ppp, psp.
ppp,psp。


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


  # letter 'A' specified by adjacency matrix[字母A指定的邻接矩阵]
  v <- ppp(x=(-2):2, y=3*c(0,1,2,1,0), c(-3,3), c(-1,7))
  m <- matrix(FALSE, 5,5)
  for(i in 1:4) m[i,i+1] <- TRUE
  m[2,4] <- TRUE
  m <- m | t(m)
  letterA <- linnet(v, m)
  plot(letterA)

  # letter 'A' specified by edge list[字母A指定的边列表]
  edg <- cbind(1:4, 2:5)
  edg <- rbind(edg, c(2,4))
  letterA <- linnet(v, edges=edg)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-15 23:08 , Processed in 0.027599 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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