Displaying 20 results from an estimated 300 matches similar to: "Superscripts and rounding"
2011 Feb 16
1
Timeseries Data Plotted as Monthly Boxplots
Hello, I'm trying to develop a box plot of time series data to look at the
range in the data values over the entire period of record.
My data initially starts out as a list of hourly data, and then I've been
using this code to make this data into the final ts array.
# Read in the station list
stn.list <- read.csv("/home/kbennett/fews/stnlist3", as.is=T, header=F)
# Read in
2009 Nov 03
3
Weird operator behaviour
Hi,
I have a dataset called 'fish'. fish$Species returns extract 1. When I use
fish$Species != c("CRA","PHC"), i.e. I want all species except "CRA" and
"PHC", I get extract 2 which is blatantly wrong. Can anyone see what I'm
doing wrong?
Regards,
James
EXTRACT 1
> fish$Species
[1] ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB
2002 Jan 16
2
Subsetting data frames without a loop
I KNOW this should be easy, but I'm stuck.
My data frame consists of multiple observations from each of a number of
stations, and what I would like to do is create another data frame that
contains all the variables of the first, but only rows where a certain
variable is at its maximum for the station.
So, for example:
> my.df
stn obs v
1 1 1 0.26400396
2 2 1
2011 Dec 03
2
Downloading tab separated data from internet
Hi all,
I am trying to download some tab separated data from the internet. The data
is not available directly at the URL that could be known apriori. There is
an intermediate form where start and end dates have to be given to get to
the required page.
For example, I want to download data for a station 03015795. The form for
this station is at:
2015 May 05
2
[LLVMdev] [AArch64] Should we restrict to the pointer type used in ldN/stN intrinsics?
Hi,
The ldN like intrinsics (including all the ld1xN, ldN, ldNlane, ldNr, stN,
stNlane) can use any pointer types. The definition (in IntrinsicsAArch64.td)
of such intrinsics use 'LLVMAnyPointerType', which means we can pass any
pointer type to such intrinsics.
E.g. I tried following case ld2.ll:
define { <4 x i32>, <4 x i32> } @test(float* %ptr) {
%vld2 = call {
2012 Apr 30
2
for loop problem
Hi all,
I was wondering if you can help me with the following situation:
I have a data frame that includes weather station data for 30 years in
the form:
YEAR, MONTH, DAY, TEMP
1970, 01, 01, -15
...
1999, 12, 31, -21
I would like to add another variable "JULIAN" that assigns the integers
1 to 365 (and 1 to 366 for leap years) for each day of a year over
multiple years.
Here is what
2002 Oct 21
3
AW: user root is not accepted anymore
Hi,
thank you for your help, but it's not the reason. The user root is not managed in the smbpasswd file.
Any more ideas?
Thanks, Rudi
tuxx:~ # smbpasswd
New SMB password:
Retype new SMB password:
Failed to find entry for user root.
Failed to modify password entry for user root
tuxx:~ #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rudi Labermeier
IT Administrator
SP3D Chip
2007 Feb 25
1
[LLVMdev] X86RegisterInfo.td
In the X86RegisterInfo.td file, RST is defined like this:
// Floating point stack registers (these are not allocatable by the
// register allocator - the floating point stackifier is responsible
// for transforming FPn allocations to STn registers)
def RST : RegisterClass<"X86", [f64], 32,
[ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7]> {
let MethodProtos =
2007 Jul 04
0
[LLVMdev] Swaps of FP registers
On 7/3/07, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote:
>
> what is the best way to implement a swap of floating point registers
> in X86? For the integer registers, I am using xchg. Is there a similar
> instruction for floating point?
FXCH swaps stN with st0, but you'd have to use memory for arbitrary swaps I
believe. I have no idea if it's the
2008 Jul 28
1
loop does not work
Hi,
I am new to R and am trying to do a loop but it seems not to run after one
turn.
What I want to do is subset my dataframe (extract one station and one day)
to calculate and store the maxima that can then be plotted.
I have an error message at the end of each loop:
Error: unexpected '}' in "}"
Here is my code:
*********************************************
datafile <-
2011 May 09
2
Using NULL to my data?
Dear R users,
I am reading data from a file where there are some missing that are
represented by -9999.00.
I am using the command below.
=====My original data ===========
PARM = TMPC;T12X;T12N;DWPC;PALT;SKNT;DRCT;P24M;CLCL
STN YYMMDD/HHMM TMPC T12X T12N DWPC PALT
SKNT
DRCT P24M CLCL
820420 110429/1200 22.50 -9999.00
2009 Jul 30
1
USGS stream flow data automatic download R
I don't even know if this is the right place to ask this question. I
would like to download USGS stream gauging data for a couple of gauges
on a daily basis- save the files to .csv files and append the nest
days time series to this. Is there a way to do this automatically in
R?
thanks,
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or
2016 Oct 10
2
[arm, aarch64] Alignment checking in interleaved access pass
Hi Renato,
Thank you for the answers!
First, let me clarify a couple of things and give some context.
The patch it looking at VSTn, rather than VLDn (stores seem to be somewhat
harder to get the "right" patterns, the pass is doing a good job for loads
already)
The examples you gave come mostly from loop vectorization, which, as I
understand it, was the reason for adding the
2016 Oct 10
2
[arm, aarch64] Alignment checking in interleaved access pass
On Mon, Oct 10, 2016 at 1:14 PM, Renato Golin <renato.golin at linaro.org>
wrote:
> On 10 October 2016 at 19:39, Alina Sbirlea <alina.sbirlea at gmail.com>
> wrote:
> > Now, for ARM archs Halide is currently generating explicit VSTn
> intrinsics,
> > with some of the patterns I described, and I found no reason why Halide
> > shouldn't generate a single
2010 Apr 19
2
Overlay of barchart and xyplot
Hello R Folks,
I am new to R. I have been struggling to overlay a barchart with a
xyplot together on one plot but did not get this worked out. Any help
and idea are greatly appreciated.
I attached R scripts for barchart and xyplot below and also data I used.
What I am trying to do is just to put the barchart and xyplot together
on one plot.
Huapeng
<<dispersal_infestation.csv>>
2008 Feb 13
0
pdb_new_rid: Failed to find unused RID
We are getting the following error trying to add new samba users or machines:
pdb_new_rid: Failed to find unused RID
Does this have something to do with idmap?
The following command shows a big jump in ID numbers with the last ones having
the same number repeated.
pdbedit -L | awk -F: '{print $2 " " $1 ":" $3}' | sort -n
======
...
3904 bobc:Clara Bob
3905
2008 Jun 25
0
Use plotmath expressions read from a text file in mtext/bquote
Hello R-help List
I am writing some R scripts to create graphs of water quality trends
that will be called by a web service running R. The axis titles will
need to change as the input data (ie. water quality variable) changes
according to a user's choice made via a web page. The way I am
currently passing call-specific parameters to the R script is via a text
file created on the fly by the
2007 Jul 03
2
[LLVMdev] Swaps of FP registers
Dear guys,
what is the best way to implement a swap of floating point registers
in X86? For the integer registers, I am using xchg. Is there a similar
instruction for floating point?
My function to insert swaps is like:
void X86RegisterInfo::swapRegs(
MachineBasicBlock & mbb,
MachineBasicBlock::iterator mi,
unsigned r1,
unsigned r2,
const TargetRegisterClass
2009 Oct 08
1
acf for a univariate time series in a data frame
hi everyone!
i want to check the autocorrelation function for a univariate time series
(streamflow) in a data frame as below:
< DF <- read.table("D:/file path....")
< DF
year jan feb mar apr ...... dec
1966 0.504 0.406 0.740 0.241 0.429
1967 0.683 0.529 0.780 0.443 0.503
.
.
.
.
what i first tried is:
acf (DF, plot = TRUE)
2018 Feb 05
1
pulling recessions out of a hydrograph
Dear R community,
I'm hoping someone out there has perhaps done this and can share their code
and/or expertise with me.
I need to pull recession periods out of a hydrograph - can anyone help me
with this?
I want to create a subset from streamflow data that consists of just the
recession curves - the decreasing runoff after the passage of a peak flow.
would really appreciate any help on