Displaying 20 results from an estimated 1000 matches similar to: "Problema con la ayuda HTML"
2011 Nov 30
3
Segmentar archivos en R (Antonio José Sáez Castillo)
Hola Leonardo. Creo que te refieres a analizar alguna variable por
grupos. Eso te lo pueden hacer las funciones tipo tapply().
Por ejemplo,
tapply(datos,factor,mean, na.rm=TRUE)
tapply(datos,factor,sd, na.rm=TRUE)
tapply(datos,factor,quantile,probs=c(0.05,0.95),na.rm=TRUE)
En cuanto a RCommander, que lo preguntabas después, algunas opciones del
menú tienen la opción "Analizar por
2013 Jul 08
2
Segmentar archivos en R (Antonio José Sáez Castillo)
Estimado Mauricio Monsalvo
Le paso una idea, no es un código muy lindo que digamos, pero al correrlo
seguramente se dará cuenta de mi sugerencia.
datos<-c(2,3,4,5,6,7,8)
quantile(datos)
quantile(datos,probs = c(0.25, 0.75, 0.85, 0.90, 0.95))
as.matrix(quantile(datos,probs = c(0.25, 0.75, 0.85, 0.90, 0.95)))
as.data.frame(quantile(datos,probs = c(0.25, 0.75, 0.85, 0.90, 0.95)))
# ¿ y si solo
2011 Nov 23
6
Incomplete final line (Antonio José Sáez)
Tengo el mismo problema que Eva en cualquier script que defina una
función, pero no en otros que no definen funciones.
Por ahora he tenido que desinstalar la versión 2.14.0.
Os dejo un ejemplo (he simplificado la función, pero he dejado la
estructura fundamental por si ahí está el error): si lanzáis
source("probando.r") veréis que sale el mensaje de error.
Por supuesto, garantizo que
2012 Apr 16
1
Crear nuevos métodos para funciones genéricas existentes
Perdón por anticipado ante una pregunta sólo achacable a mi ignorancia
en programación.
Estoy creando un nuevo paquete con una estructura "decente", en vez de
las chapuzas que hacía hasta ahora. Defino una función que ajusta unos
datos a una distribución que podemos llamar ND. La sintaxis de esta
función sería, de forma resumida:
ND.fit<-function(x, start, ...){
...
2013 Jul 08
1
Segmentar archivos en R (Antonio José Sáez Castillo)
Habría que buscar la vuelta, yo no lo se, pero posiblemente lo siguiente da una pista.
Nota: al mismo código le sume una línea al final
datos<-c(2,3,4,5,6,7,8)
quantile(datos)
quantile(datos,probs = c(0.25, 0.75, 0.85, 0.90, 0.95))
as.matrix(quantile(datos,probs = c(0.25, 0.75, 0.85, 0.90, 0.95)))
as.data.frame(quantile(datos,probs = c(0.25, 0.75, 0.85, 0.90, 0.95)))
# ¿ y si solo solicita
2011 Apr 13
1
Modelo para datos de conteos (Manuel Spínola)
Una distribución binomial negativa podría ser adecuada. De hecho, una
extensión de la binomial negativa, como la distribución de Waring
generalizada, termina convergiendo a una distribución binomial negativa.
Puedes ver que la mejora en la bondad del ajuste de la binomial negativa
con respecto a la Poisson es sustancial (te muestro también las salidas.).
datos<-c(1280, 1262, 1290, 1321,
2012 May 27
5
Help Brugs
Hola;
estoy intentando utilizar el paquete BRugs
y cuando entra el comando:
library(BRugs)
me da el siguiente error:
Error: .onLoad failed in loadNamespace () for ''Brugs''
Alguien puede ayudarme?
Saludos
-
Jose Ramón Alameda Bailén
Área de Psicología Básica
Universidad de Huelva
[[alternative HTML version deleted]]
2012 Jun 01
5
Curso de R básico no presencial y gratuito
Hola, ¿qué tal?
Juanjo Gibaja y yo hemos organizado un curso de R básico, no
presencial, colaborativo y gratuito dirigido a aquellas personas que
quieren introducirse en el mundo de R.
Para más información, pueden consultarse los dos siguientes enlaces:
http://www.datanalytics.com/blog/2012/06/01/curso-de-r-gratuito-no-presencial/
2007 May 21
2
Source code of add1
Se ha borrado un texto insertado con un juego de caracteres sin especificar...
Nombre: no disponible
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070521/f7808713/attachment.pl
2010 Dec 06
3
Combinar los niveles de un factor
Hola,
Quisiera saber como combinar los niveles de un factor en un "data frame":
Por ejemplo, mi "data frame":
x y
2.9 a
1.2 a
3.4 b
1.4 b
1.5 c
1.7 c
Ahora quiero que los niveles b y c pasen a llamarse nivel d (un nuevo
nivel con las 4 observaciones correspondientes a b y c) y mi nuevo data
frame tenga un factor con 2 niveles (a y d) en
2013 Jul 08
0
Segmentar archivos en R (Antonio José Sáez Castillo)
Hola.
Tengo un problema sencillo que no logro desentrañar:
Tengo estos tres objetos:
a <- as.matrix(with(ProduccionAC, tapply(Costo, Provincia, mean)))
b <- as.matrix(with(ProduccionAC, tapply(Costo, Provincia, median)))
c <- as.matrix(with(ProduccionAC, tapply(Costo, Provincia, quantile, probs
= c(0.25, 0.75, 0.85, 0.90, 0.95))))
Pero resulta que
cbind(a,b,c)
devuelve este resultado:
2013 Jul 08
0
Segmentar archivos en R (Antonio José Sáez Castillo)
Gracias, Javier. Es lo que hice, en efecto, para salir del paso. Requerir
de a uno por vez. El problema es que no entiendo por qué debo hacerlo así
si quantile es una función más, como cualquier otra, que podría utilizar en
un tapply (porque necesito los datos según provincia, que obviamente es un
factor)
El 8 de julio de 2013 17:25, Marcuzzi, Javier Rubén <
2010 Sep 24
0
Inaccuracy of kummerU (fAsianOptions) (Tricomi function)
Hello,
I need to use the confluent function of second kind, also known as
Tricomi function. It is implemented as kummerU() function in
fAsianOptions package, but I've found very inaccurate values, comparing
with those provided by Mathematica. I think Mathematica values are OK
because kummerU values leads to negative probabilities.
For example, if you try the kummerU() function example, you
2009 Apr 16
0
Problems with adabag
Hello,
I'm trying to use adabag to make bagging and boosting with bagging() and
adabost.M1(), respectively, but in both cases it produces an abnormal
termination of R.
My code is:
bagging(I.NOSOCO~EDAD+SEXO+ESTANCIA+ADMISI?N+T.CIRUG?+DURACI?N+CONTAMIN
+PROFILAX+E.PREOPE+V.PERIFE+V.CENTRA+S.VESICA+S.NASOGA+DREN.ABI+DREN.CER
2009 Jan 18
6
read a xls file
Hello,
i have a xls file. I will read it in r, what library-command i use for
this??
any ideas??
Thanks
Michele
[[alternative HTML version deleted]]
2009 Jan 10
3
install.views()
Dear Rxperts,
Using R 2.8.1 and trying
install.views("Cluster")
getting error
Error: could not find function "install.views"
Please help:-(
--
Oscar
Oscar A. Linares
Molecular Medicine Unit
Bolles Harbor
Monroe, Michigan
[[alternative HTML version deleted]]
2009 Dec 03
3
data manipulation
Dear Wiza[R]ds,
I have a data.frame header that looks like this:
v2FfaPre15 v2FfaPre10 v2FfaPre5 v2Ffa2 v2Ffa3 v2Ffa4
I need it to look like this,
15 10 5 2 3 4
i.e., with v2FfaPre and v2Ffa stripped off
Any suggestions,
Thanks in advance!
--
Oscar
Oscar A. Linares, MD
Translational Medicine Unit
LaPlaisance Bay, Bolles Harbor
Monroe, Michigan 48161
2009 Nov 18
4
Switch Help
Dear Rexperts,
Given,
aar <-function(command) {
switch(command,
{scrn = cat("scrn :Screening","\n")}
{dx = cat("dx :Diagnosis","\n")}
{df = cat("df :Don't Forget","\n")}
)
}
I want to be able to do:
aar("dx") # function does cat("dx :Diagnosis","\n")
2009 Jan 18
4
data management
Dear Rxperts,
I have a varaibles data file that looks like this
p(1) 10
p(1) 3
p(1) 4
p(2) 20
p(2) 30
p(2) 40
p(3) 4
p(3) 1
p(1) 2
I cannot process these data with R because it does not like the parentheses.
How can I get these to look like:
p1 10
p1 3
p1 4
p2 20
p2 30
p2 40
p3 4
p3 1
p3 2
The data is in a tab delimited text file and I want to get it into a
data.frame().
Many thanks in
2001 Apr 06
1
error:*** zlib missing
Hi, my Name is Claudia Linares and in this moment, I try to install the SSH
in a machine Sun with Solaris 2.7.
When I want to compile the software openssh-2.5.1p1 ( with Compiler CC or
with gcc), I execute the comand:
./configure but in this instant I view the following messages:
config : error:*** zlib missing - please install first or check config .log
The file config.log is this: