Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gebhardt, Albrecht
akima
Commits
06b42e8b
Commit
06b42e8b
authored
Mar 30, 2022
by
Albrecht Gebhardt
Browse files
small fixes
parent
5509f5b3
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
06b42e8b
...
...
@@ -28,7 +28,7 @@ Imports: sp
NeedsCompilation: yes
Packaged: 2020-05-30 09:17:28 UTC; ripley
Author: Hiroshi Akima [aut, cph] (Fortran code (TOMS 760, 761, 697 and 433)),
Albrecht Gebhardt [aut, cre, cph] (R port (interp*
functions
, bicubic*
Albrecht Gebhardt [aut, cre, cph] (R port (interp*, bicubic*
functions), bilinear code),
Thomas Petzold [ctb, cph] (aspline function),
Martin Maechler [ctb, cph] (interp2xyz function + enhancements),
...
...
R/interp.R
View file @
06b42e8b
...
...
@@ -13,7 +13,7 @@ interp <-
sp.z
<-
NULL
sp.proj4string
<-
NULL
if
(
is.null
(
y
)
&&
is.character
(
z
)){
if
(
inherits
(
x
,
"SpatialPointsDataFrame"
){
if
(
inherits
(
x
,
"SpatialPointsDataFrame"
)
)
{
sp.coord
<-
dimnames
(
coordinates
(
x
))[[
2
]]
sp.z
<-
z
sp.proj4string
<-
x
@
proj4string
...
...
R/interpp.R
View file @
06b42e8b
...
...
@@ -10,14 +10,14 @@
sp.z
<-
NULL
sp.proj4string
<-
NULL
if
(
is.null
(
y
)
&&
is.character
(
z
)){
if
(
inherits
(
xo
,
"SpatialPointsDataFrame"
){
if
(
inherits
(
xo
,
"SpatialPointsDataFrame"
)
)
{
yo
<-
coordinates
(
xo
)[,
2
]
xo
<-
coordinates
(
xo
)[,
1
]
}
else
stop
(
paste
(
"either x,y,z,xo,yo have to be numeric vectors"
,
"or both x and xo have to be SpatialPointsDataFrames"
,
"and z a name of a data column in x"
))
if
(
inherits
(
x
,
"SpatialPointsDataFrame"
){
if
(
inherits
(
x
,
"SpatialPointsDataFrame"
)
)
{
sp.coord
<-
dimnames
(
coordinates
(
x
))[[
2
]]
sp.z
<-
z
sp.proj4string
<-
x
@
proj4string
...
...
configure
View file @
06b42e8b
This diff is collapsed.
Click to expand it.
configure.ac
View file @
06b42e8b
# package/configure.in
AC_PREREQ([2.
71
])
AC_PREREQ([2.
69
])
AC_INIT([akima],[0.6-3])
AC_CONFIG_SRCDIR(src/tripack.f)
#if you want to use more macros
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment