Displaying 20 results from an estimated 1100 matches similar to: "Can a hyperlink be placed, thorugh R programming, on a graph?"
2007 Mar 07
3
Plotting a broken line?
Hi,
Is there a smart way in the R graphs to create a line that is broken in
intervals based on the indicator given below.
following is a small test graph
Location,indicator,otherinfo
1.2,1,2.2
2.5,1,2.5
3.7,1,2.3
20.1,2,4.3
22.5,2,5.2
25.0,2,3.4
27.3,2,2.2
35.1,3,3.4
37.0,3,7.2
38.0,3,6.1
40.1,3,5.4
52.9,3,3.3
Right now in the plot the line is continuous, but I would like to have
it broken
2009 Mar 25
2
"with" and "by" and NA:
Hi,
I have a data.frame with many variables for which I am performing the
mean by subgroup, for a pair of variables at a time, where one of them
for each pair defines the subgroup. The subgroups in the x$cm1 are 0, 1
and 2.
x
ph1 cm1
0.2345 2
1.2222 1
2.0033 0
0.0000 2
1.0033 1
0.2345 0
1.2222 2
2.0033 0
0.0000 1
1.0033 2
> meanbygroup <- as.vector(with(x, by(x$ph1, x$cm1, mean)))
2006 Dec 30
2
Error: cannot take a sample larger than the population
Hi,
In Splus7 this statement
xlrmN1 <- sample(c(0,1,2),400 ,prob=c(0.02 ,0.93 ,0.05 ))
worked fine, but in R the interpreter reports that the length of the
vector to chose c(0,1,2) is shorter than the size of many times I want
to be selected from the vector c(0,1,2).
Any good reason?
See below the error.
> xlrmN1 <- sample(c(0,1,2),400 ,prob=c(0.02 ,0.93 ,0.05 ))
Error in
2012 Oct 16
2
Windows 7 R (32/64bit) running under cygwin: package not found
Hi,
Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit.
In both of them among others I have installed a package rgenoud
When I open R gui of 32bit and write library(rgenoud) it responds by
showing a functional rgenoud version 5.7-8. The same it does on Rgui
64bit.
Now I am working in cygwin (v. 1.12.4.0) with xwin. Normally before when
I had installed a package, I only had
2007 Feb 08
2
How to protect two jobs running on the same directory at the same time not to corrupt each other results:
Hi,
I have a large group of jobs, some of them are running on the same
directory. All of them in batch mode.
What are the best ways to protect from corrupting the results two or
more jobs running on the same directory.
One, I would think can be to run each job in a separate directory,
collect the results and after remove the directories. But I have
thousands of jobs that will run in parallel
2004 Oct 10
1
How to install a package that needs to see oher pkg dependencies:
Hi,
I am trying to install the genetics package on a server with Linux,
Fedora. I installed it in a PC and worked fine.
In a server since I am not used with R, I am not sure what do I need to
change so genetics pkg can see some package dependencies:
Any suggestion is appreciated, Aldi
Note:
genetics expects gregmisc and mvtnorm to be installed already. gregmisc
creates gdata etc dependencies.
2006 Feb 22
1
var-covar matrices comparison
> Date: Mon, 20 Feb 2006 16:43:55 -0600
> From: Aldi Kraja <aldi at wustl.edu>
>
> Hi,
> Using package gclus in R, I have created some graphs that show the
> trends within subgroups of data and correlations among 9 variables (v1-v9).
> Being interested for more details on these data I have produced also the
> var-covar matrices.
> Question: From a pair of two
2013 May 03
1
A problem of splitting the right screen in 3 or more independent vertical boxes:
Hi,
Based on par function, I can split the screen into two parts left and
right.
I wish x occupies the half left screen, and all plants occupy half right
screen, which happens right now.
But I wish the right screen, to be split in 3 or more vertical parts
where each pair of the same type of plant, are together in its own block
of boxplot, because each plant has its own unit of measure.
2009 Feb 06
1
16 digits and beyond? R64-bit a solution?
Hi,
I am working with some extremely small p-values and I want to capture
the corresponding quantiles.
I see the help file it says:
'qnorm' is based on Wichura's algorithm AS 241 which provides
precise results up to about 16 digits.
What happen after the 16th digits?
If I am running R in a server 64-bit, can that improve the chances that
beyond 16th digits to still have
2009 Mar 13
1
Overlay plot: boxplot and stripchart
Hi,
I have a data.frame of this kind:
x
obs movie earned rating
1 P1 3.2 xx
2 P1 4.2 xx
3 P1 5.2 xx
4 P1 6.2 xx
5 P2 3.5 xx
6 P2 6.5 xx
7 P2 7.5 xx
8 P2 4.5 xx
9 P2 4.5 xx
10 P3 4.8 x1
11 P4 7.3 x2
12 P4 3.2 x2
13 P4 3.3 x2
I want to overlay the
2012 Aug 21
1
Error: ReadItem: unknown type 98, perhaps written by later version of R
Hi,
I am running a large number of jobs (thousands) in parallel (linux OS
64bit), R version 2.14.1 (2011-12-22), Platform: x86_64-redhat-linux-gnu
(64-bit). Up to yesterday everything ran fine with jobs in several
blocks (block1, block2 etc) of submission. They are sent to an LSF
platform to handle the parallel submission. Today I see that only one of
the blocks (the 19) has not finished
2006 Feb 20
1
var-covar matrices comparison:
Hi,
Using package gclus in R, I have created some graphs that show the
trends within subgroups of data and correlations among 9 variables (v1-v9).
Being interested for more details on these data I have produced also the
var-covar matrices.
Question: From a pair of two subsets of data (with 9 variables each, I
have two var-covar matrices for each subgroup, that differ for a
treatment on one
2009 Apr 17
1
real numeric variable transforms into factor:
Hi
Test made in: R in windows Vista OS, R version 2.8.1
From FAQ:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f
"It may happen that when reading numeric data into R (usually, when
reading in a file), they come in as factors. If |f| is such a factor
object, you can use as.numeric(as.character(f)) to get the numbers back."
1: Why it may happen?
2012 Aug 07
1
lm with a single X and step with several Xi-s, beta coef. quite different:
Hi, (R version 2.15.0)
I am running a pgm with 1 response (earlier standardized Y) and 44
independent vars (Xi) from the same data =a2:
When I run the 'lm' function on single Xi at a time, the beta
coefficient for let's say X1 is = -0.08 (se=0.03256)
But when I run the same Y with 44 Xi-s with the 'step' function (because
I left direction parameter empty, I assume a backward
2008 May 22
1
mixed model resuts from SAS and R
Hi,
I was wondering if there is a way to figure out why in SAS random beta
coefficients are 0 vs. in R the beta-s are non zero.
The variables of the data are nidl, time, and sub (for subject). Time and
nidl are continuous variables. I am applying random coefficients model.
Any input is greatly appreciated, Thanks, Aldi
1. mixed model in SAS:
======================
ods output SolutionR =
2012 Mar 10
1
applying a function in list of indexed elements of a vector:
Hi,
I have a vector
Y1 <-c(8, 11, 7, 5, 6, 3, 6, 3, 3)
and an index
iy <-c(c(1, 2),c(1 2), c(1, 2, 3, 4), c(2, 3, 5), c(4), c(5, 6, 7), c(7,
8, 9))
how can I produce the mean, or the sum of the elements specified in the
index iy from the vector Y1?
expecting something like this for the sum:
Y2
19 19 31 24 5 15 12
I thought lapply function may perform this, but does not work:
2006 May 11
0
Quick question on has_many :thorugh
I was reading the documentation on this today and was wondering more
about the has_many :though, :dependent=>:destroy options. I am curious
how deep the deletes goes. Does it stop with the intermediate table or
does it pass through to the final table?
For example:
database
Categories (name, id)
Listings (category_id,product_id)
Products (id, name)
Assume in my Category Class I have
2013 May 16
2
A function that can modify an object? Or at least shows principles how to modify an object?
Hi, If I have an R object UUU, where the second element is U2, based on
"g" column of my.table
my.table of UUU is:
mmm ggg gindex map Info
aaa123 U1 1 1 1
aaa124 U1 1 2 1
bbb1378 U2 2 1 1
bbb8888 U2 2 2 0
bbb1389 U2 2 3
2008 May 22
6
Where to download BRugs
Hi all, I tried to follow an online tutorial to run openBUgs but the package
BRugs has been removed from R repository.
Could someone provide a link for where to download BRugs?
Thanks a lot!
--
View this message in context: http://www.nabble.com/Where-to-download-BRugs-tp17411410p17411410.html
Sent from the R help mailing list archive at Nabble.com.
2023 Mar 07
1
insert hyperlink into svg graphic
Greetings,
I am creating plots of weather data and wish to include a link to the
data source into a title() object in the plot. My syntax must be wrong
though, as the hyperlink doesn't display, just the text and tags.
> svg("/tmp/temps.svg", width=9, height=6)
> #plot created here
> title(sub="produced by Rusty Travis? \nusing data from <a