Displaying 20 results from an estimated 5000 matches similar to: "Package update for old version of R"
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
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 =
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
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
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
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
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.
2009 Mar 03
1
ggplot2: annotated horizontal lines
Hello,
I'm using geom_hline to add a minimum line to my plot (representing
the best solution found so far by a search algorithm). I'd like to
annotate this line with it's numerical value to save trying to read it
off the graph, but I can't see a clear way to do this - any ideas?
(Alternatively, if this is against the spirit of the grammar of
graphics, is there a better
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
2010 Feb 03
2
selecting a group of points from a scatterplot?
Hi everyone,
is there a way/package in R that would allow me to select a group of
points from a scatterplot by drawing a circle around them or some such?
I can use 'identify' to pick individual points, but that gets tedious
if one has more than 10-20 spots.
I can easily select spots within a rectangle defined by picking points
using identify... but a simple rectangle sometimes will
2008 Jul 25
1
Saving a workspace with "extras"?
Hi everyone,
I hope there's a simple way to achieve what I want, but I haven't
found the way.
I do microarray analysis using R and a number of packages as well as
some functions created my myself.
When I save the workspace, it saves all the data structures, that's
great... But when I click (I'm on Windows XP, if it matters) on teh
resulting .RData file, I have to reload
2008 Aug 15
6
Opening a web browser from R?
Hi,
I was wondering if there's a way in R to open a web browser (such as
Internet Explorer, or Firefox or whatever).
I'm doing some analyses that have associated urls, and it would be
nice to have the ability to directly open the relevant page from
within R.
I was looking at the help for 'url' and I can see I can probably
access the information I need and display it in my
2012 Oct 04
1
Coda, HPDinterval and multiple chains
Dear all,
I'm not 100% sure if this question is best directed at the r-list, or a mailing list concerned with Bayesian analysis, so please accept my apologies if another audience may be more appropriate.
I have been using the rjags package to run Jags models with multiple chains and store the results in a Coda based mcmc list. For instance, having created a jags model and done initial
2010 Mar 31
2
Sending PATH using SendEnv
Hi
I thought this was something that might concern the developers so I thought I'd post here. Apologies in advance if that's not the case.
I'm setting up a CentOS cluster with OpenSSH_4.3p2 which uses ssh to launch processes on the remote nodes. I'm trying to use the SendEnv/AcceptEnv functionality to send the PATH environment variable from the headnode when users are launching