Displaying 20 results from an estimated 3000 matches similar to: "How to add obj to a list?"
2015 Jul 27
4
Como modificar valores en un data frame
Estimad en s, quería realizar una consulta
Dado un data frame llamado aves, como puedo sustiuir las variables area,
dist y distm por sus logaritmos en base10 y volver a crear un data frame?
Muchas gracias
Saludos
Susana
[[alternative HTML version deleted]]
2015 Jul 28
2
función cantidad mayor de valores
Hola Javier,
Intenta los siguientes cambios
g4 <- function(codigo_llega, n_caracteres){
codigo_llega <- as.character(codigo_llega)
if(n_caracteres == 6) res <- substr(codigo_llega, start=0, stop=4)
else res <- codigo_llega
res
}
g4 <- Vectorize(g4)
x <- c('Jorge Velez','Javier Marcuzzi','Daniel Merino','Susana deus
Alvarez', 'Carlos
2015 Sep 22
2
Excel vs. R
Antes que nada puedes encontrar documentación sobre la librería ggplot2 que
es la que yo uso para gráficos como el que quieres hacer, aunque hay otros
paquetes que te pueden ser útiles:
http://docs.ggplot2.org/current/
Adicionalmente a lo dicho por Carlos aquí te van otros ejemplos (los agrego
porque no nos proporcionaste datos con lo que pudiéramos ver mejor lo que
buscas):
2015 Sep 22
4
Excel vs. R
Hola, escribo porque tengo una gran duda como gráficas tan fáciles en Excel
son tan difíciles en R?
No consigo hacer una gráfica en R de estas características. Osea como puedo
dividir por sitios por tamaños. En una planilla enorme tengo la primera
columna son las estaciones (pero solo quiero las tres ultimas) y después
muchos parámetros, en las columnas 46, 53 y 60 los promedios ponderados. Y
no
2002 Sep 23
3
Problems with tcltk package
Hello listers,
I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to
load the Tcl/Tk package I get this error:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed
Can someone help me, please?
Thanks,
Juan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2002 Jan 09
2
How to obtain the series of residuals from fracdiff
Hi
I'm using fracdiff package to estimate the parameters of a
fractionally-differenced ARIMA (p,d,q) model, and it works fine, but I wanted
to have also the filtered series and the series of residuals.
I understand these are calculated in the subroutine fdfilt, in the program
fdcore.f, but I can't manage to get them out.
Any suggestion would be much appreciated
Thanks
Susana Barbosa
2003 Jan 28
2
Error from StructTS
Hi,
I used function StructTS some time ago to fit a structural model to a time
series.
Now with R 1.6.2-1 I repeated the analysis with the same series and I get the
following error:
Error in KalmanLike2(y, Z, -1) : invalid argument type
I tried with other series and I get the same error; I checked the examples in
the documentation and they work fine. I suspect I am missing something
2008 Jul 10
1
R bug in the update of nlme?
Dear Sirs,
I would like to kindly ask for your assistance on the folllowing issue.
After uploading the most updated the versions of some libraries (namely:
survival and nlme) I became unable to open R. Every time I try to open R
a dialogue box pops up with the following message:
---------------------------
Information
---------------------------
Fatal error: unable to restore saved data in
2008 Oct 23
1
Fw: It 's correct to do contrasts for a GLM?
Hi all
I am one recent user of R and have a few doubts
I did a binomial GLM with 3 - factor and now I have to test contrasts to
identify that treatments are different. I know that the contrasts are used
in ANOVA, it is not incorrect to use them in GLM? there is a way to do
contrasts between treatments for GLM as a Tukey for the ANOVA?
Susana
2002 Jun 11
3
show messages during a long process
Hi,
I have a function which takes some time to execute (20 sec.) and I want to
show the progress of the execution with simple messages such as "10% done",
"20% done", ... (with a simple "cat" function). The problem is that all the
messages appear together when the execution of the function is over. How can
I show each message at their corresponding time?
Thanks,
2001 Sep 19
4
Building a dll for windows
This is a recurrent question but could not find the answer in the
documentation.
I want to build a dll for windows from a fortran program to be loaded with
dyn.load. I can do it easily for linux with: g77 -shared -o foo.dll foo.f
The g77 compiler (mingw-1.01) for windows does not recognise the -shared
option.
In windows the Writing extensions manual tells to use Rcmd SHLIB but I can't
2002 Apr 11
6
extract week from date
Hello R-users,
Does anyone know how obtain the week of a date?
(in SPPS the instruction is "xdate.week")
Thanks,
Juan Ramon
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the
2007 Feb 21
1
getent returns HEX number instead of username
Not for all users but for some.
I'm using samba 3.0.20 running on Fedora Core 3. Security = ADS,
winbind works and getent passwd returns local unix accounts plus the
domain accounts as expected.
It also returns a lot of entries like:
6811ff15281f4d19bdc:x:18004:10000:Anel Susana
Esquivel:/export/private/6811ff15281f4d19bdc:"/sbin/nologin"
I suspect these are accounts in a
2002 May 03
6
problems with rexp ?
Does anyone know if R have any problems with the exponential random number
generation (function rexp)?
I comment it because I executed
data<-sort(rexp(100))
plot(data,dexp(data)/(1-pexp(data)),type="l")
and the graphic isn't constant.
(Note: exponential distribution have a constant hazard failure rate).
Thank you,
Juan
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here...
I seem to be having difficulty getting my favicon to appear. I have my
favicon.ico in the public folder. I''ve configured my route.rb to route
the intro page to my "home" controller. I''m using application.rb in my
views to template the headers and footers.
Here is the tag in my <head> in the
2005 Feb 10
1
rats in survival package
Dear R-listers,
Does anybody know what is the correct source of "rats" dataset in survival package?
The help gives the following information:
Rat data from survival5
Description:
48 rats were injected with a carcinogen, and then randomized to
either drug or placebo. The number of tumors ranges from 0 to 13;
all rats were censored at 6 months after randomization.
2003 Oct 01
1
Acces violation ???
Dear R-listers,
I have created a "dll" and I call it from a R function. However R stops and
shows the message:
"Unhandled exception in Rgui.exe (R.DLL): 0xC0000005: Access Violation"
I get this error in other situations and I solved it verifying that all
parameters are called fine. (e.g., double precision -> as.double, integer ->
as.integer,...). I have verify this.
2001 Aug 16
1
Windows metafiles in Linux
Just want to express MHO that the graphics produced by wmf.graph() in Splus
6 for Linux is only of barely acceptable quality (e.g., hallow circles were
drawn too thick, making the plot look rather awkward).
Andy
-----Original Message-----
From: Prof Brian D Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Thursday, August 16, 2001 10:49 AM
To: Victor Moreno
Cc: r-help at stat.math.ethz.ch
Subject:
2007 Apr 05
1
data.frame backwards compatibility (PR#9601)
Full_Name: Victor Moreno
Version: R2.5.0
OS: windows
Submission from: (NULL) (68.40.63.169)
This may not be a bug, but seems not yet documented. Some data.frames created
with development version 2.5.0, when read in 2.4.1, show error:
Error in dim.data.frame(chip23) : negative length vectors are not allowed
A dump of the data.frame shows as last code:
, row.names = as.integer(c(NA, -7269)),
2002 Jun 10
3
%in% in R?
Hi,
Does anyone know if exists a similar funcion to %in% from Hmisc S-plus
library in R?
Thank you
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at