Displaying 20 results from an estimated 1000 matches similar to: "Converting ordinal dates and time into sensible formats"
2009 Nov 10
3
Dates plotting backwards
Hello,
I am having a little trouble formatting my dates correctly. When I plot
something using the following commands, R plots the most recent date on the
left of the figure and then earlier date on the right of the figure. Given
that English is read from left to right I would like to have the dates on my
figure arranged in the same way. I am sure that this is something fairly
simple but I was
2010 Jun 22
1
k-sample Kolmogorov-Smirnov test?
Hello,
I am curious if anyone has had any success with finding a R version of a
k-sample Kolmogorov-Smirnov test. Most of the references that I have able to
find on this are fairly old and I am wondering if this type of analysis has
fallen out of favour. If so, how do people tend to compare distributions
when they have more than two? Is it reasonable to pursue an adjusted p-value
method. That is,
2010 Nov 17
2
Drop non-integers
Hello all,
I have a fairly simple data manipulation question. Say I have a dataframe
like this:
dat <- as.data.frame(runif(7, 3, 5))
dat$cat <- factor(c("1","4","13","1","4","13","13A"))
dat
runif(7, 3, 5) cat
1 3.880020 1
2 4.062800 4
3 4.828950 13
4 4.761850 1
5 4.716962 4
6
2010 Apr 03
2
Using ifelse and grep
Good Morning,
I am trying to create a new column of character strings based on the first
two letters in a string in another column. I believe that I need to use some
combination of ifelse and grep but I am not totally sure how to combine
them. I am not totally sure why the command below isn't working. Obviously
it isn't finding anything that matches my criteria but I am not sure why.
Any
2010 Apr 02
1
Selecting the first row based on a factor
Hello there,
I have a situation where I would like to select the first row of a
particular factor for a data frame (data example below). So that is, I would
like to select the first entry when the factor1 =A and then the first row
when factor1=B etc. I have thousands of entries so I need some general way
of doing this. I have a minimal example that should illustrate what I am
trying to do. I am
2010 Apr 24
0
Assumptions on Non-Standard F ratios
Hello there,
I am trying to run an ANOVA model using a non-Standard F ratio. Imagine that
the treatments (treatments 1 & 2) are applied to the row not to individual
samples. Thus the row is the experimental unit. Therefore my error term in
my ANOVA table should be the error associated with with row.
The question is how do I check the assumptions of an ANOVA model when I have
a non-standard F
2011 Feb 11
0
Summarizing a response variable based on an irregular time period
Hello,
I have a question about working with dates in R. I would like to summarize a
response variable based on a designated and irregular time period. The
purpose of this is to compare the summarized values (which were sampled
daily) to another variable that was sampled less frequently. Below is a
trivial example where I would like to summarize the response variable dat$x
such that I have average
2010 Jul 22
3
Hydrology plots in R
Hello,
I am trying to create a plot often seen in hydrodynamic work than includes a
contour plot representing the water speed with arrows pointing in the
direction of flow. Does anyone have any idea how I might add arrows based on
wf$angle (in the example below) to the plot below?
Thanks in advance!
Sam
library(lattice)
speed <- runif(100, 0, 20)
wf <- data.frame(speed)
wf$width <-
2010 Mar 12
5
Vertical subtraction in dataframes
Hello all,
I have not been able to find an answer to this problem. I feel like it might
be so simple though that it might not get a response.
Suppose I have a dataframe like the one I have copied below (minus the
'calib' column). I wish to create a column like calib where I am subtracting
the 'Count' when 'stain' is 'none' from all other 'Count' data for
2008 Jan 22
0
chan_sip deadlocks after some time
Hello everybody,
I'm running Asterisk 1.2.24 on three servers which are configured
almost identical. The servers use IAX to communicate between each other
and SIP to communicate with the outside world through a Patton
Smartnode 4960 gateway. One server has about 30 SIP phones registered,
the other two servers have about 100 phones registered each.
The "small" server runs fine
2009 Oct 22
2
melting columns
Hello,
I'm using R to run a acoustic analysis software called Seewave. I ask the code to extract a list of variables from my recording, and the program give ONE table for each of these. The tables consist of a two column data.frame with the time in column 1 and the frequency in column 2. However, for my purpose I need only one column with the time first and the frequency second. I tried
2013 Jan 03
3
Make a column from columns
Hi,
I have a data matrix with 13 columns and 55 rows. First coulmn is year and
other are monthly values for 55 years.
Now i want to create a single column of all the values ( i e a single time
series column from column 2 to 13 ).
Is it the for loop that works here ...how ?
or how i can rearrange the data so that it becomes a times series column.
hope i made the question clear .
thank you,
2009 Mar 19
1
subtract values
Dear R-help
I am using R version 2.6.2. I am trying to subtract specific values from a larger data frame. I feel this should be straightforward, but I am struggling.
I have a dataframe "Bk" as follows:
DateTime cumPrecip
01/01/2008 00:00 348
01/01/2008 01:00 348
01/01/2008 02:00 348
01/01/2008 03:00 347
01/01/2008 04:00 348
01/01/2008 05:00 348
01/01/2008 06:00 349
2004 Aug 06
1
Weird sample rate errors
Hey
I got Icecast2 to work, except that when I try to listen to it, it has
this weird sample error where everything is sped up. Any way to fix this?
--
------------------------------------------------
Joe Bowser
Program Director
CFUR FM 88.7 - UNBC/CNC Campus/Community Radio
Suite 7-222, 3333 University Way
Prince George, BC V2N 4Z9
Phone: (250) 960-7664 Fax: (250) 960-5995
2010 Feb 20
3
Error Bars in lattice- barcharts
Hello,
I am attempting to write a script that adds error bars to a barchart. I
basing my attempt heavily on the following thread:
http://tolstoy.newcastle.edu.au/R/e2/help/06/10/2791.html
I can't seem to get around the problem that was discussed in the thread. The
following example should illustrate my problem. Sorry about the messy
example but I am 1) trying to make it as close as possible
2009 Nov 13
2
linear model and by()
Hello R list,
This is a question for anyone who has used the by() command. I would like to
perform a regression on a data frame by several factors. Using by() I think
that I have able to perform this using the following:
> lm.r <- by(master, list(Sectionf=Sectionf, startd=startd), function(x) lm
(tot.c ~ starttime, data = x))
So that is, I would like to perform separate regressions for
2012 Apr 10
2
[LLVMdev] [cfe-dev] where to send test suite errors
illumos has done a free and clear implementation of locale support for
libc, and, in fact, it was taken from FreeBSD. Have a look at:
https://www.illumos.org/projects/illumos-gate/repository/show/usr/src/lib/libc/port/locale
I'd love it if we could get libc++ ported to illumos. I've got two
bugs already filed for issues I had with the build infrastructure that
our porting system turned
2017 Feb 14
2
[Announce] Samba 4.6.0rc3 Available for Download
Release Announcements
=====================
This is the third release candidate of Samba 4.6. This is *not*
intended for production environments and is designed for testing
purposes only. Please report any defects via the Samba bug reporting
system at https://bugzilla.samba.org/.
Samba 4.6 will be the next version of the Samba suite.
UPGRADING
=========
vfs_fruit option
2017 Feb 14
2
[Announce] Samba 4.6.0rc3 Available for Download
Release Announcements
=====================
This is the third release candidate of Samba 4.6. This is *not*
intended for production environments and is designed for testing
purposes only. Please report any defects via the Samba bug reporting
system at https://bugzilla.samba.org/.
Samba 4.6 will be the next version of the Samba suite.
UPGRADING
=========
vfs_fruit option
2014 Aug 27
2
multiple IMAP sessions when connecting from one client
Hello,
I am using Postfix/Dovecot/IMAP.
Everything is working fine, but I have noticed that every time I connect
with Thunderbird to my server via IMAP, not one but 4 connections are
being logged into /var/log/mail/mail.log:
2014-08-27 09:17:46 dovecot: imap-login: Login: user=<martin>,
method=PLAIN, rip=11.22.33.44, lip=55.66.77.88, mpid=12519, TLS,
session=<uyb/N5cB+gBUDFRB>