Displaying 20 results from an estimated 5000 matches similar to: "Plotting Help"
2012 Jun 25
2
rrdf package for mac not working
rrdf is incredibly helpful, but I've notice that the rrdf package for mac
hasn't been working for some time: http://goo.gl/5Ukpn . wondering if there
is still a plan to maintain that in the long run, or if there is some other
alternative to read RDF files.
[[alternative HTML version deleted]]
2005 Aug 12
1
access assigned objects
Dear list,
I am trying to write a function that will make a matrix of each row of a data frame (4 columns), calculate a fisher.test on each resulting matrix and assign a vector of the p-values. I have gotten through making the matrices, but cannot calculate the fisher.test.
fm<-function(x)
{dfrow<-nrow(x)
mm <- vector("list", dfrow)
for(i in 1:dfrow)
mm[[i]] <-
2011 May 07
2
[LLVMdev] Change the return type of a function
Hello All,
I want to change the return type of a function in a Pass(in a module
Pass). I dont want to change any of the arguments of that function.
Assume that, I can handle the returning values properly inside the function.
Please guide me how to do this ?
--
Regards,
Gokul Ramaswamy,
Graduate Student,
Department of CSE, IIT Bombay
http://www.cse.iitb.ac.in/~ramaswamy
--------------
2010 May 11
1
Gasoline Data in pls package
Hi -
I am using pls package for some pcr computations. There is a data set called
gasoline.
Would someone be able to tell me what command(s) could be used to produce
this graph in R? I am not sure where the log(1/R) - Y-axis - are coming
from
Thanks much
Ravi
2011 May 07
0
[LLVMdev] Change the return type of a function
On 5/7/11 2:01 PM, Gokul Ramaswamy wrote:
> Hello All,
>
> I want to change the return type of a function in a Pass(in a
> module Pass). I dont want to change any of the arguments of that function.
> Assume that, I can handle the returning values properly inside the
> function. Please guide me how to do this ?
You need to do the following steps:
1) Create a new function
2011 Mar 22
2
[LLVMdev] Parallelization
Hi All,
I am new to LLVM. So please help me out. Here is what I am trying to
achieve:
If there are 2 statements in a source program -
S1;
S2;
and I know these is no data and control dependency between them and
both take large amount of time to execute. So I want to execute them
in parallel.
So as S1 starts executing, I want to launch another thread and
2011 Mar 22
0
[LLVMdev] Parallelization
Hi Gokul Ramaswamy,
> I am new to LLVM. So please help me out. Here is what I am trying to
> achieve:
>
> If there are 2 statements in a source program -
> S1;
> S2;
>
> and I know these is no data and control dependency between them and
> both take large amount of time to execute. So I want to execute them
> in parallel.
>
2011 May 08
1
[LLVMdev] Change the return type of a function
Thanks John for the reply. Ya, I took a similar approach. I cloned the
entire
function using CloneFunctionInto() in Cloning.h.
Now, I am facing a new Problem. I am not able to understand the concept of
ValueToValueMap. I am trying to figure it out by testing it. But I am
getting
errors like "Referring to an argument in another function!". I am not able
to get
good examples nor good
2010 May 11
1
Help with Names
Hi - a newbie question, if someone can please help....
I want to change X1, X2,,.....to X.1 X.2 etc in the names below. I am using
the Principal Component Regression function (pcr) and it seems to want it
this way
> datap3.pcr <- pcr(water ~ X, 10, data = datap3, Validation ="cv")
Error in model.frame.default(formula = water ~ X, data = datap3) :
invalid type (list) for
2007 May 25
1
3D plots with data.frame
Dear all,
Thank you for any help. I have a data.frame and would like to plot
it in 3D. I have tried wireframe() and cloud(), I got
scatterplot3d(xs)
Error: could not find function "scatterplot3d"
> wireframe(xs)
Error in wireframe(xs) : no applicable method for "wireframe"
> persp(x=x, y=y, z=xs)
Error in persp.default(x = x, y = y, z = xs) :
(list)
2002 Aug 30
4
(PR#1964) The attached function working fine with R 1.3.0 but giving problem with R 1.5.1 (PR#1964)
The division part of the following code is not executing -
(seq(n-1)*mean(XS)-cumsum(XS[seq(n-1)]))*diff(XS)/((n-1)*var(XS))
Note: Prof Yatracos: Would you please send them one example ?
Thanks,
Kaushik
-----Original Message-----
From: ripley@stats.ox.ac.uk [mailto:ripley@stats.ox.ac.uk]
Sent: Friday, August 30, 2002 4:27 PM
To: Kaushik Bhattacharyya
Cc: r-devel@stat.math.ethz.ch;
2011 Jun 28
2
minor Hivex.xs leaks
Hi Rich,
While I was looking at hivex today I ran coverity on it.
It spotted one problem but missed a similar one nearby.
The following are from Hivex.xs: (generated by generator.ml)
void
node_set_values (h, node, values)
hive_h *h;
int node;
pl_set_values values = unpack_pl_set_values (ST(2));
PREINIT:
int r;
PPCODE:
r = hivex_node_set_values (h, node,
2017 Sep 21
1
Add wrapper to Shiny in R package
Thank you Thierry. I'm trying to following your suggestion in the example
below, but getting:
Error in get("xs", envir = my.env) : object 'my.env' not found.
library(shiny)
library(shinydashboard)
myApp <- function(x, ...) {
xs <- scale(x)
my.env <- new.env()
assign("xs", xs, envir = my.env)
shiny::runApp(app)
}
app = shinyApp(
ui =
2010 Jul 28
1
How to point a column of dataframe by a "character"
Hello,
Here is a dilemma I am having for a long time. But, I couldn't figure it
out.
I have an vector of Y and a data frame named "data",which contains all Xs. I
tried to be more efficient in fitting a simple linear regression with each
X.
Firstly,
for (i in 1:(dim(data)[2])){
model<-lm(Y~data[,i])
# this is not what I want since the name of coefficient will be data[,i]
# I
2011 Mar 22
2
[LLVMdev] Parallelization
Hi Duncan Sands,
As I have understood, GOMP and OpenMP provides support for parallelizing
program at source program level. But I am at the IR level. That is I am
trying to parallelize the IR code. This is the case of automatic
parallelization. The programmer writing the code does not have any idea of
parallelization going behind the hood.
So my question is instead of support at the source
2009 Mar 09
4
[PATCH] ocfs2: Use xs->bucket to set xattr value outside.
Tristan,
could you please run your xattr test against it?
xs->base used to be allocated a 4K size and all the contents in the
bucket are copied to the it. So in ocfs2_xattr_bucket_set_value_outside,
we are safe to use xs->base + offset. Now we use ocfs2_xattr_bucket to
abstract xattr bucket and xs->base is initialized to the start of the
bu_bhs[0]. So xs->base + offset will overflow
2016 Sep 23
2
[PATCH 1/2] mllib: move remove_duplicates from v2v
Simple code motion.
---
mllib/common_utils.ml | 9 +++++++++
mllib/common_utils.mli | 6 ++++++
v2v/utils.ml | 9 ---------
v2v/utils.mli | 3 ---
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml
index 81d8202..78618f5 100644
--- a/mllib/common_utils.ml
+++ b/mllib/common_utils.ml
@@ -297,6 +297,15 @@ let sort_uniq
2014 May 13
2
new warnings in hivex-1.3.10
hivex-1.3.10 does not pass the sles11sp3 post-build-checks anymore,
1.3.8 was still ok. The relevant output is:
...
[ 57s] Hivex.xs: In function 'XS_Win__Hivex_node_name':
[ 57s] Hivex.xs:236: warning: implicit declaration of function 'newSVpvn_utf8'
[ 57s] Hivex.xs:236: warning: assignment makes pointer from integer without a cast
[ 57s] Hivex.xs: In function
2016 Jul 07
2
Re: [PATCH v3 4/8] mllib: Add some imperative list manipulation functions.
On Thursday 07 July 2016 17:30:03 Richard W.M. Jones wrote:
> This adds imperative list manipulation functions inspired by Perl.
> The functions are passed list refs which get updated in place.
>
> This allows us to replace some awkward pure functional code like:
>
> let xs = ys in
> let xs = if foo then xs @ zs else xs in
>
> with:
>
> let xs = ref ys in
2009 Mar 30
2
[LLVMdev] RFC: X86InstrFormats.td Refactoring
There is some redundancy at the instruction format level in the x86 .td files.
For example, in X86InstrFormats.td:
// SSE1 Instruction Templates:
//
// SSI - SSE1 instructions with XS prefix.
class SSI<bits<8> o, Format F, dag outs, dag ins, string asm, list<dag>
pattern>
: I<o, F, outs, ins, asm, pattern>, XS, Requires<[HasSSE1]>;
// SSE3 Instruction