similar to: Ayuda

Displaying 20 results from an estimated 100 matches similar to: "Ayuda"

2013 Jul 31
0
Resumen de R-help-es, Vol 53, Envío 46
Re: Ayuda Manolo, si no estoy mal tu tarea se soluciona con el uso de las funciones melt y cast del package reshape o en su defecto la versión mas nueva reshape2. ------------------------------ > > Message: 4 > Date: Tue, 30 Jul 2013 15:56:03 -0500 > From: Manuel Máquez <manuelmx11@gmail.com> > To: R-help-es@r-project.org > Subject: [R-es] Ayuda > Message-ID: >
2003 Sep 17
2
Date on x-axis of xyplot
xyplot doesn't seem to want to label my x-axis with dates but instead puts the day-number for each date. begdate is the number of days since January 1, 1960 and was initially created by library(date) ... polls$begdate<-mdy.date(begmm,begdd,begyy) I create a new dataframe (pollstack) which includes begdate. In the process begdate seems to lose its date attribute so I redo it as: >
2009 Nov 23
2
non-intuitive behaviour after type conversion
Deal list, I have a data frame (birth) with mixed variables (numeric and alphanumeric). One variable "t1stvisit" was originally coded as numeric with values 1,2, and 3. After attaching the data frame, this is what I see when I use str(t1stvisit) $ t1stvisit: int 1 1 1 1 1 1 1 1 2 2 ... This is as expected. I then convert t1stvisit to a factor and to avoid creating a second
2011 Dec 06
1
warning for inefficiently compressed datasets
Hi, Recently added to doc/NEWS.Rd: 'R CMD check' now gives a warning rather than a note if it finds inefficiently compressed datasets. With 'bzip2' and 'xz' compression having been available since R 2.10.0, there is no excuse for not using them. Why isn't a note enough for this? Generally speaking, warnings are for things that are dangerous, or unsafe,
2010 Nov 17
3
stacking consecutive columns
I have a file, each column of which is a separate year, and each row of each column is mean precipitation for that month. Looks like this (except it goes back to 1964). month X2000 X2001 X2002 X2003 X2004 X2005 X2006 X2007 X2008 X2009 1 1.600 1.010 4.320 2.110 0.925 3.275 3.460 0.675 1.315 2.920 2 2.960 3.905 3.230 2.380 2.720 1.880 2.430 1.380
2013 Jul 12
3
transformar una variable de tipo carácter
Buenos días No sé qué función tengo que utilizar para cortar una variable cadena. Veamos a ver, teno la variable MUNICIPIO que recoge la siguiente información: 26001-Ábalos y necesito crear la variable COD_MUNICIPIO cuyo valor ha de ser 26001. Gracias BB Belén Cillero Jiménez Técnico de Estadística Instituto de Estadística de La Rioja bcillero en larioja.org ________________________________
2013 Feb 18
3
Cortar una cadena por un caracter solo cuando no forma parte de una subcadena entrecomillada
Hola, ¿qué tal? Tengo el siguiente problema. Me llegan (simplificando) cadenas del tipo 1,2,"algo"; 3,"cosa"; 4,2,3,7; y tengo que partirlas por el caracter ";" para meterlas en una lista. Lo hago con strsplit y no tengo problemas... ... hasta que recibo cadenas como 1,2,"algo;todo"; 3,"cosa"; 4,2,3,7; en las que existen puntos y coma
2016 Jul 20
4
un solo un favor
Hola a todos Esta es mi primera pregunta en el grupo, y es sencilla pero me tiene atascado. Estoy tratando de cortar mi mapa de (poner limites en UTM) en un lugar definido como mi area de estudio (en este caso el sur de chile). Pero creo no estar usando bien la función CRS ponendo bien los limites requeridos. > study_area <- readRDS("CHL_adm0.rds") > study_area_UTM <-
2011 Sep 13
1
protect rule prevents file sending when in merge filter file?
Hi, We upgraded from rsync 2.6.8 to 3.0.6, and ran into a problem with P (protect) rules coming in from filter files. The rule works if given on command line, but if given via . (merge), it no longer works. The effect is that files are not sent to the destination any more. I verified the problem still exists in 3.0.9pre2. I don't think this is bug 8309
2011 Mar 16
2
Need to abstract changing name of column within loop
Hi, I'm struggling to figure out the way to change the name of a column from within a loop. The problem is I can't refer to the object by its actual variable name, since that will change each time through the loop. My xts object is A. > head(A) A.Open A.High A.Low A.Close A.Volume A.Adjusted A.Adjusted.1 2007-01-03 34.99 35.48 34.05 34.30 2574600 34.30
2006 Jan 03
1
Summary functions to dataframe
I have written a few different summary functions. I want to calculate the statistics by groups and I am having trouble getting the output as a dataframe. I have attached one example with a small dataset that calculates summary stats and percentiles, I have others that calculate upper confidence limits etc. I would like the output to be converted to a dataframe with one of the columns as the
2018 Mar 09
3
Contar categorías después de ciertos valores
Hola, Estoy intentando averiguar cómo contar el número de categorías situadas después de ciertos valores. Por ejemplo, en el siguiente vector: x <- c(3, "A", "B", 5, "A", 4, 5, "A", "A", 3) el resultado que quisiera obtener es: Valor -> Resultado 3 -> 1 A y 1 B 4 -> 0 A y 0 B 5 -> 3 A y 0 B ¿Alguien tiene alguna
2013 Mar 07
8
Convertir eh hora
Hola a tod@s, Me han mandado una base de datos y al abrirla me he encontrado con la fecha y la hora en el siguiente formato: FECHA HORA 20121007 1206 20110622 1854 20110623 054 He conseguido que la Fecha me quedara en el formato dd/mm/aaaa mediante el script db[, "FECHA"] <- as.Date(as.character(db[,
2010 Mar 05
2
Selecting rows of a matrix based on some condition on the columns
The data set consists of two sets of matrices, as labelled by the columns, T's and C's. > xy x T1 T2 T3 T4 T5 C1 C2 C3 C4 C5 [1,] 50 0.00 0.00 33.75 0.00 0.00 0.00 36.76 0.00 35.26 0.00 [2,] 13 34.41 0.00 0.00 36.64 32.86 34.11 35.80 37.74 0.00 0.00 [3,] 14 35.85 0.00 33.88 36.68 34.88 34.58 0.00 32.75 37.45 0.00 [4,] 33 34.56
2005 Jul 01
2
the format of the result
I write a function to get the frequency and prop of a variable. freq<-function(x,digits=3) {naa<-is.na(x) nas<-sum(naa) if (any(naa)) x<-x[!naa] n<-length(x) ta<-table(x) prop<-prop.table(ta)*100 res<-rbind(ta,prop) rownames(res)<-c("Freq","Prop") cat("Missing value(s) are",nas,".\n") cat("Valid case(s)
2015 Sep 29
5
sobre fread {data.table}
Hola, M. Luz. Hay infinidad de motivos por los que se te puede cortar la lectura de un archivo de datos, pero los más habituales son encontrar un "#" o unas "" en los registros, o una línea toda en blanco. Lo primero yo creo que es dejar el archivo en texto plano (lo que te recomendaba Carlos de usar el original, no el docx), y buscar esos caracteres con un editor de texto
2015 Sep 29
2
sobre fread {data.table}
También si nos envías el .rel nos ayudaría a ver qué pasa... Saludos, Carlos Ortega. El 29 de septiembre de 2015, 17:38, MªLuz Morales <mlzmrls en gmail.com> escribió: > De acuerdo, > voy a probarlo > Muchas gracias > > Saludos > MªLuz > > El 29 de septiembre de 2015, 17:31, Pedro Concejero Cerezo < > pedro.concejerocerezo en telefonica.com> escribió: >
2006 Jul 20
0
Confirmação de pedido para entrar no grupo python-brasil
On 20 Jul 2006 02:05:32 -0000 Yahoo! Grupos <confirm-s2-pywddWlXNxf=67g6yNq6a5yrLpQ-savio.outros=oi.com.br em yahoogrupos.com.br> wrote: > > Ol? savio.outros em oi.com.br, > > Recebemos sua solicita??o para entrar no grupo python-brasil > do Yahoo! Grupos, um servi?o de comunidades online gratuito e > super f?cil de usar. > > Este pedido expirar? em 7 dias. >
2014 Jul 23
1
exim-mysql without MySQL support from epel
# head -1 /etc/centos-release CentOS release 6.5 (Final) Anyone using exim with MySQL support from epel without compiling direct from sources? I installed both packages below from epel: Installing: exim x86_64 4.72-5.el6 epel 1.2 M exim-mysql x86_64 4.72-5.el6 epel 24 k # rpm -qa | grep exim exim-mysql-4.72-5.el6.x86_64
2010 Jan 13
1
plotting moving range control chart
I have been having the same problem as poster Hodgess, below. It appears that her question was never answered, so I would like to share a solution with the community. The problem is the (apparent?) inability to produce moving range process behavior (a.k.a. "control") charts with individuals data in the package "qcc" (v. 2.0). I have also struggled with the same limitation in