search for: sibirica

Displaying 1 result from an estimated 1 matches for "sibirica".

Did you mean: siberica
2017 Jul 26
0
[R-pkgs] New Package vetr: Enforce Structural Requirements for S3 Objects
...vet(numeric(1L), 42) >? [1] TRUE There is no limit on template complexity: >> vet(matrix(integer(), ncol=3), matrix(1:12, 3)) >? [1] "`matrix(1:12, 3)` should have 3 columns (has 4)" > >> iris.template <- abstract(iris) >> levels(iris$Species)[3] <- 'sibirica' >> vet(iris.template, iris[1:10,]) >? [1] "`levels((iris[1:10, ])$Species)[3]` should be \"virginica\" >? (is \"sibirica\")" `vetr` implements programmable non-standard evaluation via recursive substitution of language objects: >> a <- quote...