similar to: Help with adding 'dates' string as rownames to matrix

Displaying 20 results from an estimated 1000 matches similar to: "Help with adding 'dates' string as rownames to matrix"

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]'.
2002 Feb 26
2
covariance of equal date values
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I need to count the covariance of two time series. Both of them contain the dates' vector and vector of values. But the dates are not the same. It means some dates of first ts are not in the second respectively. And I need the covariance of same dates, of course. Could anyone help me, please? Thank you. lukas - -- Lukas Kubin lukas.kubin at
2012 Jun 28
1
Merging listed dataset into one
Hello, I'm wondering how I can merge two featuresets into one. My dataset is two sets of microarray data and it looks like followings: > rawData $v1 TilingFeatureSet (storageMode: lockedEnvironment) assayData: 2197815 features, 59 samples element names: channel1, channel2 protocolData rowNames: LT290677RU_D1_2011-02-16 LT286300LU_D1_2010-07-24 ... LT003990RU_D1_2010-11-04 (59
2012 Dec 17
4
R beginner: matrix algebra
Hi, I have an n x m matrix of numerical observations. ie. stock prices I wish to convert the matrix of observations to a matrix of simple returns (by taking the differences between (column) observations.) Can any good soul suggest a function for this? -- View this message in context: http://r.789695.n4.nabble.com/R-beginner-matrix-algebra-tp4653335.html Sent from the R help mailing list
2009 Nov 11
4
as.Date from data.frame
#Hello, #I loaded data using read.table - I needed to convert a row in the data frame to date class: > data V1 V2 V3 V4 1 2008-05-19 2008-04-19 2008-03-21 2008-02-22 2 38.16999817 30.70999908 36.86000061 35.18999863 3 37.47999954 29.95000076 36.45999908 35.36000061 4 37.47999954 30.14999962 36.47000122 35.36000061 5 37.84999847 30.56999969 36.84000015
2011 Nov 17
2
Adding a year to existing date
Hi I need to add an year to and date field in the dataframe. Please help me X Date 1 2008-01-01 2 2008-02-01 3 2003-03-01 Thanks in advance -- View this message in context: http://r.789695.n4.nabble.com/Adding-a-year-to-existing-date-tp4078930p4078930.html Sent from the R help mailing list archive at Nabble.com.
2008 Jun 11
2
problem with as.Date
Data into R from Excel csv file xd<-read.csv("court.dates1.txt",as.is=T, header = F) > str(xd) 'data.frame': 5 obs. of 1 variable: $ V1: chr "6/6" "5/27" "5/16" "5/2" ... >xd V1 1 6/6 2 5/27 3 5/16 4 5/2 5 4/29 cdates <- as.Date(xd, format = " %m/ %d") Error in as.Date.default(xd, format = " %m/
2016 Mar 04
3
vignette index
Dear helpers, I have multiple vignette files for a package, and I would like to have the "right" order of these files when displayed online. For instance, see below: https://cran.r-project.org/web/packages/bst/index.html The order of vignette links on CRAN is different from what I hoped for: > vignette(package="bst") Vignettes in package 'bst': pros
2008 May 11
3
Today's log - yum entries
Hi list, I have the following entries, below, in today's log file (for yesterday, 10th May). I don't run the automated yum-updated and didn't run a yum update yesterday, and no packages were installed. Obviously the entries are old. I was wondering if anyone could offer an explanation? Thanks, Ned --------------------- yum Begin ------------------------ Packages
2006 Feb 16
1
Joining a trusted domain
Hello, I've come across a fairly unique situation and after much searching have not found a solution. I thought I would see if anyone here has had any experience with this before. I have a location with two ADS domains with a two-way trust configured. -For this example I will call them corp.company.com and bst.company.com. -I have a FreeBSD client running Samba version three -I want to
2018 Jul 21
2
Failed to establish your Kerberos Ticket cache due time differences with the domain controller
> > Strange, you say the time is okay, but the error says it isn't. > > Try this, open a terminal on both DC's, run 'date' and 'samba-tool > time' on both. The results should be virtually the same. > > e.g. > root at dc4:~# samba-tool time > Sat Jul 21 16:47:43 2018 BST > root at dc4:~# date > Sat 21 Jul 16:47:46 BST 2018 > >
2012 May 27
3
Problem with strptime
Hello Forum, I have a problem with the strptime function. With the ''data1'' dataset below it works fine, but with the ''data2'' dataset something goes wrong (see final line below). Both data1 and data2 are in exactly the same original format, the only difference is that they span different dates. Please help, since it is driving me nuts! Many thanks. Best
2016 Mar 04
2
vignette index
I think the online order of vignette files are not based on vignette title or filename alphabetically. I am just curious: by what order these vignette files were displayed online so I can make changes accordingly? Thanks, Zhu -----Original Message----- From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] Sent: Friday, March 04, 2016 10:47 AM To: Wang, Zhu; r-devel at r-project.org Subject:
2008 Apr 28
2
time zone conversion
Hello, I'm trying to convert times in the EST/EDT (New York) format to times in the GMT/BST (London) and UTC+9 format (Tokyo). That is, if I know what time it is in New York, what is local time in London and Tokyo? Ex: Here's the conversion from New York EST/EDT time to London's GMT/BST time zone for three days in 2007. Note that the US and London change to daylight savings on
2011 Dec 06
2
split date nad time
Dear R Users, given that: > AggDateTime[960:962] [1] "2011-08-25 23:59:00 BST" "2011-08-26 00:00:00 BST" [3] "2011-08-26 00:01:00 BST" > unlist(strsplit(as.character(AggDateTime[960])," ", fixed=TRUE)) [1] "2011-08-25" "23:59:00" > unlist(strsplit(as.character(AggDateTime[962])," ", fixed=TRUE)) [1]
2015 Aug 17
2
persistent change of max_stack_depth
Hi Jason, On 14/08/15 16:45, Jason Warr wrote: > On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote: >> Hi Thomas, >> >> >>> Could anybody point me in the right direction for setting the kernel >>> parameter, max_stack_depth, to 10240 for database tuning? >>> >>> I have currently set it by running 'ulimit -s 10240' but this does not
2015 Aug 14
4
persistent change of max_stack_depth
Hi Thomas, > Could anybody point me in the right direction for setting the kernel > parameter, max_stack_depth, to 10240 for database tuning? > > I have currently set it by running 'ulimit -s 10240' but this does not > survive a reboot. > > Thanks for the response, I've been nosing around that file recently but noted the first two lines; #This file sets the
2004 Jul 18
4
Cisco 7960 SIP V6 and IBM A30P Fedora Asterisk
Hi All Total noob on the list so all help appreciated.... I've successfully installed Asterisk on an IBM A30P Thinkpad using fedora Core 2 (I'm looking at having a mobile PBX for conferences and shows). I've plugged in two Cisco 7960 phones.... The phones register with the Asterisk correctly and I can run the demo's and even the AIX demo through to digium works correctly.......
2006 Apr 19
3
firefox-1.5.0.2-2.1.c4.centos.i386.rpm in testing -error message
firefox-1.5.0.2-2.1.c4.centos.i386.rpm in the testing repo produces this error when running it as non-rrot and also as root Firefox could not install this item because "install.rdf" (provided by the item) is not well formed or does not exist. Please contact the author about this problem. How to reproduce this message :- 1. download and upgrade firefox-1.5.0.2-2.1.c4.centos.i386.rpm
2010 Jul 05
1
Possible bug in 2.11.x texmf makefile.in and some related things...
Hi all, A list of some possible issues: 1. In R 2.11.x, in: http://svn.r-project.org/R/branches/R-2-11-branch/share/texmf/ there are two files, jss.cls and jss.bst (for JSS), which appear to be new since 2.10.x. These files are not installed when building/installing R. It would appear that they are not included in: https://svn.r-project.org/R/branches/R-2-11-branch/share/Makefile.in The