Displaying 15 results from an estimated 15 matches similar to: "Maybe not a stable if statement"
2006 Nov 21
1
Is there any way to know when a field is blank
I have many text files in the format below and in certain rare instances
such as below there can be nothing in one of the fields so
a double comma is written but I won't know this because I am reading in
many,many files sequentially.
# TEXT FILE
2004-02-10 00:01:31.00000,,105.60000000
2004-02-10 00:01:32.00001,,105.60000000
2004-02-10 00:01:45.00000,,105.60000000
2004-02-10
2006 Oct 28
1
really strange problem - has to be logic but i can't find it
would someone be kind enough to paste the code below into an R session (
ir you
can paste it into a file and just source it ) and take a look at it ? I
must be doing something wrong but
i can't find it.
I start out with a zoo object that has 100 elements in it.
then, i only want to keep the rows in which the bid and the ask are both
grester than zero. ( maybe my logic is wrong there ? ).
2012 Jan 11
0
Error in charToDate(x)
Dear all,
I have a problem while working with hourly data of fx rates. I've read from
a csv file, the following way:
csv-file like:
Date,Open,High,Low,Close,Volume
2011-08-11 03:00:00,1.41758,1.42205,1.41625,1.42174,8974
...
2011-08-12 04:00:00,1.42175,1.42413,1.42067,1.42172,7229
...
2011-12-30 05:00:00,1.42173,1.42341,1.42062,1.42171,6703
...
raw<-
2003 Apr 04
2
Bug in %in% (match)
Hi,
Am I hitting some limit in match? Consider the following example:
> tst<-seq(100,125,by=.2)%in%seq(0,800,by=.1)
> sum(tst)
[1] 76
> seq(100,125,by=.2)
[1] 100.0 100.2 100.4 100.6 100.8 101.0 101.2 101.4 101.6 101.8 102.0
102.2
[13] 102.4 102.6 102.8 103.0 103.2 103.4 103.6 103.8 104.0 104.2 104.4
104.6
[25] 104.8 105.0 105.2 105.4 105.6 105.8 106.0 106.2 106.4 106.6 106.8
2003 Apr 04
2
Bug in %in% (match)
Hi,
Am I hitting some limit in match? Consider the following example:
> tst<-seq(100,125,by=.2)%in%seq(0,800,by=.1)
> sum(tst)
[1] 76
> seq(100,125,by=.2)
[1] 100.0 100.2 100.4 100.6 100.8 101.0 101.2 101.4 101.6 101.8 102.0
102.2
[13] 102.4 102.6 102.8 103.0 103.2 103.4 103.6 103.8 104.0 104.2 104.4
104.6
[25] 104.8 105.0 105.2 105.4 105.6 105.8 106.0 106.2 106.4 106.6 106.8
2011 Nov 20
1
[HCL] ALLSAI LV 2K supported by blazer_usb
Hi,
another UPS piece supported by blazer_usb:
ALLSAI
model LV 2K
upsc output:
battery.voltage: 82.08
battery.voltage.nominal: 72.0
beeper.status: enabled
device.mfr:
device.model: LV 2K
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.4.3
driver.version.internal: 0.03
input.current.nominal: 18.0
input.frequency: 59.9
2008 Apr 04
1
lme4: How to specify nested factors, meaning of : and %in%
Hello list,
I'm trying to figure out how exactly the specification of nested random
effects works in the lmer function of lme4. To give a concrete example,
consider the rat-liver dataset from the R book (rats.txt from:
http://www.bio.ic.ac.uk/research/mjcraw/therbook/data/ ).
Crawley suggests to analyze this data in the following way:
library(lme4)
attach(rats)
Treatment <-
2011 May 16
2
wireframe advice - with reproducible code
Dear List,
i am trying to produce a 3d plot using wireframe using the code:
wireframe(Residuals_FD ~ Elevation * Temperature, data = data2, scales = list(arrows = FALSE), drape = TRUE, colorkey = TRUE)
As you can see when the code (using the data below) is run the plot area is set-up correctly but the actual surface is missing?
Any help would be greatly appreciated.
Chris
#data
Elevation
2011 May 18
1
assign $y of predict() function output to variable
Hello R-help
Below is the output from the predict() function. How can I assign $y to a
variable.
>predict(function,df2)
$x
V1
1 36.28
2 34.73
3 33.74
4 69.87
5 58.88
6 89.44
7 43.97
8 41.94
9 33.34
10 38.47
11 35.16
12 42.94
13 46.76
14 53.24
15 52.43
16 50.40
17 34.42
18 33.22
19 33.24
20 39.60
21 39.32
22 44.71
23 54.03
24 47.48
25 35.42
26 34.78
2015 Jan 12
1
C-6, Gnome question
On Mon, Jan 12, 2015 at 08:44:11AM -0500, Bill Maltby (C4B) wrote:
> On Sun, 2015-01-11 at 17:42 -0500, Fred Smith wrote:
> > <snip>
>
> > please let me know how it goes, I may want to investigate doing the same.
>
> I sent a post with a patch, but forget to mention good results and
> mentioned on the abort.
>
> Using top, Firefox CPU utilization has
2023 Jan 17
1
PR to test for users of Qx devices (blazer and nutdrv_qx)
Jim Klimov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
>
> Cheers,
>
> One PR waiting to get into 2.8.1 release timeframe is https://github.com/networkupstools/nut/pull/1652 stemming from issue https://github.com/networkupstools/nut/issues/1279
>
> The gist of it is that "battery.voltage" and "battery.charge" were not always reported
2023 Jan 17
1
PR to test for users of Qx devices (blazer and nutdrv_qx)
Jim Klimov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
>
> Cheers,
>
> One PR waiting to get into 2.8.1 release timeframe is https://github.com/networkupstools/nut/pull/1652 stemming from issue https://github.com/networkupstools/nut/issues/1279
>
> The gist of it is that "battery.voltage" and "battery.charge" were not always reported
2023 Jan 15
1
PR to test for users of Qx devices (blazer and nutdrv_qx)
Cheers,
One PR waiting to get into 2.8.1 release timeframe is
https://github.com/networkupstools/nut/pull/1652 stemming from issue
https://github.com/networkupstools/nut/issues/1279
The gist of it is that "battery.voltage" and "battery.charge" were not
always reported correctly with nutdrv-qx driver (might be handled better by
blazer drivers though), and the overrides
2012 Oct 15
1
performance analytics
hi Michael,
am sorry for the incomplete reply .
csv file data havinmg like this ,
>getSymbols("IBM")
>weekly_data = to.weekly(week_name)
>dataframe=data.frame(weekly_data)
>outputfile_name="F:\\R-programs\\Outputfile.csv"
>write.table(dataframe, file =outputfile_name,sep = ",",col.names
=TRUE,row.names = T)
> datafrom_table <-
2006 Jan 26
42
ruby script/generate scaffold Product Admin hangs
Hi
I am running Mac OX tiger with the installed ruby 1.8.2, and
mysql5 (I checked that it was running in preference). I
tried to run the various fixes recommended in agileweb. I am
stuck on page 57, script/generate scaffold...
> Could you paste in your database.yml file, from the
> "config" folder inside your Rails app? If you have any
> passwords entered there, you should