Displaying 20 results from an estimated 1000 matches similar to: "R internal clock time discrepancy"
2008 Aug 09
1
Converting nested "for" loops to an "apply" function(s)
Hello,
I would like to know more about how to use the "apply" family and have attempted to convert nested "for" loops in example code from Contributed Documentation ("The Friendly Beginners' R Course? by Toby Marthews (ZIP, 2007-03-01)") to an "apply" function(s). The relevant code is:
distances=c(51,65,175,196,197,125,10,56) #distances of 8 houses
2008 Jun 11
1
Word wrapping for character objects (WINDOWS R ONLY)
Can anybody help me with this problem? ** ONLY WINDOWS R - PROBLEM DOESN'T
OCCUR ON LINUX **
I want to print a long character to screen:
> getOption("width")
[1] 60
> z=(1:20)/10 #z is a vector of length between 20 and 30 (depending on
user options) containing lengths in mm (i.e. each element is 1-5
characters long)
> str1=paste("The depths chosen are
2006 Mar 27
0
not a problem: a submission (PR#8714)
Full_Name: TOBY MARTHEWS
Version: 2.1.1
OS: Windows XP
Submission from: (NULL) (139.133.7.38)
I think you should have better examples on the ?plot man page, if you don't mind
me saying. Can I suggest something like this, which would probably stop so many
emails to the R help about how to put on error bars
Cheers,
Toby M
******************************
xvalsT1=1:3
yvalsT1=c(10,20,30)
2007 Jun 08
1
Question about Running C code from R
Dear R-devel,
Apologies for sending what is probably a very simple question to R-devel: I am definitely missing something very simple and can't work out what it is. I've been trying to find the problem here for about a month and need some help!
I am trying to work out how to run a C program from an R script. Rather than try the C program directly, I'm trying to get a much simpler
2008 Aug 29
1
nls() fails on a simple exponential fit, when lm() gets it right?
Dear R-help,
Here's a simple example of nonlinear curve fitting where nls seems to get
the answer wrong on a very simple exponential fit (my R version 2.7.2).
Look at this code below for a very basic curve fit using nls to fit to (a)
a logarithmic and (b) an exponential curve. I did the fits using
self-start functions and I compared the results with a more simple fit
using a straight lm()
2011 Jan 17
1
Using anova() with glmmPQL()
Dear R HELP,
ABOUT glmmPQL and the anova command. Here is an example of a repeated-measures ANOVA focussing on the way starling masses vary according to (i) roost situation and (ii) time (two time points only).
library(nlme);library(MASS)
2017 Feb 08
2
Need help troubleshooting TCP thrashing, possible kernel bug?
I have a FreeNAS 9.3 server running Samba Version 4.3.6 and a bunch of
Windows and Linux clients. Everything's been running fine for a while and
nothing changed on the server.
Recently (Jan 27th) some of the Archlinux clients updated from a 4.8.x
kernel to a 4.9.x kernel. Again, things ran fine. Then on Jan 30th around
2am the Archlinux clients using 4.9.x kernels and utilizing mount.cifs to
2010 Aug 18
2
Different way of aggregating
Hi
Usually "aggregate" is used to calculate things such as the sum of all data
on the first day, the sum next day, and so on.
But how can I calculate the mean of the first hour of all days, the mean of
the second hour of all days, and so on. ???
That's
Most examples:
today at 1am + today at 2am + today at 3am +.... -> sum
today
tomorrow at 1am + tomorrow at
2010 Jul 16
1
Nested if help
Hello,
I am trying to find a direct way to write a nested if of sorts to find data
for a specific time range for a specific day (across a range of days) and
have exhausted my abilities with the manuals I have at hand. I have a good
deal of data of this approximate form:
day time price
1 1am 5
1 2am 7
1 3am 9
1 4am 12
2 1am 5
2 2am 7
2
2008 Jun 04
2
Constructing groupedData objects in nlme - a little problem
Dear R-help,
I am trying to create groupedData objects using the nlme library. I'm
missing something basic, I know:
Here is the first example in ch.1 of Pinheiro & Bates (2000):
library(nlme)
x2=Rail$travel;x1=Rail$Rail;eg1=data.frame(x1,x2);eg1gd=Rail
print(eg1gd)
x11();print(plot(eg1gd))
femodel=lm(x2~x1-1,data=eg1gd)
print(femodel$coefficients)
Result:
x12 x15 x11
2003 Dec 10
0
[Fwd: Shorewall 1.4.9 news discrepancy]
On Wednesday 10 December 2003 06:33 am, Tom Eastep wrote:
> On Tuesday 09 December 2003 09:29 pm, you wrote:
> > I am sorry. I thought I was clear. I guess I did not state explicitly
> > the discrepancy.
>
> Sorry for being snippy -- I shouldn''t let my personal problems leak out onto
> the list.
>
> > The comments (#) I put in the original post (below)
2008 Apr 04
0
discrepancy between CDR clid and Polycom IP601 clid
Hi,
Returning to my office I find two "missed calls" (from autodialers) that
my IP601 displays as originating from 01111111111. However the CDR
database recorded the call this way:
calldate: 2008-04-04 14:18:16+02
clid: 0172752780
src: 0172752780
dst: 2131
dcontext: default
channel: Zap/1-1
dstchannel: SIP/0146472131-007a7e80
lastapp:
2007 Nov 06
0
Discrepancy of Neg. Binomial Estimation in R
Dear all,
I have a puzzle regarding the estimation of Neg. Binomial event count
model in R. I would greatly appreciate if anyone could shed some light
on my puzzle.
Using the glm.nb command, or the zelig command developed by Gary King
et. al., I obtain the same point estimates in R as well as in Stata.
However, if I write my own likelihood function to estimate a neg.
binomial event count
2010 Jul 16
1
discrepancy matrix
Hi!
I want to create a discrepancy matrix.
I have got a data.frame Q:
number colour date
2 343 b 1503
3 678 g 1701
4 347 b 1904
5 345 b 2001
6 123 g 1809
Now i want to create a matrix, whose entries are the total differences
between the ranks of number and date for each
2008 Jun 18
0
Low-discrepancy sequences
Is there any way to _test_ if a given sequence is a
low-discrepancy sequence?
Or, equivalently, is there any way to measure the "discrepancy"
of a sequence?
WTIW, ...
http://en.wikipedia.org/wiki/Low-discrepancy_sequence
... doesn't look like something implementation-friendly :-)
Alberto Monteiro
PS: low discrepany sequences are easily generated in R by
the functions
2006 May 19
0
smbclient vs. smbmount -- discrepancy?
Hi. Using Debian smbclient 3.0.22 and smbmount 3.0.22, I've found an
oddity that I can't explain: when I use smbclient, and log in to an XP
box's C$ share as administrator, if I try to go to
c:\Documents and Settings\Administrator
it tells me I don't have permissions; note that I can see stuff above
"Administrator" in the hierarchy. If I try to visit the same location
2014 Jan 19
1
Cluster Size discrepancy between FAT32 and NTFS
Hi,
I am not an engineer or linux expert but I have been using syslinux to boot
live disk filesets (extracted from iso's) residing on fat32 and NTFS volumes.
In FAT32 there has been no problem going with larger cluster sizes up to the nominal maximum of 64K
however, with NTFS it has not been possible to exceed the cluster size of 4096.
With NTFS formatted using clusters of 8192 or larger,
2014 Jan 19
0
Cluster Size discrepancy between FAT32 and NTFS
Hi,
I am not an engineer or linux expert but I have been using syslinux to boot
live disk filesets (extracted from iso's) residing on fat32 and NTFS volumes.
In FAT32 there has been no problem going with larger cluster sizes up to the nominal maximum of 64K
however, with NTFS it has not been possible to exceed the cluster size of 4096.
With NTFS formatted using clusters of 8192 or larger,
2018 Feb 06
0
[PATCH] syslinux/core: Remove discrepancy between code comments and compiled code in malloc.h
From: Brett Walker <brett.walker at geometry.com.au>
Remove a discrepancy between code comments and the definition for arena_header,
ARENA_PADDING and free_arena_header.
When the size of int and pointer are both 32-bits; and compiled with
DEBUG_MALLOC undefined; the following are true: sizeof(arena_header) == 16
and sizeof(free_arena_header) == 56.
To correct this, the type of _pad needs
2011 Jan 25
1
mysqld status discrepancy
Bug, explainable, or expected?? Checking the status of mysqld as root,
then as a regular user:
# /etc/init.d/mysqld status
mysqld (pid 4806) is running...
$ /etc/init.d/mysqld status
mysqld dead but subsys locked