-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.Rhistory
86 lines (86 loc) · 3.5 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
library(plm)
data("Gasoline", package = "plm")
form <- lgaspcar ~ lincomep + lrpmg + lcarpcap
x <- hsiao(form, Gasoline)
print(x)
library(plm)
data("Gasoline", package = "plm")
form <- lgaspcar ~ lincomep + lrpmg + lcarpcap
x <- hsiao(form, Gasoline)
print(x)
print.hsiao
print.hsiao
print.hsiao <- function(x, ...){
x$p.value <- ifelse(x$p.value < 2.2e-16, "< 2.2e-16", round(x$p.value, 4))
x$F.statistic <- round(x$F.statistic, 4)
form <- Reduce(paste, deparse(x$formula))
x <- data.frame(
"Hypothesis" = x$Hypothesis,
"F-statistic" = x$F.statistic,
"p-value" = x$p.value,
check.names = FALSE
)
dnames <- dimnames(x)
names(dnames) <- c("",
paste0(
"\n Hsiao Homogeneity Test\n",
Hypothesis H0 (Null Hypothesis): Assume the data is pooled.
use_coverage(type = "codecov")
usethis::use_coverage(type = "codecov")
build_site_github_pages()
pkgdown::build_site_github_pages()
pkgdown::build_site()
usethis::use_pkgdown_github_pages()
pkgdown::build_site()
codecov(token = "b6a80b3e-d67e-44cc-99ae-1b6da9f55a69")
covr::codecov(token = "b6a80b3e-d67e-44cc-99ae-1b6da9f55a69")
library(covr)
covr::codecov(token = "b6a80b3e-d67e-44cc-99ae-1b6da9f55a69")
usethis::use_github_action("test-coverage")
usethis::use_github_action_check_standard()
use_github_action("check-standard")
usethis::use_github_action("check-standard")
withr::with_options(list(repos = c(CRAN = "https://cloud.r-project.org/")),
{callr::default_repos()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran")) })
withr::with_options(list(repos = c(CRAN = "https://cloud.r-project.org/")),
{callr::default_repos()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran")) })
withr::with_options(list(repos = c(CRAN = "https://cloud.r-project.org/")),
{callr::default_repos()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran")) })
devtools::check_win_devel()
devtools::check_win_release()
devtools::check_mac_release()
"r" < "o"
devtools::build(manual = TRUE)
dataset <- read.table("C://Users//Administrator//Desktop//hsiao//hsiao//hsiao.txt",
sep="\t", header = TRUE, dec = ",")
x <- poobly::hsiao(dca ~ flr, pdata.frame(dataset, index=c("unit", "year")))
dataset <- read.table("C://Users//Administrator//Desktop//hsiao//hsiao//hsiao.txt",
sep="\t", header = TRUE, dec = ",")
x <- poobly::hsiao(dca ~ flr, plm::pdata.frame(dataset, index=c("unit", "year")))
x
withr::with_options(list(repos = c(CRAN = "https://cloud.r-project.org/")),
{callr::default_repos()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran")) })
devtools::check_win_devel()
devtools::check_win_release()
devtools::check_mac_release()
pkgdown::build_site(examples = FALSE)
install.packages
?install.packages
install.packages("pkgdown", depedencies=TRUE)
pkgdown::build_site(examples = FALSE)
pkgdown::build_site(examples = FALSE)
install.packages(c("bslib", "callr", "cli", "desc", "digest", "downlit", "fontawesome", "fs", "httr2", "jsonlite", "openssl", 'purrr', 'ragg', 'rlang', 'rmarkdown', 'tibble', 'whisker', 'xml2', 'yaml', 'whithr'))
install.packages(c("bslib", "callr", "cli", "desc", "digest", "downlit", "fontawesome", "fs", "httr2", "jsonlite", "openssl", 'purrr', 'ragg', 'rlang', 'rmarkdown', 'tibble', 'whisker', 'xml2', 'yaml', 'whithr'))
pkgdown::build_site(examples = FALSE)
withr::with_options(list(repos = c(CRAN = "https://cloud.r-project.org/")),
{callr::default_repos()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran")) })
devtools::check_win_devel()
devtools::check_win_release()
devtools::check_win_release()
devtools::check_mac_release()
devtools::build(manual = TRUE)