search for: speclib

Displaying 5 results from an estimated 5 matches for "speclib".

2013 Mar 13
1
Registering method for "t.test"
Dear R-developers, in a new package, I'm currently working on, I tried to add a new method to function "t.test". The new class, on which the method is based, is called "speclib", so I defined the funcion for the new method as "t.test.speclib". R CMD check now gives always a warning, that S3 methods are not consistent, because R does not recognize that the basic function name is "t.test" instead of "t": t: function(x) t.test.speclib...
2020 May 22
3
Compatibility issues caused by new simplify argument in apply function
...ass the checks in R-devel. The workaround, Kurt Hornik send me, is working for the R-code: if("simplify" %in% names(formals(base::apply))) do something else do something else Unfortunately, I cannot conditionalize the man pages of the functions. I get the message that "applySpeclib.Rd:12-14: Section \Sexpr is unrecognized and will be dropped" if I try to dynamically define the entire usage section. If I try to use \Sexpr inside the \usage section, I get the following warning: "applySpeclib.Rd:13-15: Tag \Sexpr is invalid in a \usage block" Does anybody ha...
2020 May 22
2
Compatibility issues caused by new simplify argument in apply function
Interesting problem. I'm very rusty on S4 but would one solution be to, already now, add 'simplify = TRUE' to the S4 method and document it; setMethod("apply", signature(X = "Speclib"), function(X, FUN, bySI = NULL, ..., simplify = TRUE) { ? Henrik On Fri, May 22, 2020 at 6:26 AM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > You didn't explained what the error...
2017 Oct 23
0
hsdar is back on CRAN
hsdar is back on CRAN We are very happy to announce that a new version of the hsdar-package (hyperspectral data analysis in R) is available on CRAN. The introductory vignette is available here: https://cran.r-project.org/web/packages/hsdar/vignettes/Hsdar-intro.pdf The main class "Speclib" has been changed in that the additional information is now stored in the SI slot (function "SI" replaced "attribute" for update/access). This change was used to restructure how the supplementary data is internally stored and allows the user to use e.g. raster images as...
2020 May 22
0
Compatibility issues caused by new simplify argument in apply function
...around, Kurt Hornik send me, is working for the R-code: > if("simplify" %in% names(formals(base::apply))) > do something > else > do something else > > Unfortunately, I cannot conditionalize the man pages of the functions. I get > the message > that "applySpeclib.Rd:12-14: Section \Sexpr is unrecognized and will be > dropped" if I try to > dynamically define the entire usage section. If I try to use \Sexpr inside the > \usage section, > I get the following warning: "applySpeclib.Rd:13-15: Tag \Sexpr is invalid in > a \usage block&qu...