similar to: PS graphs in R 2.6.0

Displaying 20 results from an estimated 1000 matches similar to: "PS graphs in R 2.6.0"

2007 Oct 11
2
Identifying and characterizing strings of NA in a vector
Dear R users, I was wondering if someone could suggest a few lines of code for my problem. I want to count the number and the length of strings of NA in a vector. For example: vec <- c(1, 2, 1, NA, NA, 1, 2, NA, NA, NA, 3, 4, NA, NA) has 2 strings of NA's of length 2 and 1 string of NA' of length 3. I can easily count the number of NA's per vector, but I am having a hard time
2008 Mar 06
2
How to hold a value(Mean sq) with a string
Hi all: Can someone advice me on how to hold the residuals Mean sq value on a string so it can be used in other calculations. I was trying something like this: Msquare<-dfr$Mean sq but fails..Thanks dfr <- read.table(textConnection("percentQ Efficiency 1.565 0.0125 1.94 0.0213 0.876 0.003736 1.027 0.006 1.536 0.0148 1.536 0.0162 2.607 0.02 1.456 0.0157 2.16 0.0103
2009 Oct 26
1
issue with levels of a factor after subsetting
Hi Second question in a day, i'm beginnning to feel incompetent... This time i'm having a weird problem, i'm importing the next data base: >car<-read.csv2("Historicos.csv") 'data.frame': 1818 obs. of 6 variables: $ Dpto : Factor w/ 11 levels "ANTIOQUIA","ATL?NTICO",..: 2 2 2 2 2 1 1 1 1 5 ... $ Rio : Factor w/ 43 levels
2001 Mar 05
1
binary versions of packages for Windows
Several of you have asked about `missing' binary versions of packages for Windows on CRAN, although there was an explanation in the ReadMe. Two things have changed: 1) Workload. When I first started this, there were about 20 packages. There are now over 100 (including those in bundles). Further, I rebuilt all the packages for R-1.2.0 in December 2000, but since then more than half
2010 Jul 08
4
Duda con orden Cars93
Cordial saludo, Estoy haciendo una grafica de la base de datos Cars93 conde relaciono Manufacturer con Price con este codigo library(MASS) with(Cars93,plot(Manufacturer, Price, las=2, ylab="Precio (en $1,000)")) necesito el comando para que queden ordenados de manera ascendente como en la grafica 2, muchas gracias por su ayuda Grafica 1 [image: M-P.JPG] Grafica 2 [image: M-P
2010 May 12
3
Calling a list element
Hello, i have the following list strsplit(as.character(Elecciones$Municipios),"\\.") [[1]] [1] "ANTIOQUIA" "ABEJORRAL" [[2]] [1] "META" "ACACIAS" [[3]] [1] "CASANARE" "AGUAZUL" [[4]] and I would like to make a vector of the first element of each of the list items, in this case ANTIOQUIA, META, CASANARE, etc . Do you know how
2000 May 09
1
Work with sgeostat library!
Hello, everybody: I will like to know if anybody else is working with the sgeostat library and where can I find some other fuctions to fit more variogram models (like a kernel one). Thank you very much for you help Kenneth Cabrera Universidad Nacional de Colombia Sede Medellin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2023 Mar 31
1
Extraer texto de una columna en Excel
Muchas gracias por la alternativa de utilizar la librería stringi, Carlos, no la conocía. On Fri, 31 Mar 2023 at 12:11, David Camilo Gomez Medina < dcgomezme en unal.edu.co> wrote: > Muchas gracias Carlos, lo que quiero hacer es lo siguiente: extraer el > texto que hay entre textura/s hasta el punto final. > Ejemplo: > *Moderadamente profundos, bien drenados, de textura franco
2023 Jan 18
1
Suma de datos de una tabla
No sé si olvidé aclarar, pero quiero crear una lista para cada columna y así almacenar esos valores. On Wed, 18 Jan 2023 at 14:13, David Camilo Gomez Medina < dcgomezme en unal.edu.co> wrote: > Hola Carlos. > > Por ejemplo la segunda columna (16040050), quiero sumar todos los datos de > esa columna correspondientes al año 2000 (quiero relacionarlos con la > primera columna
2023 Jan 18
1
Suma de datos de una tabla
Hola Carlos. Por ejemplo la segunda columna (16040050), quiero sumar todos los datos de esa columna correspondientes al año 2000 (quiero relacionarlos con la primera columna donde está la fecha) y ese valor almacenarlo en una lista y así sucesivamente con los demás años y con las demás columnas. Tengo pensado una lista así: est_16040050 [[2000]] [1] 2.3 [[2001]] [1] 1.7 [[2002]] [1] 4.8
2023 Mar 31
1
Extraer texto de una columna en Excel
Muchas gracias Carlos, lo que quiero hacer es lo siguiente: extraer el texto que hay entre textura/s hasta el punto final. Ejemplo: *Moderadamente profundos, bien drenados, de textura franco arenosa a franco arcillo arenosa. Fertilidad natural media* Lo que quiero extraer sería: *franco arenosa a franco arcillo arenosa * Al final lo pude realizar de la siguiente manera: df <-
2009 Oct 26
1
xyplot lines goes forth and backwards
Hi, This is my first post in this page althougt i've been using R for several months (by the way english is not my native language so sorry about the grammar). I have a problem with a xyplot on lattice, it's supossed to print different lines for each river (Rio) conditioned by a chemical parameter (Var) and the state at which it's located (Dpto) against the year the sample were taken
2023 Feb 21
1
Interpolación IDW
Emilio, muchas gracias. Tuve que rehacer el código para entender mejor todo, pero me sale el siguiente error: *Error in as.data.frame.default(x[[i]], optional = TRUE) : cannot coerce class ?structure("RasterLayer", package = "raster")? to a data.frame* El código es el siguiente: *for (i in 1:nrows_mt) { data_it_mt <-
2020 Sep 23
2
Encontrar un dato y añadirlo a otra columna
Con parse_number sacaria todos los numeros de la columna, pero lo que busco es sacar solo los que empiezan por AV y descartar el resto. De todas maneras muchas gracias, le voy a dar otra vuelta. ________________________________ De: Juan Carlos Lopez Mesa <jclopez5 en unal.edu.co> Enviado: martes, 22 de septiembre de 2020 21:32 Para: Samura . <tontito82 en hotmail.com> Cc: r-help-es
2006 May 09
1
Rmpi instlation problem (PR#8846)
Ive tryed this: R CMD INSTALL Rmpi_0.5-2.tar.gz But occurred this error: gcc -shared -L/usr/local/lib64 -o Rmpi.so conversion.o internal.o RegQuery.o Rmpi.o -lmpi -llam -lutil -lpthread -L/usr/local/lib64/R/lib -lR /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin /ld: /usr/local/lib/libmpi.a(infoset.o): relocation R_X86_64_32 can not be used when making a shared
2023 Mar 14
2
Resultado operación entre dataframes
Buen día estimados, Tengo el siguiente código: df_1 <- data.frame(ana = c(15, 20, 30), maria = c(15,20,30), jose = c(15, 20, 30)) df_2 <- data.frame(nombre = c("jose", "ana", "maria"), valor = c(1,2,3)) # Find the corresponding columns in df_1 based on the values in df_2$nombre cols <- match(df_2$nombre, names(df_1)) # Subtract the values of df_2$valor
2023 Mar 07
1
reemplazar valores en texto según condiciones
Hola, La función case_when() te puede servir https://dplyr.tidyverse.org/reference/case_when.html El mar, 7 mar 2023 a las 12:04, juan manuel dias (<juamadias en gmail.com>) escribió: > Hola, como andan! Espero que bien! > Tengo dos bases, A) tiene una variable texto en la que deseo reemplazar > ciertas partes y B) tengo las condiciones para cambiar ese texto de la base >
2023 Feb 10
0
Resumen de R-help-es, Vol 168, Envío 4
Hola Prueba esto: names(dataframe)[c(xx)] <- c("Nueva") Donde data frame es el nombre de tu data frame xx es el número de columna que ocupa la variable que quieres cambiar y ?Nueva? es como quieres que se llame tu nueva variable Saludos Enrique Ramalle -Gómara Enviado desde mi iPad > El 9 feb 2023, a las 16:27, r-help-es-request en r-project.org escribió: > > ?Envíe los
2023 Jan 18
0
Suma de datos de una tabla
Hola, espero que se encuentren muy bien. Tengo una tabla de datos de precipitación y quiero sumar por columnas y así obtener la precipitación anual. Es decir, quiero sumar solo los datos del año 2000 y guardarlos en una lista y así sucesivamente con los demás años, pero no encuentro todavía una función o una manera eficiente de hacerlo. Agradecería mucho si alguien me puede guiar. Saludos
2023 Feb 17
1
Interpolación IDW
Hola, buen día a todos. He estado mirando cómo interpolar unos datos anuales con el método IDW, pero no consigo aún realizarlo. idw_models <- list() for (i in 1:ncol(data_y_mt)) { #Extract the current variable current_var <- names(data_y_mt)[i] #Create an IDW model for the current variable idw_model <- idw(current_var, sta_mt, grid, p = 1) idw_models[[i]] <- idw_model }