christophsax / seasonalview Goto Github PK
View Code? Open in Web Editor NEWGraphical User Interface for Seasonal Adjustment
Home Page: www.seasonal.website
Graphical User Interface for Seasonal Adjustment
Home Page: www.seasonal.website
Just found a bug in the view
function. Fortunately it's simple to fix:
You use x
as a parameter, but continue to use m
below the story part. Your example work fine cause you use m
and because of R's scoping m is found here.
https://github.com/christophsax/seasonalview/blob/master/R/viewer.R
.GlobalEnv$.model.passed.to.shiny <- m
# should be
.GlobalEnv$.model.passed.to.shiny <- x
Including this for future reference.
The use of the ACE-editor (at least trough shinyAce) slows down website loading time by almost 4 sek on a slow Internet connection). Without some great benefit (e.g. autocompletion) that's not worth the pain.
perhaps turn it off and got back to a scrollable area with fixed height
x <- seas(AirPassengers, x11.seasonalma = "s3x5")
view(x)
an empty x11 = ""
is added at the end of the R call box, leading to a
reevaluation of the call.
If you want to manually adjust the X-13 spec code...
Warning: Error in observerFunc: could not find function "import.spc2"
Stack trace (innermost first):
57: observerFunc [/Library/Frameworks/R.framework/Versions/3.3/Resources/library/seasonalview/app/server.R#73]
2: shiny::runApp
1: view
ERROR: [on_request_read] connection reset by peer
> view(seas(AirPassengers))
Press ESC (or Ctrl-C) to get back to the R session
Loading required package: shiny
Warning: 'xts::indexClass' is deprecated.
Use 'tclass' instead.
R CMD check --as.cran
The significance of the tests (e.g. test for no seasonality in final series) is sometimes not visible in the shiny interface. For example, summary(seas(x)) shows that H0 is rejected on the 1% level while in view() 1% is written in white color on a white ground, hence it is not visible.
Most likely, the problem is that the box around the "1%" has is of white color as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.