Displaying 20 results from an estimated 7000 matches similar to: "uppercase greek and plotmath"
2009 Nov 03
2
how to display a string containing greek chrs and variables
I'm trying something that I thought would be pretty simple, but it's
proving quite frustrating...
I want to display, for instance, the correlation coefficient "rho" in a graph.
I can do something like:
text(x, y, paste("rho =", cor))
where cor would be my previously calculated correlation coefficient,
and x and y the coordinates.
Obviously that displays
2008 Dec 28
1
model.matrix and missing values
Hi,
Does anyone know an easy way of retaining rows in a model.matrix where
missing values are present in the predictors. Ideally I'd be able to
retain these rows as zeros.
Thanks,
Jarrod
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
2013 Feb 09
1
Swaeve, Beamer and \alt
Hi,
I am having trouble getting \alt (or \altenv) to work with
Schunk/Sinput and was wondering if anybody had had success? With the
slide
\begin{frame}[fragile]\frametitle{Basic R}
\alt<2>{
<<echo=TRUE>>=
2+2
@
}{
<<echo=TRUE, eval=FALSE>>=
2+2
@
}
\end{frame}
I get the error message:
! FancyVerb Error:
Extraneous input `> 2+2 \end {Sinput} \end
2014 Mar 17
1
valgrind and C++
Hi,
I am sorry if this is perceived as a C++ question rather than an R
question. After uploading an R library to CRAN (MCMCglmm) the C++ code
failed to pass the memory checks. The errors come in pairs like:
Mismatched free() / delete / delete []
at 0x4A077E6: free (vg_replace_malloc.c:446)
by 0x144FA28E: MCMCglmm (MCMCglmm.cc:2184)
Address 0x129850c0 is 0 bytes inside a block of size 4
2009 Feb 20
2
change attributes of all data.frame elements
Hi,
I was wondering whether there was an easy way to change the attributes
of all elements in a data.frame (rather than looping through elements)?
Specifically, I would like to set the "dim" attributes to NULL
Thanks for any help,
Jarrod
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
2014 Mar 14
1
Conditional jump or move depends on uninitialised value(s)
Hi,
I'm using valgrind to check over some C/C++ code for an R library. I'm
getting the report (see below), but can't track down the uninitialised
value(s). I tried using --track-origins=yes in valgrind which gives:
==28258== Uninitialised value was created by a stack allocation
==28258== at 0xEE33D98: ??? (in /usr/lib64/R/lib/libRlapack.so)
I presume the problem is an
2010 Mar 23
1
Bold greek letters using plotmath
I'm trying to annotate some graphics using plotmath and finding out that the
code I'm using isn't bolding the greek letters - it bolds the rest (once I
adjusted the numerics to characters), it's just failing on the greek
characters.
Any suggestions welcomed.
Jim Price.
Cardiome Pharma Corp.
Test code:
plot(1:5, type = 'n')
# The not bold version
text(2, 2:4, cex =
2011 Apr 13
0
ordinal predictor in anova
Hi,
I have a dataset with a continuous response variable and, among
other predictors, an ordinal variable.
Here is what it could look like
treatment <- factor(rep(c("AA", "AC", "AD","AE", "AB"), each = 10))
length <- c(75, 67, 70, 75, 65, 71, 67, 67, 76, 68,
57, 58, 60, 59, 62, 60, 60, 57, 59, 61,
58,
2008 Mar 04
1
battery.temperature vs ups.temperature
The (2.2.1) upshid-ups driver reports battery.temperature rather than
ups.temperature. Here's a quick patch to have it show up in the status
page...
--- clients/upsstats.c.DIST 2008-03-04 09:15:40.000000000 +0000
+++ clients/upsstats.c 2008-03-04 09:16:20.000000000 +0000
@@ -787,6 +787,11 @@
return 1;
}
+ if (!strcmp(cmd, "BATTTEMP")) {
+
2008 Jun 28
2
String concatenation
Hi,
Is the following function built in somewhere?
concat = function(v) {
res = ""
for (i in 1:length(v))
res = paste(res,v[i],sep="")
res
}
e.g.
> concat(c("12","3","45"))
[1] "12345"
Cheers,
Andy
--
Andy Fugard, Postgraduate Research Student
Psychology (Room F3), The University of Edinburgh,
7 George
2010 Oct 04
2
plotmath: how to use greek symbols in expression(integral(f(tau)*dtau, 0, t))?
I would like to use greek "tau" as a symbol of variable to integrate
over in plotmath
expression(integral(f(tau)*dtau, 0,t))
but nothing seems to work. I tried d{\tau}, d\tau, etc.,
without any success
Is it possible? How can I accomplish this?
Best regards,
Ryszard
--------------------------------------------------------------------------
Confidentiality Notice: This message is
2008 Sep 01
1
Polychoric and tetrachoric correlation
Hi there,
Am I correct to believe that tetrachoric correlation is a special case
of polychoric correlation when there are only two levels to the ordered
factor? Thus it should be okay to use hetcor from the polycor package
to build a matrix of correlations for binary variables?
If this is true, how can one estimate 95% confidence intervals for the
correlations? My guess would be
mat =
2010 Aug 03
1
how to read/save .zip compressed files from R?
Dear list,
is there a way to open a .zip folder so that one can extract and
modify files inside and then save teh .zip folder again?
thanks!
Jose
--
Dr. Jose I. de las Heras Email: J.delasHeras at ed.ac.uk
The Wellcome Trust Centre for Cell Biology Phone: +44 (0)131 6507095
Institute for Cell & Molecular Biology Fax: +44 (0)131 6507360
Swann Building,
2017 Jun 23
1
qemu-kvm-ev-2.6.0-28.el7_3.10.1 now available
On Fri, Jun 23, 2017 at 11:26 AM, Chris Cooke <cc at inf.ed.ac.uk> wrote:
> qemu-kvm-ev-2.6.0-28.el7.10.1
> <https://cbs.centos.org/koji/buildinfo?buildID=17495> has been tagged for
> release and will soon be available on CentOS mirrors.
>
>
> Hi Sandro,
>
> Thanks. That looks like a typo in the package release field? Should be
> 28.el7_3.10.1, rather than
2008 Jun 27
1
ietfmib.h patch and query
Here's a patch (against 2.2.2) which adds battery.temperature to the
ietf-mib snmp driver.
While looking at ietfmib.h I noticed that the value for IETF_OID_IN_LINES
is actually that for upsOutputNumLines.0. Does anyone know whether that's
deliberate or a typo?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-patch
2011 Apr 13
0
ddply and nlminb
Hello
I'm new to R (one week) so please excuse any obvious mistakes in my code
or posting.
I am attempting to fit a non linear function defining the relationship
between dependent variable A and the variables PAR and T grouped by the
condition Di.
The following steps are taken in the Rcode below:
1) load the data (not shown)
2) define the function to be fit
3) define the starting values
2010 Feb 14
3
Multiple missing values
Does anyone know, or know documentation that describes, how to declare
multiple values in R as missing that does not involve coding them as NA? I
wish to be able to treate values as missing, while still retaining codes
that describe the reason for the value being missing.
Thanks
John MAcInnes
--
Professor John MacInnes
Sociology,
School of Social and Political Studies,
No 8 Buccleuch Place
2012 Dec 11
2
Catching errors from solve() with near-singular matrices
Dear all,
The background is that I'm trying to fix this bug in the geometry
package:
https://r-forge.r-project.org/tracker/index.php?func=detail&aid=1993&group_id=1149&atid=4552
Boiled down, the problem is that there exists at least one matrix X for
which det(X) != 0 and for which solve(X) fails giving the error "system
is computationally singular: reciprocal condition
2010 Jan 04
2
Piecewise regression in lmer
Dear all,
I'm attempting to use a piecewise regression to model the trajectory
of reproductive traits with age in a longitudinal data set using a
mixed model framework. The aim is to find three slopes and two points-
the slope from low performance in early age to a point of high
performance in middle age, the slope (may be 0) of the plateau from
the start of high performance to the
2011 Jul 25
2
How to find the likelihood of a null model in R
Dear All,
I am working on a dataset having the dependent variable as ordinal
data(discrete data) and multiple independent variables. I need to find
the likelihood for the NULL model.i.e the model with only the
dependent variable and all other independent variables as zero. Kindly
let me know how to find the likelihood for a NULL model in R. Is there
any specific function in R that can do