Displaying 20 results from an estimated 2000 matches similar to: "Problem with fractional seconds"
2010 Feb 19
1
r help date format changes with c() vs. rbind()
Dear List,
I am having a problem with dates and I would like to understand what is going on. Below is an example. I can produce a date/time using as.POSIXct, but I am trying to combine two as.POSIXct objects and keep getting strange results. I thought I was using the wrong origin, but according to structure(0,class="Date") I am not (see below). In my example a is a simple date/time
2009 May 22
5
Need a faster function to replace missing data
Dear List,
I need some help in coming up with a function that will take two data sets, determine if a value is missing in one, find a value in the second that was taken at about the same time, and substitute the second value in for where the first should have been. My problem is from a fish tracking study. We put acoustic tags in fish and track them for several days. Location data is supposed
2009 May 26
4
Creating multiple graphs based on one variable
Dear List,
I would like to create several graphs of similar data. I have x and y values for several different individuals (in this case fish). I would like to plot the x and y values for each fish separately. I can do it using a for loop, but I think I should be using "apply". Please let me know what I am doing wrong, or if there is a "better" way to do this. What I have
2014 Feb 05
1
ldb segment fault. Problem on joining as a DC member.
Dear All,
Need some help as I was trying to follow the guide below.
https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
Until the steps of
ldbsearch -H /usr/local/samba/private/sam.ldb '(invocationid=*)'
--cross-ncs objectguid
and my ldbsearch reply with such a result.
ldb: unable to dlopen /usr/lib64/samba/ldb/acl.so :
/usr/lib64/ldb/libreplace.so: version
2010 Jul 30
4
transpose of complex matrices in R
Hello everybody
When one is working with complex matrices, "transpose" very nearly
always means
*Hermitian* transpose, that is, A[i,j] <- Conj(A[j,i]).
One often writes A^* for the Hermitian transpose.
I have only once seen a "real-life" case
where transposition does not occur simultaneously with complex conjugation.
And I'm not 100% sure that that wasn't a
2003 Mar 06
1
Timezones
Can anybody give me a hint why as.POSIXlt doesn't recognize the same
timezones that zdump knows about (Linux Suse 8.1 and Suse 7.3)? Is there
a workaround?
R : Copyright 2002, The R Development Core Team
Version 1.6.1 (2002-11-01)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for
2007 Jul 07
1
calculating p-values of columns in a dataframe
I have a dataframe ("mydf") that contains "differences of means".
I wish to test whether these differences are significantly different from zero.
Below, I calculate the t-statistic for each column.
What is a "good" method to calculate/look-up the p-value for each column?
mydf=data.frame(a=c(1,-22,3,-4),b=c(5,-6,-7,9))
mymean=mean(mydf)
mysd=sd(mydf)
2010 May 03
2
Estimating theta for negative binomial model
Dear List,
I am trying to do model averaging for a negative binomial model using the package AICcmodavg. I need to use glm() since the package does not accept glm.nb() models. I can get glm() to work if I first run glm.nb and take theta from that model, but is there a simpler way to estimate theta for the glm model? The two models are:
mod.nb<-glm.nb(mantas~site,data=mydata)
2002 Nov 25
3
Full enumeration, how can this be vectorized
Hi all,
I am currently using the code snippet below to minimize a function which I
wasn't able to minimize properly with optim (cliffy surface, constraints,
poles). Obviously this iteration is probably the poorest way of implementing
such a function and it is expectedly slow. I've already written some
vectorized functions, but I'm afraid that I'm missing the "big
2004 Apr 07
2
Memdisk
Memdisk 2.08 cannot boot an XP boot floppy image (XP appears to use WinME
boot files for its bootable floppy). For example:
http://members.iinet.net.au/~bdriver/bootdisk/download.htm
This disk will not boot with Memdisk (Memdisk starts to load the image and
then hangs). I'm using Bart's tools to build a boot CD:
http://www.nu2.nu/corpmodboot/
Which uses Isolinux and Memdisk.
2009 May 21
2
help with gsub and date pattern
Dear List,
I am having a problem using gsub to remove dates from a date/time string.
For example:
x<-c("5/31/2009 12:34:00","6/1/2009 1:14:00")
I would like to remove the date and have just the time.
I have tried:
gsub("[0-9+]/[0-9+]/[0-9+]","",x)
and various versions. I think my problem is that the / is a special character and is telling it
2009 Dec 04
2
[ggplot2] Wind rose orientation
Aloha all,
I love using ggplot. It took a while to get used to the grammar of
graphics, but it is starting to get easy now that I am thinking in a
more structured way.
A question. I'm making a wind rose that I'd like to be oriented with
due north straight up. I've discovered that the orientation is
sensitive to how north is represented. When north is represented as
0,
2004 Jun 19
1
HST Saphir with Asterisk
Hello,
I would like to use my existing HST Saphir V S2M PCI with Asterisk.
Unfortunately I could not find any information about the usage with
Asterisk.
Does someone know if it's possible to use it? Do I need to do something
special?
Regards
Julian Pawlowski
2012 Jun 27
2
WINS doesn't work on some ip addresses in multihome setup
Hello everybody!
Still struggeling with my latest Samba setup, I've just run accross
another problem which I can't figure out on my own. Samba is supposed to
act as a WINS server (among other things) on a multihomed machine. (The
Samba version is 3.5.1 as part of Debian Squeeze)
Here's the [global] part of the samba setup:
----------------------------------- 8<
2012 Jun 23
1
Home-Shares are not writeable
Hello everyone!
After running Samba on several machines for some years, I just came
accross a rather strange problem. The short story is that the special
user home shares are readable, but not writeable.
Here's the long story: The system is a freshly set-up Debian Squeeze,
right out of the box. This is the Samba config:
-------------------------------- 8<
2013 May 01
2
significantly different from one (not zero) using lm
Hello,
I am work with a linear regression model:
y=ax+b with the function of lm.
y= observed migration distance of butterflies
x= predicted migration distance of butterflies
Usually the result will show
if the linear term a is significantly different from zero based on the
p-value.
Now I would like to test if the linear term is significantly different from
one.
(because I want to know
2009 May 08
0
why doesn't t.test value include standard error
Hello, everybody!
I'm back to ask the obvious on behalf of the silent majority :)
Today a student asked me "what standard error was used in this t.test
output". I looked into it and was a little surprised that a t.test
output object does not have a "slot" for the standard error. Of
course, we can reconstruct the se=mu-hat/t, but I was surprised.
Do you think it would
2009 Oct 09
4
Satellite ocean color palette?
Dear List,
Is there a color palette avaliable similar to what is used in satellite ocean color imagery? I.e. a gradient with blue on one end and red on the other, with yellow in the middle? I have tried topo.colors(n) but that comes out more yellow on the end. I am looking for something similar to what is found on the CoastWatch web page:
2007 Aug 15
4
Possible to "import" histograms in R?
Hi,
I have a large amount of data that I would like to create a histogram of and
plot and do things with in R. It is pretty much impossible to read the data
into R, so I have written a program to bin the data and now have a list of
counts in each bin. Is it possible to somehow import this into R and use
hist(), so I can, for instance, plot the probability density? I have looked
at the help page
2009 Aug 13
3
Finding minimum of time subset
Dear List,
I have a data frame of data taken every few seconds. I would like to subset the data to retain only the data taken on the quarter hour, and as close to the quarter hour as possible. So far I have figured out how to subset the data to the quarter hour, but not how to keep only the minimum time for each quarter hour.
For example: