Displaying 20 results from an estimated 500 matches similar to: "Dateticks"
2005 Jun 23
3
(no subject)
Hello Rers:
Let's say I have a column that looks like this:
Column
167.8
292.8
363.3
1.9
115.25
I want to manipulate the above data such that I only end up with this same
column but only with its decimals and not its whole numbers. So the new
column would look like this (but the real column is VERY long):
Column
.8
.8
.3
.9
.25
Any suggestions about how I could do this?
--
Do all you
2005 Jun 16
3
Moving average
Good morning all!
I am attempting to superimpose a moving-average smoother onto a graph of
daily plots. These plots (in table[,2] below) span about 350 days and
looks very noisy. I'd like for this smoother to plot the average of each
group of 7 consecutive days (weekly) and show a line which joins these
series of averages. Given the definition of MA, the first and last points
will
2005 Jun 22
2
Contour Plots
Hello all.
I'm confused a bit about contour plots. After reading the help at
"?contour", it seems as though the contour plot is for 3D plots (x,y, and
z). My data is in the form of grid coordinates (x,y), and I want to see a
contour plot of the data so that I can tell where most observations lie.
My question is simple but still evasive.
Say my data is called places. One column
2005 Jun 20
2
Data Parsing
Hello. I have looked at R Site Search for this problem, and it didn't
give me exactly what I needed.
Consider this dataset called "results". It has the following information:
Student Day Subject Score
Mary 1 Math Failed
David 2 Science Passed
Bob 4 Reading Passed
Marie 4
2005 May 25
3
Rounding fractional numbers to nearest fraction
Hi all,
I've got a matrix of fractional data that is all positive and greater than
zero that I would like to "loosely" classify, for lack of a better word. It
looks something like this :
1.07 1.11 1.27 1.59 0.97 0.76
2.23 0.98 0.71 0.88 1.19 1.02
What I'm looking for is a way to round these numbers to the nearest 0.25,
i.e. the above matrix would be
2004 Sep 24
3
Error with repeat lines() in function
I have a function that does some plotting. I then add lines to the
plot. If executed one line at a time, there is not a problem. If I
execute the function, though, I get:
Error in ans[[1]] : subscript out of bounds
This always occurs after the second lines command, and doesn't happen
with all of my data points (some do not have errors). Any ideas?
Thanks,
Sean
2004 Oct 07
3
Read.Table Reading a Text file
Dear R users and Helpers
I am beginner with using R and interested in carrying out certain task for my statistical research.
I am reading data for a text file, which could contain data in following pattern
x y
8 10
11 14
16 16
18 15
6 20
4 4
20 18
As per the example I have two columns and 7 rows of data in each.
However is real life data situation I may not know how many columns are present
2011 Aug 15
2
lvm and kvm
I am performing some configuration testing on a kvm host. When
installing a guest operating system is it advisable to place each
instance in a separate lv or better to accept the default and store
them on the root file system?
Respecting lvm, does one configure lvs in a virtual server to take
space from the main vg or does one allocate lv space from inside
that allocated to the virtual instance?
2003 Jun 19
1
Problem reading a PDF output
I generated a PDF output file of 10 plots. When I try to view it with
Adobe reader (R4 & R5), it will lockup the reader (it is consuming 100% of
the CPU) after presenting the 4th plot. I can generate the plots just fine
in Windows and as a postscript file reading it with GSview.
Is there anyway to tell what might be wrong with the PDF output? The file
is 890KB in size if anyone would like
2005 Jan 21
6
Avoiding a Loop?
Dear R-Helpers,
I have a matrix where the first column is known. The second column is
the result of multiplying this first column with a constant "const". The
third column is the result of multiplying the second column with
"const".....
So far, I did it like this (as a simplified example):
nr.of.columns <- 4
myconstant <- 27.5
mymatrix <- matrix(numeric(0), nrow=5,
2014 Aug 28
3
PXE booting WinPE with UEFI architecture
Anyone have luck with pxechn32 and bootmgfw.efi?
I'm getting the "Unable to retrieve first package" issue as reported by others.
Really, any advice for UEFI booting into a winpe environment off of pxelinux 6.03 would be beneficial.
Jason Jones
Sr. Associate, Network Services | End User Computing
3947 N Oak St Ext | Valdosta, GA 31605
O +15137844955
E jason.s.jones at
2002 Feb 22
1
Summary: read.table on Mac OS X, CARBON vs. DARWIN
Thanks a lot, James!!
The problem is fixed. On the version 1.4.0 Mac/darwin (the latest
available version for this system) the function read.table (which is
called from read.delim etc., too) has the bug you explained.
Inserting the row
nlines <- nlines+1
after
lines <- c(lines, line)
removes this bug.
M.
On Friday, February 22, 2002, at 02:33 PM, james.holtman at convergys.com
2004 Jan 16
2
reference to objects
Hi,
is there a way to reference to a data object without copying it?
For example I have a huge matrix called dist and I want two objects
obj1 and obj2 to have a memeber dist that points to the matrix, but
I don't want, for memory reasons, to copy the matrix twice.
As far as I understand the following code will generate three copies
of my data:
dist <- some_code_that_generates_data
2003 Sep 17
5
using matrix data for function
Hi All,
I have a function, f(x,y)
I have a matrix of data, m, with the 1st column is x and the 2nd column is y
What's the best way to get f(x,y) for each row of the matrix?
I tried
result<-f(m[,1],m[,2]) but it doesn't work.
Thanks!
Bing
---------------------------------
1060 Commerce Park
Oak Ridge National Laboratory
P.O. Box 2008, MS 6480
Oak Ridge, TN 37831-6480
Phone:
2002 Feb 04
2
maximal dataset size
Hi, there,
I am using PC window version R and dealing with big dataset usually. May
anyone let me whether the maximal dataset size in R is limited by computer
memory or hard drive capacity?
Thanks in advance.
Yiling Cheng, M.D., Ph.D.
Project Manager
The Cooper Institute for Aerobics Research
12330 Preston Road, Dallas, Texas 75230
phone: (972) 3413248; Fax: (972) 3413224
2003 Oct 09
3
Specifying suitable PC to run R
If I am buying a PC where the most compute intensive task will be running R
and I do not have unlimited resources what trade-offs should I make?
Specifically should I go for
1 - more memory, or
2 - faster processor, or
3 - something else?
If it makes a difference I shall be running Windows on it and I am thinking
about getting a portable which I understand makes upgrading more difficult.
Extra
2001 Aug 03
1
large address spaces in R
I have been using SPLUS on UNIX to do performance analysis of our computers
and have some matrices that are about 15M rows with 8 columns. These are
'integers' and therefore take up about 500M of memory. I run on a system
with 2G of memory and will utilize over a 1G when processing this data.
I am considering using R and was wondering how large addresses spaces are
handled under
2004 Jun 07
7
Vectors of years, months, and days to dates?
The interface for dates in R is a little confusing to me.
I want to create a vector of Date objects from vectors of years, months, and
days.
One solution I found is:
years <- c(1991, 1992)
months <- c(1, 10)
days <- c(1, 2)
dates <- as.Date(ISOdate(years, months, days))
But, in this solution the ISOdate function converts the vectors into
characters,
which can cause serious
2004 Jan 22
2
scan() Bug?
I'm reading a file into a list by:
PDF = scan("file",what="character",sep="\10")
"\10" is the newline character in this file, also tried "\n" originally
On lines that are ended by "\13\10", both are dropped from the list entry
I want scan to keep the "\13" in the list entry.
Is this a bug or just a strange feature?
2004 Sep 12
3
calculating error
Could anybody explain this results?
>sin(2*pi)
-2.449213e-16 #should be zero
>(10^16)*sin(log2(4)*pi)
-2.449213 #should be zero too
and explain what to do to correct this events?
Thanks!!!
Branimir K. Hackenberger