Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
danigiro committed Aug 1, 2024
1 parent 723c6bc commit dd98e42
Show file tree
Hide file tree
Showing 54 changed files with 290 additions and 339 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ URL: https://github.com/daniGiro/FoReco,
BugReports: https://github.com/daniGiro/FoReco/issues
Depends: R (>= 3.4), Matrix
Imports: methods, osqp, stats, cli
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
VignetteBuilder: knitr
Encoding: UTF-8
LazyData: true
NeedsCompilation: no
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
59 changes: 0 additions & 59 deletions R/middleout.R
Original file line number Diff line number Diff line change
Expand Up @@ -328,62 +328,3 @@ ctmo <- function(base, agg_mat, agg_order, id_rows = 1,

return(reco_mat)
}
#
#
#
# agg_mat
#
# split <- c(2, 3)
#
# agg_mat_split <- agg_mat[split, , drop = FALSE]
#
# # COntrolla che tutte le bts ci sono
# sum(agg_mat_split) != cstmp$dim[["nb"]]
#
# # controlla che le bts ci sono solo una volta
# any(colSums(agg_mat_split) != 1)
#
# base <- matrix(c(1:8), nrow = 2, byrow = TRUE)
#
# idmat <- matrix(c(1:prod(dim(base))), nrow = NROW(base), byrow = TRUE)
#
# idmat <- do.call(cbind, apply(t(agg_mat_split)%*%idmat, 2, function(x){
# matrix(rep(x, each = tetmp$dim[["m"]]/split_order),
# cstmp$dim[["nb"]], byrow = TRUE)
# }, simplify = FALSE))
#
# base <- do.call(cbind, apply(t(agg_mat_split)%*%base, 2, function(x){
# matrix(rep(x, each = tetmp$dim[["m"]]/split_order),
# cstmp$dim[["nb"]], byrow = TRUE)
# }, simplify = FALSE))
#
# ppp <- Reduce("+", lapply(1:max(idmat), function(x){
# id1 <- 1*(idmat==x)
# w <- weights*id1
# if(normalize){
# w <- w/sum(w)
# }
# base*w
# }))
#
# round(ctbu(ppp, agg_mat = agg_mat, agg_order = agg_order), 2)
#
# ctbu(matrix(rnorm(2*4), 2, 4), t(c(1,1)), 4)
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can also install the **development** version from [Github](https://github.co

``` r
# install.packages("devtools")
devtools::install_github("daniGiro/FoReco")
devtools::install_github("danigiro/FoReco")
```

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You can also install the **development** version from

``` r
# install.packages("devtools")
devtools::install_github("daniGiro/FoReco")
devtools::install_github("danigiro/FoReco")
```

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ articles:
Replicate-the-hts-package: Replicate-the-hts-package.html
Replicate-the-thief-package: Replicate-the-thief-package.html
Temporal-forecast-reconciliation: Temporal-forecast-reconciliation.html
last_built: 2024-07-08T14:13Z
last_built: 2024-08-01T09:52Z
urls:
reference: https://danigiro.github.io/FoReco/reference
article: https://danigiro.github.io/FoReco/articles
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/balance_hierarchy.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/cscov.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions docs/reference/cslcc.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dd98e42

Please sign in to comment.