Displaying 20 results from an estimated 6000 matches similar to: "Addon packages"
2006 Jan 02
2
Plotting the mean of data
Hi all!
I've got a datstructure like this:
subject week value
1 1 4
2 1 8
3 1 3
4 1 5
1 2 5
2 2 6
3 2 2
4 2 6
1 3 3
2 3 7
3 3 3
4 3 7
I'd like to plot the mean of 'value' against week. Is there a direct way
of doing this or do I have to make a new structure with the calculated
values and then plot it?
All the best!
--
###########################################
Kare
2006 Dec 08
2
A smal fitting problem...
Dear R-helpers,
I'm for sure not familiar with R, but it seem like a nice sofware tool,
so I've decided to try using it.
Here is my problem I just can't figure out:
I'd like to do least square fit of a straight horizontal (a = 0) line y
= ax + b through some data points
x = (3,4,5,6,7,8)
y = (0.62, 0.99, 0.83, 0.69, 0.76, 0.82)
How would i find b?????
All the best,
Ked
2006 Jan 11
2
Space between axis label and tick labels
I'm writing an publication in two column format and need to shrink some
plots. After increasing the axis labels it does not look nice at all.
The y-axis label and tick labels almost touch each other and the x-axis
tick labels expand into the plot instead of away from it. Is there a
better way than "cex" to control the:
1) font size of axis and tick labels
2) font thickness
3)
2006 Dec 08
0
Re : A smal fitting problem...
May be you are also not familiar with statistic. the solution of
min \sum_{i=1}^{n} (y_{i}-b)^{2} is the mean. So the solution is
b<-mean(y)
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.
----- Message d'origine ----
De : Kåre Edvardsen <ked@nilu.no>
À : R-help <r-help@stat.math.ethz.ch>
Envoyé le : Vendredi, 8 Décembre 2006,
2008 Apr 18
1
Overall p-value from a factor in a coxph fit
Hi all.
If I run the simple regression when x is a categorical variable ( x <-
factor(x) ):
> MyFit <-coxph( Surv(start, stop, event) ~ x )
How can I get the overall p-value on x other than for each dummy
variable?
> anova(MyFit)
does NOT provide that information as previously suggested on the list.
All the best,
Kare
[[alternative HTML version deleted]]
2005 Oct 03
5
heatmap
Hi,
i created a graph with heatmap(sma) function:
heatmap(dataHeat(x))
and I wish to change the gradation of colors from blue to red, how could
i do?
Using "heatmap(dataHeat(x), col=c(2,4))" i will use only 2 colors
without gradation.
Ty so much
Andrea
2011 Apr 08
1
Problem installing packages in R 2.11.1
The issue shows when installing some packages. I was interested in using
"gplots" so i ran:
install.packages("gplots", dependencies=TRUE)
and the outcome was something like this:
Aviso en install.packages("gplots", dependencies = TRUE) :
argument 'lib' is missing: using
'/home/buscoverdad/R/i686-pc-linux-gnu-library/2.11'
---
2012 Mar 13
2
"gplots" packages does not work
I had installed de "gplots" package and then I loaded the library but the
package did not work. I recieved a message like this:
> install.packages("gplots", dependencies = TRUE)
Installing package(s) into
‘/home/fpiston/R/x86_64-pc-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
2007 Feb 20
4
linux gplots install unhappy
Hello all,
I use R on both windows and a "mainframe" linux installation (RedHat
enterprise 3.0, which they tell me is soon to be upgraded to 4.0). On
windows I installed the package gplots without trouble, and it works fine.
When I attempted to do the same on the unix computer, the following error
message was forthcoming:
downloaded 216Kb
* Installing *source* package
2007 Aug 24
2
problem loading package 'gplots'
Dear R community,
I am using R version 2.4.1 GUI 1.18 on an iBook G4 with OS 10.4.10.
When I try to load package 'gplots' I get the following message:
> library(gplots)
Loading required package: gdata
Attaching package: 'gdata'
The following object(s) are masked _by_ .GlobalEnv :
reorder.factor
Loading required package: gtools
Attaching package: 'gtools'
2010 Mar 25
1
Error in library(gplots) : there is no package called 'gplots'
Dear all,
I have an issue trying to install new packages (have tried with RODBC_1.3-1, gplots_2.6.1, gtools_2.7.4 packages) and get the same error message :
"Error in library(gplots) : there is no package called 'gplots'"
Only clue I have found so far on the Web is related to Perl (Perl modules are installed on my computer, but which one is related to gplots if any ?); no
2004 Sep 17
1
R-2.0.0 Install problem for package bundle with inter-dependent n amespaces
I have a revised version of the gregmisc package, which I've converted into
a package bundle each of which has a namespace: gplots, gmodels, gdata,
gtoools. Of course, there are interdependencies among these namespaces:
gsun374: /tmp [11]> cd gregmisc/
gsun374: gregmisc [12]> grep import */NAMESPACE
gdata/NAMESPACE:importFrom(gtools, odd, invalid, mixedsort)
2010 Sep 11
1
Argument lib is missing
Dear all,
I have installed R using yum install R-2.9. I am able to use R for general
functions but when I installed some library say gplots I am getting the
below error.
> install.packages("gplots")
Warning in install.packages("gplots") :
argument 'lib' is missing: using
'/home/fedora/R/i386-redhat-linux-gnu-library/2.11'
Warning: unable to access index
2008 Jul 11
2
Problems with Package Installation.
I am having difficulty installing packages. For example, here I have tried to
install "gplots" but to no avail. I have tried multiple mirrors and
different packages (errbar) but after installation I seem to be unable to
access any of the commands or help pages. I am a little concerned about the
'lib' missing message but this has been present for previous successful
package
2009 Sep 15
2
Viewing Function Code
Hi All,
I'd like to see the function code behind the barplots2() function in the
gplots package, however i come across a bit of a stumbling block of a hidden
function, can anyone help?
> library(gplots)
> methods(barplot2)
[1] barplot2.default*
Non-visible functions are asterisked
> barplot2
function (height, ...)
UseMethod("barplot2")
<environment:
2004 Sep 29
6
displaying sample size in boxplots
Hi,
I was wondering if there is a ready made function or parameter
for indicating the sample size in boxplots?
Here's what I came up with so far:
library(ISwR)
data(energy)
attach(energy)
boxplot(expend~stature)
sample.size <- tapply(expend, stature, length)
sample.size <- paste("N=", sample.size, sep="")
mtext(sample.size, at=1:length(unique(stature)), line=2,
2007 Aug 13
4
vertically oriented color key in heatmaps
Hi, I have some data which I was plotting using image(). I wanted to
add a vertical color key to the plot and I found that heatmap.2 in
gplots does let me add a color key. However, I was thinking of a
vertical bar with the color range rather than the style that gplots
provides.
Is there any package (or code snippet) that would let me add a
vertical color key to an image() or heatmap
2010 Feb 23
1
installing ROCR/gplots packages blows up memory
When I try to install the ROCR package (which requires gplots) on
Ubuntu 9.10 (Xubuntu Karmic Koala) 64-bit on R version 2.9.2
(2009-08-24), it eats up all my RAM (2GB) and swap (4GB) and keeps
allocating more memory until Linux's out of memory (OOM) killer kills
the perl process. This problem is special to Ubuntu because I can
install other packages (such as party) on this Ubuntu system, and
2014 Feb 24
3
Error gdata and gplots packages
Hi, I just installed Ubuntu 12.04.4. I installed R by following
instructions from CRAN after modification into my /etc/apt/sources.list file
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
When I try to load library(gdata) ou library(gplots), I have error
message :
library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files
2010 Jun 03
3
(no subject)
Dear R users,
I am trying to draw error bars in a bar plot, I use this code (tried many others which did not work):
install.packages()
library(gplots)
y <-c(39.02, 46.42)
se <- c(7.57,7.35)
plot <- barplot(y, beside=TRUE, col=0, ylim=c(0,47), axis.lty=1, main="far-red", xlab="latitude", names.arg=c("56N", "68N"))
superpose.eb(plot, y, se,