similar to: FOMULATING TIME SERIES DATA FROM DATA FRAME

Displaying 20 results from an estimated 400 matches similar to: "FOMULATING TIME SERIES DATA FROM DATA FRAME"

2011 Nov 16
1
HELP DATA CLIPPING AND DATA OVERLAY ON A MAP
I have csv data that extend beyond the area I want for an existing map. I want using the boundaries of the polygon shape file as a cookie cutter so that I can overlay the csv data on map without including anything outside the map boundaries and create a dbf file or shapefile of the clipped data .  The reproducible example: ############################################### library(RColorBrewer)
2012 Nov 07
9
Executing SAS Codes in R
Is there a way of executing SAS codes in R environment?   Peter Maclean Department of Economics UDSM [[alternative HTML version deleted]]
2013 Feb 22
3
Help xyplot
Hi Mackay and anybody (a) Is it possible to select randomly (let say five grids) and plot? (b) Is it possible to plot five nearest grid in one figure? The original question and improved codes: #I am ploting gridded time series data. I would like the actual lat #and lon value appear on the graph-if possible inside the graph as #numbers. If there is also more elegant ways to plot the graphs I
2012 Jan 11
1
R problem: unable to read data in the xls-format in the PerformAnalytics package
Hallo I have the following problem 1) Problem: I am unable to read data in the xls-format in the PerformAnalytics package. While it works well for several commands, e.g. t(table.Stats(msci_ret)) it does not work for other commands, e.g. x <- msci_ret[, c("CH"), drop = FALSE] table.Drawdowns(x) The error code is: Error in checkData(R) : The data cannot be converted into a
2012 Jun 13
1
Indexing Grouped Data
I need help in indexing grouped data. In this excample (df1 data), the first child had a first immunization at age 2. The second child had the first, second and third immunization at age 5,10, and 12, the third child had first and second immunization at age 4 and 6 and the fourth child had the first immunization at age 2. I have df1 and I need to create df2 with and "ind' variable that
2013 Feb 20
2
xyplot help
I am ploting gridded time series data. I would like the actual lat and lon value appear on the graph-if possible inside the graph as numbers. If there is also more elegant ways to plot the graphs I will appreciate more suggestions. ################################# library(ggplot2) library(lattice) month <- c("Jan", "Feb", "Mar", "Apr", "May",
2012 Jan 19
1
ctree question
Hello. I have used the "party" package to generate a regression tree as follows: >origdata<-read.csv("origdata.csv") >ctrl<-ctree_control(mincriterion=0.99,maxdepth=10,minbucket=10) >test.ct<-ctree(Y~X1+X2+X3,data=origdata,control=ctrl) The above works fine. Orig data was my training data. I now have a test data file (testdata), and
2013 Jan 24
1
Error with Expected Shortfall function, ES.
ES function gives the below error. > ES(sim, p=.95, method=c("modified"),portfolio_method=c("component"), > weights=w1) /Error in checkData(R, method = "xts", ...) : The data cannot be converted into a time series. If you are trying to pass in names from a data object with one column, you should use the form 'data[rows, columns, drop = FALSE]'.
2011 Jul 11
3
fitdistr() Error
I am trying to estimate a gamma function using real data and I am getting the following error messages. When I set a lower limit; the error message is "L-BFGS-B needs finite values of fn" ? For other method the error message is: Error in optim(x = c(0.105286666666667, 0.3472275, 2.057625, 0.329675,? : ? non-finite finite-difference value [1] The codes works fine for simulated data
2011 Aug 11
1
legend position in interaction.plot
How do I move the legend from default position (right and within the plot)?to the "bottomleft" of the plot? ? interaction.plot(YEAR, ID?GROWTH, legend=TRUE, col = 2:7,xlab="Year", ?????? ylim=c(0,2), ylab="Growth",leg.bty = "o") Peter Maclean Department of Economics UDSM
2013 Feb 21
7
(no subject)
how to sum columns in R?
2011 Jun 30
2
Saving fExtremes estimates and k-block return level with confidence intervals.
I am estimating a large model by groups. How do you save the results and?returns the associated quantiles? For this example I need a data frame n?? ?xi??????? mu????????beta 1?? 0.1033614? 2.5389580 0.9092611 2? ?0.3401922? 0.5192882 1.5290615 3?? 0.5130798? 0.5668308 1.2105666 I also want to apply gevrlevelPlot() for each "n" or group. ? #Example n <- c(1, 1, 1, 1, 1, 1, 2, 2, 2,
2007 Feb 24
7
Creation of additional image within a domU
Chaps, Perhaps this question is a little basic for this list but I''m not really sure of the simplest method or best tool for the job. I''ve created some images with `dd=/dev/zero ....` and I''m using them for the domUs now. Some of them have been running for a few months with no probs. Trouble is that I''d like to create a separate partition within the domU.
1998 Jan 06
0
R-beta: losing attributes in binary ops
Thanks to Thomas Lumley for the very quick fix of the NextMethod(.Generic) bug. The patch enclosed in his message to r-help fixed that problem nicely. But..., I've got another one. x <- 1:4 attr(x,"foo") <- "bar" attributes(x < 4) returns NULL. The "foo" attribute has been lost in the "x < 4" operation. The blue book says that the
2010 Dec 08
2
Puppet in a virtual environment
Morning chaps, From my understanding the puppet master must have a hostname of "puppet". Is this correct? I''d like to be able to call this box whatever I like. I think that I can do that within /etc/puppet/puppet.conf. -- John Maclean MSc (DIC) Enterprise Linux Systems Engineer -- You received this message because you are subscribed to the Google Groups "Puppet
2010 Apr 06
2
kickstart + domU for static IP
I've set up a local webserver to store kickstart files for domUs. All parameters are respected apart from the network settings. DomU always gets DHCP. Can any one help to unwrap this one? Does one add hostname, ip, netmask and gateway values to the /etc/xen/blah.cfg file? # ---- domU kickstart file ----# url --url http://192.168.1.120/centos/5/os/i386 lang en_US.UTF-8 keyboard uk network
2005 Dec 09
1
Residuals from GLMMs in the lme4 package
Hello there This is the first time I have used r-help message board so I hope I have got the right address. I am trying to check the residuals of a GLMM model(run using the package lme4). I have been able to check the residiuals of REMLs in lme4 using the following: m1<-lmer(vTotal~Week+fCollar+ (1|fCat), collars) res<-resid(m1) plot(res) qqnorm(res) library(MASS) par(mfrow=c(2,3))
2011 Jul 07
1
Substring a column vector
How to substring the following vector (in data frame b) >b a 11 12 1234 1245 124567 126786 145769 such that: a1??? a2 1???? 1 1???? 2 12??? 23 12??? 34 124?? 567 126???787 145???769 ? I tried logical commands with substr() did not work out.
2006 Dec 15
12
Numbering of releases
Am I right in thinking that the numbering of the versions are in synch with the gcc version that one is recommened to build with? In other words "use gcc version 3.foo". -- John Maclean - 07739 171 531 MSc (DIC) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2002 Oct 02
2
Audio from fifo
My first guess about the problem would be that the programs want to process the stuff in a different order, e.g. mplayer wants to output some sound before anymore video and encoder_example wants to receive some video before anymore sound. This could easily depend on the order of stuff in the file mplayer is reading. I guess something similar could happen for opening the pipes as well. The