Displaying 20 results from an estimated 1000 matches similar to: "select subset of data according to date range"
2010 Apr 29
1
time zone convert
Hi there,
I've got a column vector in a csv file as follows, and I need to add 11
hours to each of them. Is there a way that I can do it? (The actual file
size is much bigger than this.)
Time
"01-DEC-2008 00:00:28.611"
"01-DEC-2008 00:00:43.155"
"01-DEC-2008 00:01:06.677"
"01-DEC-2008 00:01:06.677"
"01-DEC-2008 00:01:06.677"
"01-DEC-2008
2010 Apr 22
2
time difference
Hi,
Does anyone know how to take a time difference when the format of the time
is as 13:22:23.586? I am trying to take the difference of time between stock
transactions and need to keep the three decimal places for seconds. I have
tried *diff(strptime(x, "%H:%M:%S.000))*, but apperantly that doesn't work.
Carol Gao
[[alternative HTML version deleted]]
2010 Apr 24
1
Adding new column variable to a existing spreadsheet
Hi,
I've got a csv format of file. There are seven columns of variables all
together, and I've used the diff() function to take the differences between
the variables in one column. Now I want to add the differences as the 8th
column variable to the csv file. Is there any way that I can do this?
Thanks in advance.
Carol Gao
[[alternative HTML version deleted]]
2011 Aug 17
9
too many var in lm
Hello,
It might be an easy question but if you have many variables to fit in the lm function, how do you take all without specifying var1+var2+...+var2100 in the terms parameter in response ~ terms?
Cheers,
Carol
2012 Jul 20
3
function for inverse normal transformation
Hi,
What is the function for inverse normal transformation?
Thanks,
Carol
[[alternative HTML version deleted]]
2009 Nov 21
4
title problem
Hi,
I got problem in using title function to create a title for multiple plots presented together by par. As can be seen in the attached file, the title is displayed truncated and the subtitle doesn't get displayed. Here is the code:
par(mfrow = c(1,2))
plot(c(1,2,3), c(9,8,7))
plot(c(1,2,3), c(9,8,7))
title(main = "Main title", sub ="Sub title",outer = TRUE,
2009 Nov 21
2
Fw: Re: title problem
It seems that there is a problem in
displaying subtitle in general, independently from
multi-plot display. when I do
plot (c(1,2,3), c(9,8,7), type = "l")
title(main = "Main title", sub ="Sub title",cex.main=2,
cex.sub = 2)
subtitle doesn't get displayed
> --- On Sat, 11/21/09, David Winsemius <dwinsemius at comcast.net>
> wrote:
>
2009 Oct 09
2
plot the same types of graphics on the same R graphic device
Hi,
How to plot the same types of graphics on the same R graphic device? Suppose that we want to plot a vector y against x (using plot for instance). How is it possible to plot y against x for different values of these two vectors on the same device so that the plots could be compared?
Cheers,
Carol
[[alternative HTML version deleted]]
2009 Nov 02
7
qqplot
Hi,
We could use qqplot to see how two distributions are different from each other. To show better how they are different (departs from the straight line), how is it possible to plot the straight line that goes through them? I am looking for some thing like qqline for qqnorm. I thought of abline but how to determine the slope and intercept?
Best wishes,
Carol
2011 Jan 12
2
Access R Help Content From R
Have UI that simplifies running code from another (internal) package,
allowing user to set values on fields I basically grabbed from results
of calls to formals() for various functions. That works fine for the
most part. But it was requested to investigate some type of popup help
or something for each field.
Since I already wrote the information in the dot-Rd files for what
should be displayed,
2001 Nov 20
1
using samba to serve the whole tree of home directories
I'm trying to use samba to serve a number of home
directories to other samba Linux clients on my
network.
ie. I have a set of client machines that want to use
the /home directory that my samba server will provide
I thought I could set up a share that goes something
like this
[homedirs]
path = /home
writable = true
On a client machine, I smbmount //myserver/homedirs
2008 Nov 04
1
Is SIPPEER curcalls working for you ?
Hi,
In this thread
http://lists.digium.com/pipermail/asterisk-users/2008-October/219592.html ,
I wondered whether SIPPEER curcalls was working.
I could test this anew today. Here are my findings :
Alice, Bob and Carol ar all using SIP Phones.
Whenever Alice is calling Bob,
- if Carol is calling Alice, SIPPEER(Alice:curcalls) equals 0
- if Carol is calling Bob, SIPPEER(Bob:curcalls) equals 1
2002 Jan 29
5
Still no luck on command line parse
Thanks, bjornr, however your suggestion to try:
wine "C:\Program Files\intuit\qbtimer\qbtimer.exe"
gave the same result as the other command lines I tried.
All invoke the qbtimer program and all get the same error from qbtimer:
Can't find timer file "Files/intuit/qbtimer.exe" ...
So wine properly finds the qbtimer.exe file. The error arises after
the program is
2009 Apr 28
3
truehist and density plots
Hi,
I wanted to plot the histogram of a vector and then, plot the density function of subsets of the vector on the histogram. So I use truehist in MASS package and lines(density) as follows:
length(b) = 1000
truehist(b)
lines(density(b[1:100]))
however the density plot of the first 100 points exceeds the max of y axis (see attached). how is it possible to make a graphics so that the density plot
2009 Apr 06
2
approximation function
Hi,
Having a set of values (non-time series data), what are the approximation functions that could determine the trend of the values?
Cheers,
Carol
[[alternative HTML version deleted]]
2009 Sep 11
3
how to determine if a variable is already set?
Hi,
It might be a primitive question but how it is possible to determine if a variable is initialized in an environment? Suppose that we start a R session and wants to run a script which use the variable i. Which function could evaluate if i is already initialized or not and if not, then ask interactively the user to set it? This is to avoid the error message: object i is not found.
Regards,
2010 Sep 17
3
some problems reported in 00check.log
Hi,
1-
How is it possible to use the name of a generic function as
the name of a function which is not related to the generic
function? For example, if I define predict.my.function, R
will relate it to predict function and I'll get the following
warning when I run R CMD check
* checking S3 generic/method consistency ... WARNING
predict:
? function(object, ...)
predict.my.function
2007 Nov 15
2
how to extract the elements of a list of vectors in a fixed position?
Hi,
How is it possible to extract athe elements of a list of vectors in a fixed position? suppose that I have a list of 2-element vectors, how can I extract the 2nd element of all vectors in the list? Can it be done with indexing and not by element name?
Thanks
carol
So in this example, I want to extract 2 and 4
v = list (c(1,2), c(3, 4))
> v
[[1]]
[1] 1 2
[[2]]
[1] 3 4
2012 Feb 15
2
Error in rep.int(boxwex, n) : negative length vectors are not allowed
Dear All,
I tried to invoke plot for a matrix of?196475 x2 dimension. I loaded the data with read.table. On one dimension, there are strings (names) and on the other dimension, the floats between 0 and 1. When I invoked plot by setting x to names and y to floats and ylim = c(0,1), I got the following error message:
Error in rep.int(boxwex, n) : negative length vectors are not allowed
Does it