Displaying 20 results from an estimated 5000 matches similar to: "does "ctest" package exist?"
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 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 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 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
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
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,
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))
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
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
2014 Apr 01
2
problema con RStudio
Carlos,
al parecer tengo instalado el paquete RODBC en :
/home/luisr/R/i686-pc-linux-gnu-library/3.0/RODBC/
no hay nada en (carpeta vacia):
/usr/local/lib/R/site-library/
en el directorio:
/usr/local/lib/R/site-library
hay paquetes que vienen con R pero RODBC no
saludos,
Luis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1,
2014 Jan 31
2
manipulación de caracteres
esto me convierte la cadena de caracteres en dos y eso no es lo que quiero
además el resultado final de la cadena debe ser:
"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
3
problema con RStudio
Hola a todos,
Tengo un problema con RStudio y la conexión a una base de datos.
Desde la terminal no tengo problemas para ejecutar, por ejemplo:
library(RODBC)
channel <- odbcConnect("MiBaseDatos", uid = "MiUsuario", pwd =
"MiContrasena")
datos <- sqlQuery(channel,"SELECT TO_CHAR(S.B_STOD_DATO,'YYYY') \
, M.STODNR \
...
...
...")
pero desde
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
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 Feb 11
2
eliminar texto de un fichero
Carlos,
eso sería una buena solución. el problema es que utilizo el sink()
para redireccionar no solo uno sino varios datos en forma matricial y de
lista
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
2005 Sep 13
3
How to erase objects
Hi, I admit that I rather carelessly built lots of large objects and therefore ran out of memory. Most objects, which I have at the moment are now unnecessary, but it would take a lot of time to recreate the last few ones from scratch. So I would like to erase (get rid of) selected objects in order to be able to continue. Does anyone know how I could do this?
Machen Sie aus 14 Cent spielend bis