search for: validitymethod

Displaying 7 results from an estimated 7 matches for "validitymethod".

2008 Feb 08
2
learning S4
...d several doc. But I still have few questions... 1. To define 'representation', we can use two syntax : - representation=list(temps = 'numeric',traj = 'matrix') - representation(temps = 'numeric',traj = 'matrix') Is there any difference ? 2. 'validityMethod' check the intialisation of a new object, but not the latter modifications. Is it possible to set up a validation that check every modifications ? 3. When we use setMethod('initialize',...) does the validityMethod become un-used ? 4. Is it possible to set up several initializati...
2003 Aug 24
2
setClass question
...s: 16: stop(paste("Invalid \"", Class, "\" object: ", errors, sep = "")) 15: validObject(.Object) 14: .local(.Object, ...) 13: initialize(value, ...) 12: initialize(value, ...) 11: new("matrix.csr") 10: asMethod(object) 9: as(object, superClass) 8: validityMethod(as(object, superClass)) 7: identical(x, TRUE) 6: anyStrings(validityMethod(as(object, superClass))) 5: validObject(.Object) 4: .local(.Object, ...) 3: initialize(value, ...) 2: initialize(value, ...) 1: new("matrix.diag.csr", ra = 1:3, ja = 1:3, ia = 1:4, dimension = as.integer(c(3,...
2013 Jan 14
4
How to open grib file in R?
....25 degrees and contains 4 fields . I tried to open it using : grib <- readGDAL("C:\\Users\\aalyaari\\Desktop\\Vol_025_H14_2010060700.grib") but I got this error: C:\Users\aalyaari\Desktop\Vol_025_H14_2010060700.grib has GDAL driver GRIB and has 721 rows and 1440 columns Error in validityMethod(as(object, superClass)) : Geographical CRS given to non-conformant data: -90.125 90.125 Any idea why I am getting this error? -- View this message in context: http://r.789695.n4.nabble.com/How-to-open-grib-file-in-R-tp4655497.html Sent from the R help mailing list archive at Nabble.com.
2008 Jan 24
0
(lme4: lmer) mcmcsamp: Error in if (var(y) == 0)
...2.5% 25% 50% rolei:derivationI:log(dist.time) -2.19615 -2.19615 -2.19615 roler:derivationI:log(dist.time) -1.36876 -1.36876 -1.36876 > traceback() 11: asMethod(object) 10: as(object, superClass) 9: validityMethod(as(object, superClass)) 8: identical(x, TRUE) 7: anyStrings(validityMethod(as(object, superClass))) 6: validObject(.Object) 5: initialize(value, ...) 4: initialize(value, ...) 3: new(if (is(object, "glmer")) "summary.glmer" else { if (is(object, "lmer"))...
2007 Mar 04
1
Problem using callNextMethod() in S4
...a/CRAN/Workspaces/tests" [1] "---setValidity:baseClass---" [1] "myname = testname" [1] "mydir = " Error in validObject(.Object) : invalid class "derivedClass" object: mydir = In addition: Warning message: 'mydir' is not a system directory in: validityMethod(as(object, superClass)) > Can someone tell me why mydir gives an error although it is defined correctly? Thank you in advance Best regards Christian _._._._._._._._._._._._._._._._ C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a _._._._._._._._._._._._._._._._
2015 May 28
3
S4 inheritance and old class
Hey everyone, I would like to develop a package using S4 classes. I have to define several S4 classes that inherits from each others as follow: # A <- B <- C <- D I also would like to define .DollarNames methods for these class so, if I have understood well, I also have to define an old class as follow: # AOld <- A <- B <- C <- D setOldClass(Classes = "AOld")
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
...l have few questions... > > 1. To define 'representation', we can use two syntax : > - representation=list(temps = 'numeric',traj = 'matrix') > - representation(temps = 'numeric',traj = 'matrix') > Is there any difference ? > 2. 'validityMethod' check the intialisation of a new object, but not > the latter > modifications. Is it possible to set up a validation that check > every > modifications ? > 3. When we use setMethod('initialize',...) does the validityMethod > become un-used ? > 4. Is it possib...