Displaying 14 results from an estimated 14 matches for "spriggs".
2008 Feb 27
4
Error in cor.default(x1, x2) : missing observations in cov/cor
Hello,
I'm trying to do cor(x1,x2) and I get the following error:
Error in cor.default(x1, x2) : missing observations in cov/cor
A few things:
1. I've used cor() many times and have never encountered this error.
2. length(x1) = length(x2)
3. is.numeric(x1) = is.numeric(x2) = TRUE
4. which(is.na(x1)) = which(is.na(x2)) = integer(0) {the same goes for
is.nan()}
5. I also try
2018 Mar 15
2
Vary an equation using values from a sequence
Hi All,
I have a vector of data on which I am operating. The equation with which I want to operate on the vector has a value k. I want to run the equation and output a new vector, each time replacing k with each value from the sequence I defined. I have thought about using for loops and such, but this seems like overkill. I am wondering if there is a simple solution that would allow me to
2008 Jun 09
2
Plot timer in a for loop
Hello,
This code works fine but is so fast I can't see anything but the last plot.
for (i in nrow(X)){
plot(as.numeric(d[i,])) }
I'd like to view a plot every 500 milliseconds, nrow(X) = 400. How?
Thanks
--
View this message in context: http://www.nabble.com/Plot-timer-in-a-for-loop-tp17741975p17741975.html
Sent from the R help mailing list archive at Nabble.com.
2001 May 09
1
Buffer overrun using W2k.
We recently upgraded our NT4 Domain to Win2k.
We use Samba 2.0.7 running on Solaris 2.6 servers.
We are getting buffer overuns in the log files when running
'domain_client_validate' which appears to be due to extensive group
membership (SID History is not being used).
Are there any patches/fixes available to get round this problem?
Thankyou in anticipation.
Regards,
Rich Sprigg
2016 Mar 11
2
Forward only specific identities
...ay to only forward specific
identities to some hosts. What I would really like to have is a way to
only forward the identity that gave me a successful auth:
% ls ~/.ssh | grep .pub
id_ecdsa.pub
id_ed25519.pub
id_rsa.pub
% cat .ssh/config
Host example.com:
IdentitiesOnly=yes
IdentityFile=/home/tspriggs/.ssh/id_rsa.pub
Host another-example.com:
IdentitiesOnly=yes
IdentityFile=/home/tspriggs/.ssh/id_ecdsa.pub
# This would be super cool:
Host *
OnlyForwardAuthedKey=yes
% ssh tspriggs at example.com
example.com % ssh-agent -L
ssh-rsa ...
example.com % ssh tspriggs at another-example.com
Perm...
2008 Feb 08
2
When I cbind the POSIXct gets lost
I would like to create a new dataframe from the DateTime column of an
existing dataframe and a numeric vector. When I do cbind(x[,1], y) the
result is:
[1,] 1199370600 12.500
[2,] 1199371200 69.375
[3,] 1199371800 23.750
where the first column you see used to look like:
"2008-01-03 08:30:00 Central Standard Time"
"2008-01-03 08:40:00 Central Standard Time"
2018 Mar 15
0
Vary an equation using values from a sequence
I thnk what you want is ?outer. e.g.:
outer(Data -min(Data),value,FUN = "+")
Whether this works for your real task, however, may depend on details and
complexities that you have omitted.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom
2007 Oct 26
2
calculating correlation of a Supply/Demand measure and price change (in high frequency time series data)
Regarding "financial" data: I have a high frequency (1 minute) measure of
supply/demand and I'd like to know if it has any influence on short term
price changes (also 1 minute).
Question: How do I calculate the correlation between this supply/demand
measure and price changes (correctly)?
Some facts about that data:
The price changes and supply/demand measure are non-normal. An
2018 Mar 21
0
Vary an equation using values from a sequence
It depends a bit on what you plan to do with the results. A loop would be easy and straightforward:
> k <- 1:5
> for(k in 1:5) print(Data - min(Data) + k)
[1] 1 2 3 4 5 6 7 8 9 10
[1] 2 3 4 5 6 7 8 9 10 11
[1] 3 4 5 6 7 8 9 10 11 12
[1] 4 5 6 7 8 9 10 11 12 13
[1] 5 6 7 8 9 10 11 12 13 14
Or you can use sapply() to hide the loop:
> sapply(1:5,
2007 Sep 19
53
enterprise scale redundant Solaris 10/ZFS server providing NFSv4/CIFS
We are looking for a replacement enterprise file system to handle storage
needs for our campus. For the past 10 years, we have been happily using DFS
(the distributed file system component of DCE), but unfortunately IBM
killed off that product and we have been running without support for over a
year now. We have looked at a variety of possible options, none of which
have proven fruitful. We are
2007 Sep 14
10
Mixing SATA & PATA Drives
I suspect it''s probably not a good idea but I was wondering if someone
could clarify the details.
I have 4 250G SATA(150) disks and 1 250G PATA(133) disk. Would it
cause problems if I created a raidz1 pool across all 5 drives?
I know the PATA drive is slower so would it slow the access across the
whole pool or just when accessing that disk?
Thanks for your input.
- Chris
2007 Sep 25
23
device alias
Hi. I''d like to request a feature be added to zfs. Currently, on
SAN attached disk, zpool shows up with a big WWN for the disk. If
ZFS (or the zpool command, in particular) had a text field for
arbitrary information, it would be possible to add something that
would indicate what LUN on what array the disk in question might be.
This would make troubleshooting and general
2007 Oct 02
53
Direct I/O ability with zfs?
We are using MySQL, and love the idea of using zfs for this. We are used to using Direct I/O to bypass file system caching (let the DB do this). Does this exist for zfs?
This message posted from opensolaris.org
2009 Jun 01
0
Converting data.frame to xts
I have a data.frame object and I don't really understand how to made an xts
class out of it.
Consider:
> x <- data.frame(datetime, ltp, ltv)
> head(x, 2)
datetime ltp ltv
1 2009-05-05 07:30:01.604 899 1
2 2009-05-05 07:30:01.963 899 15
> class(x$datetime)
[1] "POSIXt" "POSIXct"
#This works for only one column and why do I lose the name