Displaying 20 results from an estimated 700 matches similar to: "Averaging Out many rows from a column AND funtion to string"
2013 Mar 25
2
Plot Matrix with Data
Hi ,
I would like to use ggplot2 to plot a matrix as an image.
You can copy paste the following
Data<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
lengthOut<-5
Lengths<- 15
library(reshape2)
library(ggplot2)
tdm <- melt(Data)
ggplot(tdm, aes(x = Var2, y = Var1, fill = factor(value)),levels=seq(0,1,by=0.1)) +
labs(x = "MHz", y =
2011 Feb 27
2
substract 2 data.frames
Hi!
I have 2 data.frames: "fish" and "popn":
>fish
xloc yloc id birth size weight energy gonad
20 15 15 54 -60 107.9 63.0 15952.9 8.0
21 15 15 32 -60 105.1 61.4 15538.8 7.8
91 4 43 96 -60 118.9 69.4 17573.2 8.8
71 32 4 64 -60 121.6 71.0 17976.0 9.0
34 2 64 20 -60 116.2 67.9 17173.0 8.6
95 6 20 58 -60 106.5
2011 Aug 04
2
[LLVMdev] LLVM backend: Treat some function calls specially
Hello,
I am writing an LLVM backend that generates byte code for a custom virtual
machine. Standard function calls are lowered to a simple
CALL $offsetInByteCode
This works fine so far using the standard machinery of LLVM. But some
functions are not implemented in byte code, but delegated to native
implementations within the VM. Calls to these functions use a non-standard
calling convention
2011 Aug 04
0
[LLVMdev] LLVM backend: Treat some function calls specially
Jonas,
Why not lower everything to a single call during instruction selection, and then write a machine function pass that translates the normal CALL's into CALL_NATIVE?
Micah
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Jonas Gefele
> Sent: Thursday, August 04, 2011 9:56 AM
> To: llvmdev at
2016 Dec 30
3
Avoiding during my pass the optimization (copy propagation) of my LLVM IR code (at generation)
Hello.
I'm writing an LLVM pass that is working on LLVM IR.
To my surprise the following LLVM pass code generates optimized code - it does copy
propagation on it.
Value *vecShuffleOnePtr = Builder.CreateGEP(ptr_B, vecShuffleOne, "VectorGep");
...
packed_gather_params.push_back(vecShuffleOnePtr);
CallInst *callGather =
2013 Mar 13
0
[LLVMdev] attributes helper functions - please review
These were requested by Bill Wendling to simplify a Mips 16 clang change.
The test is in the code in Clang which uses these for mips 16.
-------------- next part --------------
Index: include/llvm/IR/Function.h
===================================================================
--- include/llvm/IR/Function.h (revision 176874)
+++ include/llvm/IR/Function.h (working copy)
@@ -181,6 +181,14 @@
2013 Feb 09
3
[LLVMdev] Using the New Attributes Classes
Using the New Attributes Classes
Attributes in LLVM have changed in some fundamental ways. It was necessary to do
this to support expanding the attributes to encompass more than a handful of
attributes --- e.g. command line options. The old way of handling attributes
consisted of representing them as a bit mask of values. This bit mask was stored
in a "list" structure that was reference
2016 Feb 07
3
[PATCH] strlen -> strnlen optimization
This addition converts strlen() calls to strnlen() when the result is
compared to a constant. For example, the following:
strlen(s) < 5
Becomes:
strnlen(s, 5) < 5
That way, we don't have to walk through the entire string. There is the
added overhead of maintaining a counter when using strnlen(), but I
thought I'd start with the general case. It may make sense to only use
this
2018 Mar 12
1
Help on Aggregation
Dear All,
1.I have been trying to aggregate my data but I have not been getting it
correctly. In the data I want to convert hourly data into daily averages.
Here is a sample of the data:
Neph_no Date Time Temp_C Pressure_kPa RH
9 2014/03/28 10:00:00 38.4 95.9 29.7
9 2014/03/28 11:00:00 37.8 95.8 29.2
9 2014/03/28 12:00:00 36.7 95.8 35.1
9 2014/03/28 13:00:00 35.4 95.8 38.9
9
2007 Jun 19
1
Linear model predictions, differences in class
Hi,
I am using R to fit statistical models to data were the observations are
means of the original data. R is used to calculate the mean before fitting
the model. My problem is: When R calculates the means using tapply, the
class of the means differs from the class of the original data, which gives
me trouble when I want to use the original data to calculate model
predictions. Here is a simple
2015 Feb 24
2
[LLVMdev] [RFC] Storing default function attributes on the module
On Tue, Feb 24, 2015 at 2:53 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> > On 2015-Feb-24, at 13:25, Eric Christopher <echristo at gmail.com> wrote:
> >
> > Hi Duncan,
> >
> > Been thinking about this a bit and a few comments/questions. I may have
> misunderstood some things in your mail though so please feel free to
>
2004 Dec 11
2
[LLVMdev] calling the printf funtion
Hi,
I would like to display results on the screen . Can I use
the printf function in LLVM?
How do I call the funtion? Could someone give me an example
Thanks
Jai
2009 Feb 25
2
Have any way to write a funtion into a list ?
Have any way to write a funtion into a list ?
--
Nash - morrison at ibms.sinica.edu.tw
2011 Nov 30
1
help about fitdistr funtion
Hi,
I have a variable X classified in a lot of groups and I need to run the
[fitdistr] funtion for each group. I tried with the [by] or the [tapply]
funtions because my data is organize in two columns (variable and the
groups), but neither of these command work. If somebody have a tip to help
me up I really appreciate it.
thanks,
[[alternative HTML version deleted]]
2018 Apr 14
1
about family=binomial in glm funtion
Hei,
I just wonder the use of family=binomial in glm function.
As I learned from book (e.g. Andy Field) that logistic regression (binary
logit) can use glm funtion with family = binomial. Here the y is a factor
variable (e.g. value = 1 or 2).
But I have also seen i many other cases, same function glm with
family=binomial, but y is a variable with several column , like y=
cbind(y1, y2), and
2004 Dec 11
0
[LLVMdev] calling the printf funtion
Just compile a trivial C program containing printf through llvm-gcc and
you will see how to call printf from within llvm. You could even do it
on the llvm web page if you don't have llvm-gcc installed.
--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.cs.uiuc.edu/
On Dec 11, 2004, at 1:13 AM, <vasanth2 at uiuc.edu> wrote:
> Hi,
>
> I would like to display results on the
2012 May 04
0
ur.df funtion
Dear R users,
I am applying the augmented-Dickey-Fuller Unit Root Test
(ur.df function of the urca package) to a time series of
approximately 50 values.
To be sure I understood what was going on with the ur.df
function, I checked the critical values of the 3 test
statistics (tau, phi2 and phi3 if a trend is included) or
the 2 test statistics (tau and phi1 if only a drift is
included) with the
2008 Nov 01
1
Help about the plot funtion
Hello, my name is German, I am from Argentina, and we are working at university with R. This work is about sounds and how they affect out ears, we are using R to analice different recordings of sounds and we need to get the intensity of this recordings in dB. In order to get the intensity of the sounds, we are using the plot function, but we can not figure out what is the menaning of the
2005 Sep 12
0
Help with a more flexible funtion for multiple comparision of means
Dear R-list,
Could anybody tell me (or give me a tip) of how to implement the Duncan
distribution in R?
I've been trying to make a new and more flexible function for multiple
comparison of means: Tukey, SNK and Duncan, from 'aov' objects, like TukeyHSD
function.
For while, it is running nice (Tukey and SNK), for simple design (completely
randomized, randomized block and Latin
2005 Sep 12
1
Help with a more flexible funtion for multiple comparisio n of means
Jose -
Before implementing SNK and Duncan's, you may want to be aware of some
criticisms of these methods:
>From Hsu (1996),
"Newman-Keuls multiple range test is not a confident inequalities method and
cannot be recommended."
"Duncan's multiple range test is not a confident inequalities method and
cannot be recommended either. In the words of Tukey (1991),