search for: pres2

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

Did you mean: press
2024 Jun 09
2
head.ts, tail.ts loses time
...ts), presidents)) tail(pres, 2) tail(pres, 2-npresObs) tail(pres, 1:2) tail(pres, 2:1) tail(pres, 1:3) # for unit testing: headPres <- head(presidents) pres6 <- ts(presidents[1:6], time(presidents)[1], frequency=frequency(presidents)) stopifnot(all.equal(headPres, pres6)) headPres2 <- head(presidents, 2) pres2 <- ts(presidents[1:2], time(presidents)[1], frequency=frequency(presidents)) stopifnot(all.equal(headPres2, pres2)) npresObs <- length(presidents) headPres. <- head(presidents, 6-npresObs) stopifnot(all.equal(headPres., pres6)) headPresOops &l...
2024 Jun 10
1
head.ts, tail.ts loses time
...gt; > tail(pres, 1:2) > tail(pres, 2:1) > tail(pres, 1:3) > > # for unit testing: > headPres <- head(presidents) > pres6 <- ts(presidents[1:6], time(presidents)[1], > frequency=frequency(presidents)) > stopifnot(all.equal(headPres, pres6)) > > headPres2 <- head(presidents, 2) > pres2 <- ts(presidents[1:2], time(presidents)[1], > frequency=frequency(presidents)) > stopifnot(all.equal(headPres2, pres2)) > > npresObs <- length(presidents) > headPres. <- head(presidents, 6-npresObs) > stopifnot(all.equal(h...
2024 Jun 10
2
head.ts, tail.ts loses time
...>>> >>> # for unit testing: headPres <- head(presidents) pres6 >>> <- ts(presidents[1:6], time(presidents)[1], >>> frequency=frequency(presidents)) >>> stopifnot(all.equal(headPres, pres6)) >>> >>> headPres2 <- head(presidents, 2) pres2 <- >>> ts(presidents[1:2], time(presidents)[1], >>> frequency=frequency(presidents)) >>> stopifnot(all.equal(headPres2, pres2)) >>> >>> npresObs <- length(presidents) headPres. <- >>...
2024 Jun 10
1
head.ts, tail.ts loses time
...es, 2:1) >> tail(pres, 1:3) >> >> # for unit testing: >> headPres <- head(presidents) >> pres6 <- ts(presidents[1:6], time(presidents)[1], >> frequency=frequency(presidents)) >> stopifnot(all.equal(headPres, pres6)) >> >> headPres2 <- head(presidents, 2) >> pres2 <- ts(presidents[1:2], time(presidents)[1], >> frequency=frequency(presidents)) >> stopifnot(all.equal(headPres2, pres2)) >> >> npresObs <- length(presidents) >> headPres. <- head(presidents, 6-npresObs) &...
2024 Jun 11
1
head.ts, tail.ts loses time
...;>> # for unit testing: headPres <- head(presidents) pres6 > >>> <- ts(presidents[1:6], time(presidents)[1], > >>> frequency=frequency(presidents)) > >>> stopifnot(all.equal(headPres, pres6)) > >>> > >>> headPres2 <- head(presidents, 2) pres2 <- > >>> ts(presidents[1:2], time(presidents)[1], > >>> frequency=frequency(presidents)) > >>> stopifnot(all.equal(headPres2, pres2)) > >>> > >>> npresObs <- length(presidents) head...
2024 Jun 10
1
head.ts, tail.ts loses time
...> # for unit testing: headPres <- head(presidents) pres6 > >>> <- ts(presidents[1:6], time(presidents)[1], > >>> frequency=frequency(presidents)) > >>> stopifnot(all.equal(headPres, pres6)) > >>> > >>> headPres2 <- head(presidents, 2) pres2 <- > >>> ts(presidents[1:2], time(presidents)[1], > >>> frequency=frequency(presidents)) > >>> stopifnot(all.equal(headPres2, pres2)) > >>> > >>> npresObs <- length(presidents)...
2024 Jun 13
0
head.ts, tail.ts loses time
...;>> # for unit testing: headPres <- head(presidents) pres6 > >>> <- ts(presidents[1:6], time(presidents)[1], > >>> frequency=frequency(presidents)) > >>> stopifnot(all.equal(headPres, pres6)) > >>> > >>> headPres2 <- head(presidents, 2) pres2 <- > >>> ts(presidents[1:2], time(presidents)[1], > >>> frequency=frequency(presidents)) > >>> stopifnot(all.equal(headPres2, pres2)) > >>> > >>> npresObs <- length(presidents) head...