[spcopula-commits] r108 - / pkg pkg/demo pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Sep 9 10:58:05 CEST 2013
Author: ben_graeler
Date: 2013-09-09 10:58:05 +0200 (Mon, 09 Sep 2013)
New Revision: 108
Modified:
pkg/DESCRIPTION
pkg/NAMESPACE
pkg/demo/pureSpVineCopula.R
pkg/demo/spCopula.R
pkg/man/calcBins.Rd
pkg/man/getNeighbours.Rd
pkg/man/getNeighbours.experimental.Rd
pkg/man/getStNeighbours.Rd
pkg/man/neighbourhood-class.Rd
pkg/man/neighbourhood.Rd
pkg/man/spCopPredict.Rd
pkg/man/stCopPredict.Rd
pkg/man/stNeighbourhood.Rd
spcopula_0.1-1.tar.gz
spcopula_0.1-1.zip
Log:
- moved sp and spacetime from depends to imports and adapted examples and demos to these changes.
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/DESCRIPTION 2013-09-09 08:58:05 UTC (rev 108)
@@ -10,7 +10,8 @@
Description: This package provides a framework to analyse via copulas spatial and spatio-temporal data provided in the format of the spacetime package. Additionally, support for calculating different multivariate return periods is implemented.
License: GPL-2
LazyLoad: yes
-Depends: copula (>= 0.999-7), spacetime (>= 1.0-2), VineCopula (>= 1.1-1), methods, R (>= 2.15.0)
+Depends: copula (>= 0.999-7), VineCopula (>= 1.1-1), methods, R (>= 2.15.0)
+Imports: sp, spacetime (>= 1.0-2)
URL: http://r-forge.r-project.org/projects/spcopula/
Collate:
Classes.R
Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/NAMESPACE 2013-09-09 08:58:05 UTC (rev 108)
@@ -1,4 +1,5 @@
-import(copula, spacetime, VineCopula)
+import(copula, VineCopula)
+import(sp, spacetime)
# constructor
export(asCopula, cqsCopula)
Modified: pkg/demo/pureSpVineCopula.R
===================================================================
--- pkg/demo/pureSpVineCopula.R 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/demo/pureSpVineCopula.R 2013-09-09 08:58:05 UTC (rev 108)
@@ -1,6 +1,7 @@
## librarys ##
library(spcopula)
# library(evd)
+library(sp)
## meuse - spatial poionts data.frame ##
data(meuse)
Modified: pkg/demo/spCopula.R
===================================================================
--- pkg/demo/spCopula.R 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/demo/spCopula.R 2013-09-09 08:58:05 UTC (rev 108)
@@ -1,5 +1,6 @@
## librarys ##
library(spcopula)
+library(sp)
# library(evd)
## meuse - spatial poionts data.frame ##
Modified: pkg/man/calcBins.Rd
===================================================================
--- pkg/man/calcBins.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/calcBins.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -59,6 +59,7 @@
\code{\link{VineCopula-package}}
}
\examples{
+library(sp)
data(meuse)
coordinates(meuse) = ~x+y
dataSet <- meuse
Modified: pkg/man/getNeighbours.Rd
===================================================================
--- pkg/man/getNeighbours.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/getNeighbours.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -40,6 +40,7 @@
See \code{\link{neighbourhood}} for the native constructor of a \code{\linkS4class{neighbourhood}} class.
}
\examples{
+library(sp)
spdf <- data.frame(x=c(112,154,212,289,345),y=c(124,198,85,168,346),measure=rlnorm(5))
coordinates(spdf) <- ~x+y
Modified: pkg/man/getNeighbours.experimental.Rd
===================================================================
--- pkg/man/getNeighbours.experimental.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/getNeighbours.experimental.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -1,47 +1,48 @@
-\name{getNeighbours.experimental}
-\alias{getNeighbours.experimental}
-
-\title{
-Creating Local Neighbourhoods
-}
-\description{
-This function calculates a local neighbourhood to be used for fitting of spatial/spatio-temporal vine copulas and for prediction using spatial/spatio-temporal vine copulas.
-}
-\usage{
-getNeighbours.experimental(dataLocs, predLocs, var = names(dataLocs)[1], size = 5, prediction=FALSE, min.dist = 0.01)
-}
-\arguments{
- \item{dataLocs}{
-some spatial data frame holding the data used for estimation/prediction
-}
- \item{predLocs}{
-A spatial object defining the prediction locations, might be missing if the neighbourhood is used for fitting.
-}
- \item{var}{
-the variable name of interest, by default the first variable is used.
-}
- \item{size}{
-The size of the neighbourhood including the location of interest (for fitting as well for prediction).
-}
- \item{prediction}{whether the neighbourhood should be used for prediction (TRUE) or spatial/Spatio-temporal vine copula fitting.}
- \item{min.dist}{
-the minimal distance for a location to be included. Must be larger than 0 for fitting purposes and might be 0 for prediction.
-}
-}
-\value{
-An object of \code{\linkS4class{neighbourhood}}.
-}
-\author{
-Benedikt Graeler
-}
-
-\seealso{
-See \code{\link{neighbourhood}} for the native constructor of a \code{\linkS4class{neighbourhood}} class.
-}
-\examples{
-spdf <- data.frame(x=c(112,154,212,289,345),y=c(124,198,85,168,346),measure=rlnorm(5))
-coordinates(spdf) <- ~x+y
-
-getNeighbours.experimental(spdf,size=4)
-}
+\name{getNeighbours.experimental}
+\alias{getNeighbours.experimental}
+
+\title{
+Creating Local Neighbourhoods
+}
+\description{
+This function calculates a local neighbourhood to be used for fitting of spatial/spatio-temporal vine copulas and for prediction using spatial/spatio-temporal vine copulas.
+}
+\usage{
+getNeighbours.experimental(dataLocs, predLocs, var = names(dataLocs)[1], size = 5, prediction=FALSE, min.dist = 0.01)
+}
+\arguments{
+ \item{dataLocs}{
+some spatial data frame holding the data used for estimation/prediction
+}
+ \item{predLocs}{
+A spatial object defining the prediction locations, might be missing if the neighbourhood is used for fitting.
+}
+ \item{var}{
+the variable name of interest, by default the first variable is used.
+}
+ \item{size}{
+The size of the neighbourhood including the location of interest (for fitting as well for prediction).
+}
+ \item{prediction}{whether the neighbourhood should be used for prediction (TRUE) or spatial/Spatio-temporal vine copula fitting.}
+ \item{min.dist}{
+the minimal distance for a location to be included. Must be larger than 0 for fitting purposes and might be 0 for prediction.
+}
+}
+\value{
+An object of \code{\linkS4class{neighbourhood}}.
+}
+\author{
+Benedikt Graeler
+}
+
+\seealso{
+See \code{\link{neighbourhood}} for the native constructor of a \code{\linkS4class{neighbourhood}} class.
+}
+\examples{
+library(sp)
+spdf <- data.frame(x=c(112,154,212,289,345),y=c(124,198,85,168,346),measure=rlnorm(5))
+coordinates(spdf) <- ~x+y
+
+getNeighbours.experimental(spdf,size=4)
+}
\keyword{ spatial }
\ No newline at end of file
Modified: pkg/man/getStNeighbours.Rd
===================================================================
--- pkg/man/getStNeighbours.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/getStNeighbours.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -43,6 +43,7 @@
}
\examples{
## the spatial version:
+library(sp)
spdf <- data.frame(x=c(112,154,212,289,345),y=c(124,198,85,168,346),measure=rlnorm(5))
coordinates(spdf) <- ~x+y
Modified: pkg/man/neighbourhood-class.Rd
===================================================================
--- pkg/man/neighbourhood-class.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/neighbourhood-class.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -44,6 +44,7 @@
\code{\link{getNeighbours}}
}
\examples{
+library(sp)
spdf <- data.frame(x=c(112,154,212,289),y=c(124,198,85,168),measure=rlnorm(4))
coordinates(spdf) <- ~x+y
Modified: pkg/man/neighbourhood.Rd
===================================================================
--- pkg/man/neighbourhood.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/neighbourhood.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -25,6 +25,7 @@
\code{\linkS4class{neighbourhood}}, \code{\link{getNeighbours}}
}
\examples{
+library(sp)
spdf <- data.frame(x=c(112,154,212,289),y=c(124,198,85,168),measure=rlnorm(4))
coordinates(spdf) <- ~x+y
Modified: pkg/man/spCopPredict.Rd
===================================================================
--- pkg/man/spCopPredict.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/spCopPredict.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -48,6 +48,7 @@
spVineCop <- spVineCopula(spCop, vineCopula(4L))
+library(sp)
data(meuse.grid)
coordinates(meuse.grid) <- ~x+y
gridded(meuse.grid) <- TRUE
Modified: pkg/man/stCopPredict.Rd
===================================================================
--- pkg/man/stCopPredict.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/stCopPredict.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -46,6 +46,7 @@
spVineCop <- spVineCopula(spCop, vineCopula(4L))
+library(sp)
data(meuse.grid)
coordinates(meuse.grid) <- ~x+y
gridded(meuse.grid) <- TRUE
Modified: pkg/man/stNeighbourhood.Rd
===================================================================
--- pkg/man/stNeighbourhood.Rd 2013-09-09 06:49:39 UTC (rev 107)
+++ pkg/man/stNeighbourhood.Rd 2013-09-09 08:58:05 UTC (rev 108)
@@ -26,6 +26,7 @@
}
\examples{
## the spatial version
+library(sp)
spdf <- data.frame(x=c(112,154,212,289),y=c(124,198,85,168),measure=rlnorm(4))
coordinates(spdf) <- ~x+y
Modified: spcopula_0.1-1.tar.gz
===================================================================
(Binary files differ)
Modified: spcopula_0.1-1.zip
===================================================================
(Binary files differ)
More information about the spcopula-commits
mailing list