Displaying 20 results from an estimated 10000 matches similar to: "RES: set a legend with an "image" graph"
2004 Jul 20
9
Sort a data frame
Hi all 
I have the next data frame 
    year   STOD    SLAGNR  TAL TALT   TALVEKT
1 2002  2120006     57      1      NA      1
2 1997  97030032    57     NA   NA      NA
3 1997  97030071    27     1      NA      NA
4 1997  97030005    57     1      NA      NA
5 1997  97020127    60     NA   1         NA
6 2001  1160025     27      1      NA      1
7 1998  98020069    60     1      NA      NA
8
2004 Jun 17
3
How to order a vector
Hi all
I have a vector like this 
2003 2002 2001 2000 1999 1998 1997 1996 
 106   105  106   106    105   106   101   107
How can I get it sorted right(1996....2003)?
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone:             +298 353900
Phone(direct): +298 353912
Mobile:             +298 580800
Fax:                 +298 353901
2004 Jul 27
1
list problem
Hi all,
I have the folowing frame(there are more columns than shown),
   1              2           3        4           5     
Year         Total      Tus    Whi      Norw
1994         1.00      1830       0      355 
1995         1.00         0       0        0 
1995         1.00         0       0        0 
1995         1.00      4910    4280      695 
1997         1.00         0       0     
2004 Jul 26
5
aggregate function
Hi all,
I have the folowing frame(there are more columns than shown),
   1              2           3        4           5     
Year         Total      Tus    Whi      Norw
1994         1.00      1830       0      355 
1995         1.00         0       0        0 
1995         1.00         0       0        0 
1995         1.00      4910    4280      695 
1997         1.00         0       0     
2004 Aug 06
2
list of frames without first element
R-help,
I have a list of several data frames.
I want to compute the "rowSums" of the columns of these data frames but  first one.
Something like this 
                    lapply(my.list,rowSums)
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone:             +298 353900
Phone(direct): +298 353912
Mobile:             +298
2004 Apr 22
3
fill up a matrix
Hi all,
I want to fill in this matrix vectors (by column) without overwriting the first elements in column 1995.
Is there any other way than concatenate the first element with the vector and then assign this new vector 
to the column in matrix?   
 matrix[,"3"]<-c(1591,"vector")
 matrix[,"4"]<-c(405,"vector")
...
...
                              
2004 Aug 16
3
adding sem to a plot
R-help,
I have a barplot and I wish to add standard erros (or deviations) bars to it.
How?
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone:             +298 353900
Phone(direct): +298 353912
Mobile:             +298 580800
Fax:                 +298 353901
E-mail:              luisr at frs.fo
Web:                www.frs.fo
2004 Aug 13
2
lapply problem
R-help,
I wish to replace NULL elements(or missing) in the following list :
> z2
$cod
    mean       sd 
62.56190 12.65452 
$haddock
    mean       sd 
36.61490 11.50365 
$ling
    mean       sd 
86.17949 20.43587 
$saithe
     mean        sd 
50.275847  5.453606 
$whiting
NULL
$"norway pout"
     mean        sd 
13.739623  1.393104 
$"great silver smelt"
     mean   
2008 Aug 26
3
savePlot() does not save plot with format set
R-help,
Whenever I try to save a plot with "savePlot"
the file is not stored in my hard disk with the selected
format. Several formats are set and none of them
works. I just get the file name with missing extension
and it can't be open with programs like Paint and Microsoft Photo
Editor
Th only one able to open it is "Windows Picture and Fax Viewer"
plot(rnorm(10))
2004 Apr 20
1
R1.9.0
I have just installed R 1.9.0 on my computer(Windows XP) and uninstalled 1.8.1
When Itry to execute .RData I'm asked to specify the program to open it.But whe I do it I get a message ".RData is not a valid Win32 program"
Can anyone help please?
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone:             +298 353900
2004 Jul 20
1
Problem with plot
Hi all 
 
I'm trying to plot  2 columns of a frame but whatever option I choose for argument "type" I always get bars with height equal to 1.
I quit and restart but problem remais
Help! 
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone:             +298 353900
Phone(direct): +298 353912
Mobile:             +298 580800
Fax:       
2004 Aug 11
2
type III sum of squares
R-help
What are the strengths and weakness of 'aov' in 'car' package?
My model looks something like this :
library(car)
aov(lm(fish.length~zone*area,data=my.data))
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone:             +298 353900
Phone(direct): +298 353912
Mobile:             +298 580800
Fax:                
2005 Sep 13
3
where is eda library (Prof. Ripley's Exploratory Data Analysis Library)
Hi 
I want to install eda library. Where can I download it?
I use R version 2.1.0 on Linux.
Thanks.
Stephen.
----- Original Message -----
From: Luis Ridao Cruz <Luisr at frs.fo>
Date: Tuesday, September 13, 2005 1:32 pm
Subject: Re: [R] How to erase objects
> ?rm
> 
> 
> >>> <v.schlecht at arcor.de> 13/09/2005 12:08:55 >>>
> 
> Hi, I admit that
2004 Aug 17
2
levels of factor
R-help,
I have a data frame wich I subset like :
a <- subset(df,df$"column2" %in% c("factor1","factor2")  & df$"column2"==1)
But when I type levels(a$"column2") I still get the same levels as in df (my original data frame)
Why is that?
Is it right?
Luis
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
2007 Aug 07
2
R and excell differences in calculation F distributionfunction
R-help,
I'm trying to work out the density function by doing:
> df(5.22245, 3, 22)
[1] 0.005896862
> df(15.20675, 6, 4)
[1] 0.001223825
In excell the result is :
0.0071060464 <*>   FDIST(5.22245,3,22) 
0.0100001406 <-->   FDIST(15.20675,6,4)
>From my point of view the differences in the second case
are substantial.
Can anyone give me a hint on this?
Thanks in
2014 Jan 31
2
manipulación de caracteres
lo que necesito es
"98989","121212"
 y no :
paste(unlist(strsplit(char,",")),collapse=",")
[1] "98989,121212"
Luis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1, P.O. Box 3051
FO-110 Tórshavn
Faroe Islands
Tel   : (+298) 353900
Fax: : (+298) 353901
e-mail: luisr@hav.fo
          
2014 Apr 01
2
problema con RStudio
Hola, ¿qué tal?
¿Puedes comparar la salida del comando
Sys.getenv("LD_LIBRARY_PATH")
en una sesión en la que funciona RODBC y otra en la que obtienes el
error anterior?
Un saludo,
Carlos J. Gil Bellosta
http://www.datanalytics.com
P.D.: A propósito, también he estado tratando de utilizar RODBC en
Linux y me he acabado rindiendo. Sobre todo porque RJDBC funciona
bastante bien.
2014 Apr 01
2
problema con RStudio
Pues ahí lo tienes.
De alguna manera R (a través de RStudio) no está incorporando el directorio
/u01/app/luisr/product/11.1.0/client_1/lib
donde se ve que tienes las librerías de ODBC al "LD path".  Échale un vistazo a
https://support.rstudio.com/hc/communities/public/questions/200641818-How-to-configure-libPaths-?locale=en-us
Aparentemente RStudio tiene su propio sistema para
2004 Jul 23
2
retrieve rows from frame assuming criterion
Hi all,
I have a data frame in which one column(PUNTAR) is of character type.
What I want is to retrieve is the frame but only with those rows matching elements of PUNTAR with a list characters (e.g c("IX49","IX48") )
Year    TUR  STODNR   PUNTAR
1994  9412 94020061     IX49
1994  9412 94020062     IX48
1994  9412 94020063      X32
1994  9412 94020065      X23
1994  9412
2014 Apr 01
3
problema con RStudio
No, no estoy usando Rstudio Server
El 1 de abril de 2014, 9:07, Carlos J. Gil Bellosta
<cgb@datanalytics.com>escribió:
> Una pregunta... no estarás utilizando RStudio server, ¿verdad?
>
> En tal caso, lo que tienes que hacer es configurar
> /etc/rstudio/rstudio.conf tal como indica en
>
> http://www.rstudio.com/ide/docs/server/configuration
>
> En particular,