|
|||||||
Objects from the ClassThis object is a list where each component is a vector of grid points in a particular dimension. For example
would create this object for a 2d grid with 20 and 15 points over the ranges [-1,1] and [0,1]. The component names ( "x" and "y" in this case) are optional. The function Methods
Author(s)Doug Nychka See AlsoLKrigDistance and LKrigDistGrid LKrigLatticeCenters ExamplesshowClass("gridList") # a 3-d grid grid<- structure( list( x= seq( -1,1,,20), y= seq( 0,1,,15) ,oneMore = 1:10) , class= "gridList" ) ResultsR version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(LatticeKrig) Loading required package: spam Loading required package: grid Spam version 1.3-0 (2015-10-24) is loaded. Type 'help( Spam)' or 'demo( spam)' for a short introduction and overview of this package. Help for individual functions is also obtained by adding the suffix '.spam' to the function name, e.g. 'help( chol.spam)'. Attaching package: 'spam' The following objects are masked from 'package:base': backsolve, forwardsolve Loading required package: fields Loading required package: maps # maps v3.1: updated 'world': all lakes moved to separate new # # 'lakes' database. Type '?world' or 'news(package="maps")'. # > png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/LatticeKrig/gridList-class.Rd_%03d_medium.png", width=480, height=480) > ### Name: gridList-class > ### Title: Class '"gridList"'. A description of a regular and > ### multidimensional grid. > ### Aliases: gridList-class gridListInfo gridList > ### Keywords: classes > > ### ** Examples > > showClass("gridList") Class "gridList" [package "LatticeKrig"] No Slots, prototype of class "numeric" > # a 3-d grid > grid<- structure( + list( x= seq( -1,1,,20), y= seq( 0,1,,15) ,oneMore = 1:10) , + class= "gridList" ) > > > > > > dev.off() null device 1 > |
|||||||
|