search for: decomposed

Displaying 20 results from an estimated 479 matches for "decomposed".

Did you mean: decompose
2006 Feb 06
3
decomposed.ts class and method
Dear R People: In the function "decompose", the object has the class of "decomposed.ts". (from package stats) I would like to see the class definition and the method for the plotting. However, when I use isClass("decomposed.ts") I get "FALSE". When I check getMethods("plot") there is no method for plot on decomposed.ts Any suggestions, plea...
2011 Apr 06
0
Proposed modification to decompose() and plot.decomposed.ts()
The decompose() function truncates the seasonal component unnecessarily. I've modified the function to fix this problem, and also added the original data to the object returned (to enable better plotting). I've also modified the plot.decomposed.ts() function so that it plots the original data in the top panel rather than the reconstructed data. The difference between the two is that the reconstructed data has missing values at the two ends whereas the original data does not. Please find the revised code below. I hope this can find its wa...
2007 Feb 27
2
ts; decompose; plot and title
Is there any way to give a "decent" title after I plot something generated by decompose? For example: # generate something with period 12 x <- rnorm(600) + sin(2 * pi * (1:600) / 12) # transform to a monthy time series y <- ts(x, frequency=12, start=c(1950,1)) # decompose z <- decompose(y) # plot plot(z) Now, the title is the ugly "Decomposition of additive time
2009 Jul 08
0
stats::decompose - Problem finding seasonal component without trend
Hi R-help, I'd like to extract the seasonal component of a short timeseries, and was hoping to use stats::decompose. I don't want to decompose the 'trend' component so I thought I should call decompose(x,filter=0). I think I've either misunderstood the filter argument or come upon a bug/feature in decompose. # EXAMPLE
2012 Mar 20
2
igraph: decompose.graph: Error: protect(): protection stack overflow
I just got this error: > library(igraph) > comp <- decompose.graph(gr) Error: protect(): protection stack overflow Error: protect(): protection stack overflow > what can I do? the digraph is, indeed, large (300,000 vertexes), but there are very many very small components (which I would rather not discard). PS. the doc for decompose.graph does not say which mode is the default. --
2012 Jun 15
0
decomposing decompose(), issue?
Hi I'm just stepping through the decompose() function, in "stats". Does this contained line of code not work if you have a time series ending "unevenly" (i.e., middle of the year), or am I missing something? season <- na.omit(c(as.numeric(window(season, start(x) + c(1, 0), end(x))), as.numeric(window(season, start(x), start(x) + c(0, f))))) The line seems to
2008 Feb 02
1
Meaning of Error Message from decompose
Greetings, For the following quarterly data I did a classical decomposition by hand in a spreadsheet and got reasonably similar results using Minitab 15. x 1 36 2 44 3 45 4 106 5 38 6 46 7 47 8 112 9 42 10 49 11 48 12 118 13 42 14 50 15
2009 Jul 06
1
Decompose function : calculation of each component
Hello, I'd like to know how R does calculate each component in the decompose() function? More precisely, how is calculated the final trend component in this function? Thanks for your answer Myriam -- View this message in context: http://www.nabble.com/Decompose-function-%3A-calculation-of-each-component-tp24362207p24362207.html Sent from the R help mailing list archive at Nabble.com.
2011 Aug 24
2
regarding changing of title of decompose graph
Hi All, I am new to this forum. I have just started learning R. When i use plot(decompose(x)), i am getting the title " Additive time series decomposition". How to make this title off and change to some other title. Any help regarding this is highly appreciated. With sincerer regards, Upananda -- View this message in context:
2012 Feb 11
0
Using igraph: community membership of components built by decompose.graph()
Hi everyone! I would appreciate help with using decompose.graph(), community detection functions from igraph and lapply(). I have an igraph object G with vertex attribute "label" and edge attribute "weight". I want to calculate community memberships using different functions from igraph, for simplicity let it be "walktrap.community". This graph is not connected,
2007 Dec 12
1
Getting error message using R: Please help (it's coursework due in on Friday)
I've been trying for the past 3 weeks to use R (much better than Matlab but I am very bad with computers so I am very new to all of this) and know how to input the data (hey, it's a start!) but every time I type in the following: dcm <- decompose(information) I get the following error message: Error in decompose(information) : time series has no or less than 3 periods Could you
2012 Mar 21
3
how calculate seasonal component & cyclic component of time series?
i am new to time series,whatever i know up till now,from that i have uploaded time series file & what to build arma model,but for that i want p & q values(orders) tell me how to calculate best p & q values to find best AIC values for model i am doing but giving error >bhavar<-read.table(file.choose()) #taking time series file > decompose(bhavar$V1) Error in
2004 Sep 23
7
decompose a correlation matrix
Is there a simple way to decompose the upper triangle of a correlation matrix to a linear list; For example: X Y Z X 1 2 3 Y 2 1 4 Z 3 4 1 so you get a list like: xy 2 XZ 3 YZ 4 I suspect you can do it with a matrix transformation, but that beyond me at present. Many thanks Mark _________________________ Department of Molecular and Human Genetics, Baylor College of Medicine,
2011 Apr 29
1
Specify custom par(mfrow()) layout for defined plot()
Dear R Users, I am doing stats::decompose() on 4 different time series. When I issue csdA <- decompose(tsA) plot(csdA) I get a summary plot for observed, trend, seasonal and random components of decomposed time series tsA. As I understand it, the object returned by decompose() has it's own plot method where mfrow(4,1) etc. is defined. Now suppose I wanted to wrap those mfrow(4,1) into my own mfrow(2,2) layout. How could I achieve this? Is there a general way to handle these cases? Something...
2009 Feb 22
1
split/decompose lines
Dear R users, I have a very simple problem but I can't find the function in R to deal with it. I need to split (or decompose) one line into many lines using one field as a reference. I have a table with the following format: A B Frequency 23 3 2 24 2 5 25 1 3 And need to split each line into several lines according to the frequency to achieve something like this: A B
2012 May 01
2
[LLVMdev] structs get decomposed when shouldn't
...ute and catch such an argument in a custom CC function. On the other hand, when a function should return a struct, byval can't be used. Of course, there is no problem in case sret-demotion taking place, automatically for too big structs or forced by sret attribute. However, smaller structs get decomposed by default into component elements as returned values. I googled the net all the day, but, unfortunately, can't find a solution. Is there any way to disable this feature of LLVM and get structures as they are when returning them? Besides solutions, any suggestions and ideas are well appreciat...
2013 Oct 30
2
[LLVMdev] Is there pass to break down <4 x float> to scalars
Hi, Richard, Your decompose vector patch works perfect on my site. Unfortunately, I still get stupid code because llvm '-dse' fails followed by 'decompose-vector' . I read the DSE code and it is definitely capable of eliminating unused memory stores if its AA works. I don't think basic AA works for me. I found my program have complex memory accesses, such as bi-dimentional
2010 Oct 12
1
Help with STL function to decompose
Hi everyone. I'm having some troubles with STL function to decompose some data. My issue is that I have monthly data from September 2005 up to August 2010 i. e. 60 observations. I define it in the following way: *u<-read.csv("C:/CELEBREX.csv",header = TRUE) u.ts<-ts(u, start=c(2005,9), frequency=12) * The issue is that when I try to use stl(u.ts, 'per') Then the
2004 Apr 29
1
I'm trying to use package ts (decompose). How do you set up the data/ See attached. thanks
InDATA <-read.table("C:/Data/May 2004/season.txt",header=T) X <- decompose(InDATA) print(X) Period Connections Q1 67519 Q2 69713 Q3 68920 Q4 69452 Q1 70015 Q2 59273 Q3 57063 Q4 65596 Q1 73527 Q2 58586 Q3 69522 Q4 60091 Q1 51686 Q2 63490 Q3 55702 Q4 53200 Q1 51033 Q2 48175 Q3 52709 Q4 50106 Q1 50855 Q2 43466 Q3 48190 Q4 41702 Q1 48747 Q2 51441 Q3 42537
2012 May 02
0
[LLVMdev] structs get decomposed when shouldn't
...t in a > custom CC function. On the other hand, when a function should return a > struct, byval can't be used. > > Of course, there is no problem in case sret-demotion taking place, > automatically for too big structs or forced by sret attribute. > However, smaller structs get decomposed by default into component > elements as returned values. I googled the net all the day, > but, unfortunately, can't find a solution. > > Is there any way to disable this feature of LLVM and get structures > as they are when returning them? > > Besides solutions, any suggest...