Displaying 20 results from an estimated 4000 matches similar to: "Several quick questions"
2009 Jun 18
1
lattice logaritmic scale (basis "e" ), rewriting labels using xscale.component
Hi there,
sorry for troubling everybody once again, I've got a problem rewriting
Sarkar's function for
rewriting the tick locations in a logaritmic way (s.
http://lmdvr.r-forge.r-project.org/code/Chapter08.R):
His example works for log 2 but I need log e (natural logarithm). My
problem is that if I replace
2 with "e" (using paste()), I get the error message that the location
2011 Aug 15
1
lattice: How to get log base for each axis inside panel function?
Hello!
I'd like to have a function to draw correct grid while using log axis with xyplot from lattice package. Right now I have the following code inside of my panel function:
lim <- current.panel.limits()
v <- latticeExtra:::logTicks(2^lim$xlim, loc=1)
h <- latticeExtra:::logTicks(2^lim$ylim, loc=1)
panel.abline(h=log2(h), v=log2(v), col="LightGray")
Is there an easy way
2009 Mar 17
1
coefficient graph
Dear R list members,
I'd like to make a graph of coefficients of the intercept, variable 1, and
variable 2 (and possibly the interaction between variable 1 and variable
2). When I use the lmList function as attached below, it shows a nice
coefficient graph.
> PACRP.lis <- lmList(PAffect ~ CRPC + CRPT + CINT | ID, redinteract)
> coef(PACRP.lis)
> PACRPlis.coef <-
2011 Jun 20
1
requesting a mentor for R development
I'd like to learn the process of revising R functions & packages and
then submitting proposed patches to the R Core team. Would someone be
willing to mentor me through one example?
For starters, consider an example. I'd like to revise the t.test
function to return the stderr value to the user. We only need to
change the "rval" in the third-from-the end line of
2006 Sep 11
1
graphics: y limit on xyplot
I would like to set the y axis limit of an xyplot using the object 'ylimit',
but receive this error:
[1] 990
Error in extend.limits(limitlist[[i]], axs = axs) :
improper length of lim
I get the same error if I use ylim.
library(lattice)
trellis.device(col = FALSE, theme = lattice.getOption("col.whitebg"))
name <- "Variable name"
symbols <-
2016 Aug 30
2
Fwd: cfl-aa
dear LLVMers,
I am trying to use some of the LLVM alias analyses, and I would like to
check two things with you: is scev-aa being maintained in LLVM 3.7? Second
question: I run cfl-aa, and I got a very small number of pointer
disambiguation (no alias) with it. My results for SPEC CINT 2006 follow
below. Is this low number of no alias responses something to be excepted?
Below the results that I
2016 Jun 13
2
Is addrspace info available during instruction scheduling?
We'd like to be able to vary the latency of our load instructions based on
what address space is being loaded from. I was thinking I could do this by
overriding getOperandLatency in our target, but I'm wondering if the
addrspace info is available when instructions are scheduled?
For example, I have this in our llvm IR:
%0 = load i32 addrspace(4)* @answer, align 4
store i32 %0, i32*
2008 Jun 30
6
Plotting three time series on the same graph
Dear R Users,
I would like to plot three time series on the same graph, two axis on the
left and one axis on the right.
The time series that I am graphing on the left do not share a similar
scale: one has a range of 1:100 and the other a range of 25000:70000. How
can I display the tick marks for both on the left hand side without
superimposing them, i.e. one set of tick marks in black right
2007 Apr 07
2
Setting where the x-axis crosses the y-axis
Hi all,
my apologies for a probably very obvious question but i can't figure out if, on
a bar plot, there is a simple way to have the x-axis cross the y-axis at 1,
when the y-axis is on a log-scale?
I want to draw a bar plot, and have some of the bars "drop" below 1 while
starting from 1. Is this possible?
I have been trying various things using barplot, barplot2 etc... without
2012 Nov 12
1
problem with Erlang function
I'm beginner with R language
My goal is to write a function that takes an input Erlang entering your
? Name
? Name
? Date of birth.
The program will calculate age and display output
first
I do know the system date (month, day, year)
I find with Sys.Date ()
I found a function. net to calculate the age
Protected Sub calcul_age()
Dim datetimenow = DateTime.Now
Dim
2008 Jun 18
2
[LLVMdev] C/C++ interpreter...
Hi,
what would be needed to make a C/C++ interpreter using the LLVM
libraries. We have in our project (http://root.cern.ch) a C/C++ interpreter
(http://root.cern.ch/twiki/bin/view/ROOT/CINT), but it has some limitations
(the biggest being maintenance). I see there is a libLLVMInterpreter that
can interpret the LLVM IR. Could this be used to interpret, or a starting
point, to an real
2012 Apr 28
2
Character string to R object
I've been creating some R tools that manipulate objective functions for optimization. In
so doing, I create a character string with R code, and then want to have it in my
workspace. Currently -- and this works fine -- I write the code out, then use source() to
bring it in again. Example:
cstr<-"jack<-function(x){\n cat(\"Silly x:\")\n print(x) \n }\n"
write(cstr,
1998 Feb 19
1
R-beta: t.test
As a very new user of R, and a user of S with very
limited experience, I thought I would start humbly
with a simple t.test.
The response to the command sequence
sample <- scan()
4 5 6 7 8 9
t.test(sample,mu=20)
rather surprised me, because of the idiosyncratic
choice of a confidence interval for the mean of the
population from which the sample was drawn. I asked
my colleague Bob Henery
2006 Aug 09
0
Weighted Mean Confidence Interval
Hello,
I'm looking to calculate a 95% confidence interval about my estimate for
a sample's weighted mean, where the calculated confidence interval would
equal the t-test confidence interval of the sample in the case when all
of the weights are equal.
My initial thought was to simply implement a modified version of the
t-test function but substituting the weighted variance and mean for the
2007 Jul 24
1
Custom kinit to find device by "label"
I need to reliably boot a server from a USB device. Since USB
device ordering can be unpredictable, I wrote a simple
early-userspace "init" program to find the root FS on the correct USB
device & partition. I have "labeled" the root ext2 FS on the USB
drive, and the program searches for the label by examining the bytes
at a specific offset from the beginning of the
2019 Dec 04
2
Rootless wiki page is not up to date?
If I run a docker image with the mesos containerizer and altering the
dovecot config mentioned here[1]
I think the root detection is incorrect because it looks like dovecot is
still thinking it is root. I still get errors like:
>> log(829825): Fatal: We couldn't drop root group privileges
(wanted=10053(dovecot), gid=0(root), egid=0(root))
Why does it want to drop to root, if we
2004 Nov 24
3
T-test syntax question
Hi.
I'd like to do a t-test to compare the Delta values of items with Crit=1
with Delta values of items with Crit=0. What is the t.test syntax?
It should produce a result like this below (I can't get in touch with the
person who originally did this for me)
Welch Two Sample t-test
data: t1$Delta by Crit
t = -3.4105, df = 8.674, p-value = 0.008173 alternative hypothesis: true
2004 Oct 12
1
[LLVMdev] Re: Hide visible string in variable (Chris Lattner)
Hi,
Thanks so much at first.
> Here are some observations:
>
> > for C level,
> >
> > char a[]="global string test";
> > for(i=0;i<strlen(a);i++){
> > a[i]= a[i]^RANDMON;
> > }
>
> If you compile this C code, "global string test" will occur in the program
> binary, so you have not obfuscated anything. You can
2011 Sep 15
1
Lattice xyplot log scale labels help!
I have a problem with lattice log scales that I could use some help with.
I'm trying to print log y-axis scales without exponents in the labels.
A similar thread with Deepayan' recommendation is here:
http://tolstoy.newcastle.edu.au/R/e11/help/10/09/9865.html. For
example, this code using xyplot produces a logged y-axis but the
labels (e.g. "10^1.2") are not very
2006 May 24
0
the computation of exact p-value for the nonparametric cor-test with ties
Hello,
I wuold like to propose my modifications of the original cor.test to you : I
tried to calcolate the correct p-value for Spearman and Kendall's test with
ties.
Let me know what you think.
Thanks you for your time.
Antonietta di Salvatore
test <- function(x, ...) UseMethod("test")
test.default <-
function(x, y, alternative = c("two.sided",