Home
last modified time | relevance | path

Searched +refs:is +refs:pconsecutive +refs:pdata +refs:frame (Results 1 – 14 of 14) sorted by relevance

/dports/finance/R-cran-plm/plm/inst/tests/
H A Dtest_is.pconsecutive.Rout.save71 + stop("is.pconsecutive on pdata.frame: wrong result")
73 + stop("is.pconsecutive on pdata.frame: wrong result")
183 > if(!isTRUE(all.equal(is.pconsecutive(pHed), expected_Hed, check.names = FALSE))) stop("is.pconsec…
260 + stop("is.pconsecutive on pdata.frame: wrong result for a missing time period in whole data set")
263 + stop("is.pconsecutive on pdata.frame: wrong result for a missing time period in whole data set")
280 > # time index with NA is in pdata.frame
320 + stop("is.pconsecutive not equal for data.frame and pdata.frame with 'NA' in time index")
337 > # individual index with NA is in pdata.frame
366 + stop("is.pconsecutive not equal for data.frame and pdata.frame with 'NA' in individual index")
383 > # individual and time index with NA is in pdata.frame
[all …]
H A Dtest_make.pconsecutive_pbalanced.Rout.save21 > ## in separate file test_is.pconsecutive.R: test of is.pconsecutive.*
54 > # make.pconsecutive.indexes: for pdata.frames
159 > if (!all(is.pconsecutive(make.pconsecutive(pinv_missing_periods)))) stop("failure")
238 > ## the subsetting functions for pdata.frame alters the pdata.frame
319 > # pdata.frame
345 > # pdata.frame and pseries: this is checking for new factor levels
348 > #### pdata.frame
400 > # if (!(all(is.pconsecutive(age_consec)))) stop("failure")
410 > # if (!all(is.pconsecutive(df_nlswork_r8_consec))) stop("failure")
431 > # if (!all(is.pconsecutive(pdf_pnlswork_r8_consec))) stop("failure")
[all …]
H A Dtest_misc.Rout.save48 > pGrunfeld <- pdata.frame(Grunfeld)
208 > pGrunfeld <- pdata.frame(Grunfeld)
233 > pGrunfeld <- pdata.frame(Grunfeld)
599 > ## is.pconsecutive
600 > is.pconsecutive(Grunfeld)
629 > # pdata.frame interface
630 > pGrunfeld <- pdata.frame(Grunfeld)
659 > is.pconsecutive(pinv)
683 > Em <- pdata.frame(EmplUK)
697 > pGrunfeld <- pdata.frame(Grunfeld)
[all …]
H A Dtest_lag_lead.Rout.save37 > Grunfeld <- pdata.frame(Grunfeld)
232 > Grunfeld_wo_1937 <- pdata.frame(Grunfeld[-obs_3rd, ])
273 > Grunfeld <- pdata.frame(Grunfeld)
941 > Hed <- pdata.frame(Hedonic, index = "townid")
993 > pGrunfeld_missing_period <- pdata.frame(Grunfeld[-2, ]) # delete one time period of first individ…
995 > is.pconsecutive(pGrunfeld_missing_period)
1031 > Hed_missing_period <- pdata.frame(Hedonic, index = "townid")
1036 > is.pconsecutive(Hed_missing_period)
1103 > Hed_missing_period2 <- pdata.frame(Hedonic, index = "townid")
1108 > is.pconsecutive(Hed_missing_period2)
[all …]
H A Dtest_lagt_leadt.Rout.save38 > Grunfeld <- pdata.frame(Grunfeld)
233 > Grunfeld_wo_1937 <- pdata.frame(Grunfeld[-obs_3rd, ])
278 > Grunfeld <- pdata.frame(Grunfeld)
946 > Hed <- pdata.frame(Hedonic, index = "townid")
996 > pGrunfeld_missing_period <- pdata.frame(Grunfeld[-2, ]) # delete one time period of first individ…
998 > is.pconsecutive(pGrunfeld_missing_period)
1051 > is.pconsecutive(Hed_missing_period)
1138 > is.pconsecutive(Hed_missing_period2)
1224 > Grunfeld <- pdata.frame(Grunfeld)
1236 > pdfNA <- pdata.frame(dfNA)
[all …]
/dports/finance/R-cran-plm/plm/man/
H A Dis.pconsecutive.Rd6 \alias{is.pconsecutive.data.frame}
8 \alias{is.pconsecutive.pdata.frame}
20 \method{is.pconsecutive}{pdata.frame}(x, na.rm.tindex = FALSE, ...)
25 \item{x}{usually, an object of class \code{pdata.frame},
45 further details see \code{\link[=pdata.frame]{pdata.frame()}},}
73 pdata.frame, the time index is coerced from factor via as.character to
75 \verb{as.numeric(as.character(index(<pseries/pdata.frame>)[[2]]))]} is
89 pdata.frame and pseries interface, ordering is not performed because both
120 # pdata.frame interface
121 pGrunfeld <- pdata.frame(Grunfeld)
[all …]
H A Dmake.pconsecutive.Rd5 \alias{make.pconsecutive.data.frame}
6 \alias{make.pconsecutive.pdata.frame}
14 \method{make.pconsecutive}{pdata.frame}(x, balanced = FALSE, ...)
19 \item{x}{an object of class \code{pdata.frame}, \code{data.frame},
32 further details see \code{\link[=pdata.frame]{pdata.frame()}},}
36 pdata.frame, data.frame or a pseries which is made
107 all(is.pconsecutive(g_consec)) # TRUE
121 # pdata.frame interface
132 all(is.pconsecutive(g_bal)) # FALSE
138 \code{\link[=is.pconsecutive]{is.pconsecutive()}} to check if data are
[all …]
H A Dmake.pbalanced.Rd5 \alias{make.pbalanced.pdata.frame}
16 \method{make.pbalanced}{pdata.frame}(
36 \item{x}{an object of class \code{pdata.frame}, \code{data.frame},
50 further details see \code{\link[=pdata.frame]{pdata.frame()}},}
54 pdata.frame, data.frame or a pseries which is made balanced
126 all(is.pconsecutive(Grunfeld_unbalanced)) # FALSE
141 # pdata.frame interface
150 all(is.pconsecutive(g_consec)) # TRUE
157 all(is.pconsecutive(g_consec_bal)) # TRUE
168 \code{\link[=is.pconsecutive]{is.pconsecutive()}} to check if data are consecutive;
[all …]
H A Dis.pbalanced.Rd6 \alias{is.pbalanced.data.frame}
7 \alias{is.pbalanced.pdata.frame}
19 \method{is.pbalanced}{pdata.frame}(x, ...)
28 \item{x}{an object of class \code{pdata.frame}, \code{data.frame},
41 further details see \code{\link[=pdata.frame]{pdata.frame()}},}
69 # pdata.frame interface
70 pGrunfeld_missing_period <- pdata.frame(Grunfeld_missing_period)
80 balanced; \code{\link[=is.pconsecutive]{is.pconsecutive()}} to check if data are
81 consecutive; \code{\link[=make.pconsecutive]{make.pconsecutive()}} to make data
85 and time variation of a 'pdata.frame' (and other objects),
[all …]
H A Dpdata.frame.Rd3 \name{pdata.frame}
4 \alias{pdata.frame}
6 \alias{[.pdata.frame}
8 \alias{$.pdata.frame}
11 \alias{as.data.frame.pdata.frame}
14 pdata.frame(
104 a \code{pdata.frame} object: this is a \code{data.frame} with an
107 resulting pdata.frame is sorted by the individual index, then
111 An object of class 'pdata.frame' is a data.frame with an index
148 attributes specific to a pdata.frame; if a list of pseries is
[all …]
H A Dlag.plm.Rd29 If \code{k} is an integer with length > 1 (\code{k = c(k1, k2, ...)}), a
30 \code{matrix} with multiple lagged \code{pseries} is returned,}
36 functions is performed (see Details and Examples).}
66 \ldots{} where t is an integer (from a technical viewpoint,
67 \code{as.numeric(as.character(index(your_pdata.frame)[[2]]))} needs to
72 time index is not relevant in this case.
86 # First, create a pdata.frame
88 Em <- pdata.frame(EmplUK)
109 # delete 2nd time period for first individual (1978 is missing (not NA)):
111 is.pconsecutive(Em_hole) # check: non-consecutive for 1st individual now
[all …]
/dports/finance/R-cran-plm/plm/
H A DNAMESPACE3 S3method("$",pdata.frame)
22 S3method(as.data.frame,pdata.frame)
59 S3method(is.pbalanced,pdata.frame)
62 S3method(is.pconsecutive,data.frame)
63 S3method(is.pconsecutive,default)
64 S3method(is.pconsecutive,panelmodel)
65 S3method(is.pconsecutive,pdata.frame)
66 S3method(is.pconsecutive,pseries)
72 S3method(make.pconsecutive,data.frame)
73 S3method(make.pconsecutive,pdata.frame)
[all …]
H A DMD517 acb15c196d8326325ac846681b81f7b5 *R/is.pconsecutive_pbalanced.R
31 39106b8f715efd37aafadce3b17c69f8 *R/tool_pdata.frame.R
84 69f03762e8d1e8c90ad53eb30d678b9c *inst/tests/test_as.list.pdata.frame.R
98 606a3dbf3841d5e81b1d90e8dcac9487 *inst/tests/test_is.pconsecutive.R
99 922626f7fe969cd67e3ddaea87723d54 *inst/tests/test_is.pconsecutive.Rout.save
199 508ec8bdb4a4014892fe9e15df9fca9c *man/is.pbalanced.Rd
200 6a43dff7a1d779f31371e4c01a1f45fc *man/is.pconsecutive.Rd
201 600395679fd85cc1d4abc7c74c54031b *man/is.pseries.Rd
204 cfca1b7b1c1d671a33fec12cb9f5c556 *man/make.pconsecutive.Rd
205 f8f5f28eef40cf139ed80714bc2a0c32 *man/model.frame.pdata.frame.Rd
[all …]
H A DNEWS.md182 * pdata.frame: input 'x' is always pruned by data.frame(x) as a clean data frame
315 pdata.frame.
473 * pdata.frame:
695 (a warning is issued when such a pdata.frame is created).
696 * [.pdata.frame: indexing a pdata.frame is now fully consistent to indexing a data.frame (as docume…
761 * pdata.frame:
771 * is.pconsecutive:
890 pdata.frame)
1140 * [[.pdata.frame is modified so that NULL (and not an error
1371 * a pfix function is added to edit a pdata.frame.
[all …]