similar to: how can I delete rows?

Displaying 20 results from an estimated 300 matches similar to: "how can I delete rows?"

2009 Mar 18
1
lm function (PR#13608)
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (75.61.109.172) I tried using the lm function to regress the third column listed below on the second column listed below. It gave me an error message. My code is below. > HDISWLSdata=read.table("RHDISWLS.txt") > HDISWLSdata V1 V2 V3 1 DENMARK
2009 Jan 13
1
Drawing Polygons with xyplot in lattice
Hello: I've come to a dead-end in my search for a solution to a graphing problem that I am encountering. I have used xyplot (from the lattice package) successfully to plot 36 time-series plots (lines) of under-5 mortality for a set of countries in Sub-Sarahan Africa. What I would now like to do is to add vertical bands (rectangles) that correspond to time-periods during which each of the 36
2013 Apr 22
2
subset dataframe
I can't understand what is happening. This is the code and results: > agoa <- read.table(file = "C:/Users/HTPC/Documents/_Documents/Research/WithDidia/AGOAUSImports.txt", header = T, sep = "\t", dec = ".", na.strings = "NA", stringsAsFactors = T)# > str(agoa); names(agoa) 'data.frame':109 obs. of  19 variables:  $ X    : Factor w/ 39
2009 Jan 27
1
Data Frame Manipulation: Time Series
Dear R Helpers: I have a data set where the unit of observation is country-year. I would like to generate a new data set based on some inclusionary (exclusionary) criteria. Here is an example of the type of data that I have. df<-data.frame(cbind("country"=c(rep("Angola", 9), rep("Burundi", 7), rep("Chad", 13)), "year"=c(1975:1983, 1989:1995,
2004 Oct 06
3
read.delim problem with trailing spaces
I'm trying to read a comma delimited dataset that uses '.' for NA. I found that if the last field on a line was a missing '.' it was not read as NA, but just a '.', and the life variable was made a factor. The data looks like this, income,imr,region,oilexprt,imr80,gnp80,life Afghanistan,75,400.0,4,0,185.0,.,37.5 Algeria,400,86.3,2,1,20.5,1920,50.7
2004 Aug 06
4
ASSISTANCE
FROM: COL. KENNETH ABELANGE. DEMOCRATIC REPUBLIC OF CONGO. Tel No: Your country Intl. access code +873762692483 Fax No: your country Intl. Access code +873762692485 kennethabelange@africamail.com Dear Sir/Madam <p>SEEKING YOUR IMMEDIATE ASSISTANCE. Please permit me to make your acquaintance in so informal a manner. This is necessitated by my urgent need to reach a dependable and
2013 Jul 12
4
simplify a dataframe
Hello I have the following problem : group the lines of a dataframe when no information change (Matricule, Nom, Sexe, DateNaissance, Contrat, Pays) and when the value of Debut of lines i = value Fin of lines i-1 I can obtain it with a do loop. Is it possible to avoid the loop ? The dataframe initial is df1 dput(df1) structure(list(Matricule = c(1L, 1L, 1L, 6L, 6L, 6L, 6L, 6L, 6L, 8L, 8L, 8L,
2009 May 18
8
Simple plotting errors
Dear R Users, I have 12 data frames, each of 12 rows and 2 columns. e.g. FeketeJAN MEAN SUM_ AMAZON 144.4997874 68348.4 NILE 5.4701955 1394.9 CONGO 71.3670036 21196.0 MISSISSIPPI 18.9273250 6511.0 AMUR 1.8426874 466.2 PARANA 58.3835497 13486.6 YENISEI 1.4668313 592.6 OB 1.4239179 559.6 LENA 0.9342164
2013 May 11
1
(no subject)
Hello, I am attempting to use the "classInt" package in conjunction with "rworldmap" package in R to construct a chloropleth. I want to use the fixedBreaks argument to specify given breaks. My data look like this: > head(Maji) Country waterused CC 1 Afghanistan 36 AFG 2 Albania 4 ALB 3 Algeria
2019 Mar 06
2
Crear una variable tipo factor a partir de un vector de caracteres
Hola estimados miembros de la comunidad de R Tengo un conjunto de datos, donde tengo observaciones por países y por año. Una de las variables del dataframe es el nombre del país. Queremos dividir los países, que son países africanos de acuerdo a 5 regiones: norte de africa, africa del este, sur africa, etc Yo lo que he hecho ha sido crear vectores con el nombre de cada uno de los países en cada
2020 Aug 27
4
Xapian on Android?
Friends, I would like to hear from anyone who has experience deploying Xapian on Android. I'm new to Xapian, but I know it is used by a couple partners for offline projects on Linux and Windows. Our small nonprofit, WiderNet, provides off-line access to thousands of Web sites for people who lack Internet connectivity (www.widernet.org). Over 2,000 universities, schools, health care sites,
2019 Mar 06
3
Crear una variable tipo factor a partir de un vector de caracteres
Pero eso es para crear variables binarias tipo 0-1 si el pais pertence a un determinado grupo. Lo que quiero es crear una variable de tipo factor con esos 5 niveles, sabiendo que tengo en el dataframe una variable llamada Country, con el nombre del pais. Gracias On Wed, 6 Mar 2019 at 15:27, Xavier-Andoni Tibau Alberdi < xavitibau en gmail.com> wrote: > Buenas, > > Para ello yo uso
2011 Nov 13
1
Myriam Saavedra M. Sc. Questions about maximun radius distance
Dear Mr. Baddeley   I just graduated from a Masters in Applied Mathematics on Jun19th. My thesis was about spatial distribution /a nalysis of some trees in a part of  the Congo Basic Forest. In my thesis I used your spatial package in R, and today I'm doing a more deeper study about how we choise the r distance in Function F(). I would like to be able to understand about value of rmaxdefault
2009 May 05
1
Plotting pairs of bars
Dear all, I have a matrix called combine86 which looks as follows: > combine86 Sim Mean Obs Mean Sim Sum Obs Sum AMAZON 1172.0424 1394.44604 553204 659573 NILE 262.4440 164.23921 67973 41881 CONGO 682.8007 722.63971 205523 214624 MISSISSIPPI 363.0758 142.59883 124535 49054 AMUR 143.5857 89.30434 36040 22594 PARANA
2020 Aug 27
1
Xapian on Android?
Yes. Something like Kiwix, but a different infrastructure and manifold content options. Sent from my WebTV ________________________________ From: Emmanuel Engelhart <kelson at kiwix.org> Sent: Thursday, August 27, 2020 3:13:28 PM To: Cliff Missen <missenc at widernet.org>; Xapian Discussion <xapian-discuss at lists.xapian.org> Subject: Re: Xapian on Android? On 27.08.20
2017 Jan 22
2
Problem entering BIOS - Chison Ultrasound system
Hallo sir/madam, I have a Chinese brand Ultrasound unit Ivis 60 model which had issues with booting after power fluctuations here in Congo -Africa. It is using a syslinux 3.31 which is continually giving problem when trying to enter BIOS so that I can install new files available on the usb disk. To enter bios you have to continually press "delete button" when starting the unit but no
2019 Mar 06
2
Crear una variable tipo factor a partir de un vector de caracteres
Si lo que quiero es crear una variable llamada por ejemplo region (del tipo factor) con esos 5 valores On Wed, 6 Mar 2019 at 15:41, Xavier-Andoni Tibau Alberdi < xavitibau en gmail.com> wrote: > No, No. Fíjate en el Ifelse(condición, valor si positivo, valor si > negativo). > > Si, x %in% ca entonces el valor devuelto es "ca", un factor. En caso > negativo, vamos
2007 May 19
1
individual printer setup samba 3.2.5
Hello, I'm running samba 3.2.5. I've got two printers only one of which i want the network to see. In my smb.conf global section i have: load printers = no printing = cups printcap name = cups and my printer definition: [printername] comment = network printer path = /var/spool/samba browsable = no guest ok = no writable = no printable = yes and in my network neighborhood the
2008 Mar 30
1
breaking DNID into country code, area code, and local code
Dear friends, I am wondering if there is any efficient way of extract the country code, area code, and local code into 3 different variables from one DNID that can look like 001630233-4333 or 0086213345333? International code can be 011, or 00. National code can be 0 or 1 Country code can have 2 or 3 digits Area code can have 2 or 3 digits Local num can be 7-10 digits Is there anyway to break
2010 Apr 27
2
ShortRead with BWA
Dear folks, Please welcome a newbie both to R and the mailing list :). I am currently working on a sequencing project, and heard about R as well as some of its packages for next gen sequencing, and decided to give it a try. Starting with ShortRead, I found a document (http://www.bioconductor.org/packages/2.5/bioc/vignettes/ShortRead/inst/doc/ShortRead_and_HilbertVis.pdf) which does mention