Displaying 20 results from an estimated 20 matches for "albania".
2019 Feb 19
2
Cambiar el formato de datos
Estimados miembros de la comunidad de R
Tengo el siguiente formato en un fichero csv que corresponde a datos de la
población para un conjunto de países y para un rango amplio de años.
Pais 1960 1961 1962 1963
Albania vvvvv vvvv
Algeria vvvvv vvvv
Me gustaría pasarlo a la siguiente forma
Pais Año Poblacion
Albania 1960 vvv
Albania 1961 vvvv
Albania 1962
Albania 1963
Algeria 1960
.....etc
Alguna pista de como implementarlo en R. Muchas gracias de antemano
Saludos
A...
2019 Feb 19
2
Cambiar el formato de datos
> gather(pobla, key = year, value = totpop, year60:year63)
Country year totpop
1 Afghanistan year60 8996351
2 Albania year60 1608800
3 Algeria year60 11124888
4 Andorra year60 13411
Gracias Carlos
Antonio
On Tue, 19 Feb 2019 at 12:54, Carlos Ortega <cof en qualityexcellence.es>
wrote:
> Sí, tienes varias formas.
>
> Mira la función "gather()" del paquete "tidyr"...
2019 Feb 19
2
Cambiar el formato de datos
...El mar., 19 feb. 2019 a las 13:47, Antonio Rodriguez Andres (<
antoniorodriguezandres70 en gmail.com>) escribió:
> Carlos, para poner despues del gather, las observaciones e Afganistan para
> todos los años consecutivos, alguna pista?
>
> Afghanistan year60 8996351
> 2 Albania year60 1608800
> 3 Algeria year60 11124888
> 4 Andorra year60 13411
> 5 Angola year60 5643182
> 6 Afghanistan year61 9166764
> 7 Albania year61 1659800
>
> On Tue, 19 Feb 2019 at 13:31, Antonio Rodriguez Andres <
> antoniorodriguezandres70 en...
2011 Jun 16
1
Merging rows in a dataframe
...fghanistan Department of Defense Security Assistance 15,000,000 15,000,000
Afghanistan Narcotics Control NA 5,000,000
Afghanistan Peace Corps NA 7,500,000
Albania Child Survival and Health NA 25,000
Albania Department of Defense Security Assistance NA NA
Albania Narcotics Control NA 5,000
Albania...
2011 Aug 04
1
Running a column loop through the Moran.I function.
...ed with a header and then countries
down the first column. I'm trying to run a spatial autocorrelation for each
column or attribute in the "attri" dataframe. The process for running this
on a single column is as follows:
example of "coord.csv" dataframe:
country, lat, long
Albania, 41.00, 20.00
Algeria, 28.00, 3.00
Angola, -12.30, 18.30
example of "countryattri.csv" dataframe:
country, GDP, Population
Albania, 100000, 20000
Algeria, 1200000, 300000
Angola, 1300000, 300000
> Locate<-read.csv("coord.csv", header = TRUE, sep = ",")
>...
2008 Sep 21
1
diff() for panel data
Hello, everyone!
I'd like to find out how I can do first log differences in a panel?
(The Penn World Table data that's available in the PWT package)
The regular diff() function ignores the country/index/"panel unit",
with depressing results.
A second request, how can I best "filter" the data (e.g. generate a
data frame with the data for a single country or a single
2009 Mar 18
1
lm function (PR#13608)
....446
149 DJIBOUTI .48 .516
150 EGYPT .48 .708
151 BURKINAFASO .47 .37
152 ETHIOPIA .47 .406
153 LATVIA .47 .855
154 LITHUANIA .47 .862
155 UGANDA .47 .505
156 ALBANIA .46 .801
157 MALAWI .46 .437
158 CHAD .45 .388
159 IVORYCOAST .45 .432
160 NIGER .45 .374
161 ERITREA .44 .483
162 RWANDA .44 .452
163 BULGARIA .43 .824
164...
2013 May 11
1
(no subject)
...assInt" 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 52 DZA
4 Angola 0 AGO
5 Antigua 10 ATG
6 Argentina 4 ARG
and when I attempt,
> classInt <- classIntervals(ww[["waterused"]], n=5, style="fixed",...
2011 May 29
1
Hello!
Hi, I'm a student studing for Math. & Infor. Ing. in Tirana,Albania and a have a final project in R to finish in a week, so I badly need your help...
The topic of the project is "Hermite Interpolation" and a I have allready done a script that finds the approximation in a certan point x, H(x) ~f(x) but i want to find the value of his derivative H'(x)~...
2008 Jul 26
1
Marking Interval Length
Hi everyone,
I'm trying to break down data into intervals because I need to analyze
data according to the intervals between each change in value. What I
have done is merged the attached data files, and filled in the missing
values this way:
> fmt<-"%m/%d/%y"
> dd<-read.csv("Desktop/R/CDSdate.txt")
> dd$Date<-as.Date(dd$Date, fmt)
>library(zoo)
2007 Sep 18
1
htb on Gigabit Interfaces
...ce an increased number of packets in the htb
scheduler queue .
With the tc ( htb disabled ) the line rate of nearly 100 Mb.s of the
customer can be reached easily
Is there any special tunning or conf that should be done considering the
gig interfaces in place
Thank you
Hysen Hoxha
AlbTelecom
Albania
2010 Sep 13
1
Create a time-series from cross-sectional data that has each year as a separate column
...d to extract data from for the entire time
period. However, the years are separated by columns instead of rows, as is
usually the case in R. This is what it looks like:
> str(laborstafinMFBA)
'data.frame': 152 obs. of 39 variables:
$ COUNTRY : Factor w/ 164 levels "Albania","Algeria",..: 2 4
7 8 9 10 11 11 12 13 ...
$ CODE.COUNTRY : Factor w/ 163 levels "AE","AG","AI",..: 44 7 8 5
12 11 10 10 13 23 ...
$ SOURCE : Factor w/ 7 levels "Administrative reports",..:
3 3 3 3 3 3 3 3 3 3 ......
2007 Mar 26
1
Handling Multiple Select Lists
...tiple select. I have pasted part of the form and the
function below.
Thanks for any pointers,
Vince
// Example selectbox
<select name="countryarray[]" multiple="multiple">
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="GY">Alderney</option>
<option value="AS">American Samoa</option>
<option value="AD">Andorra</option>
<option value="AG">Antigua and Barbuda</option>
<option value="AM"&...
2006 Oct 31
0
6217588 New Keyboards software needed for S11 and S10 U2
Author: dm89450
Repository: /hg/zfs-crypto/gate
Revision: fe0bf8e57ac4df0265e4c3d932b3183d06de3f88
Log message:
6217588 New Keyboards software needed for S11 and S10 U2
Files:
create: usr/src/cmd/loadkeys/type_6/albania
create: usr/src/cmd/loadkeys/type_6/belarus
create: usr/src/cmd/loadkeys/type_6/bulgaria
create: usr/src/cmd/loadkeys/type_6/croatia
create: usr/src/cmd/loadkeys/type_6/iceland
create: usr/src/cmd/loadkeys/type_6/maltauk
create: usr/src/cmd/loadkeys/type_6/maltaus
create: usr/src/cmd/loadkey...
2007 Jul 23
1
Active Directory
...configure the Cent OS to use it as Active
Directory or something like this, and to open all the existing users
there, and then to shut down the win2000 Server and to Activate the
CentOS as domain controller?
Can someone help me in this?
Thanks
Regards
Adriatik ALLAMANI
PO. Box: 253/1
Tirana / Albania
Telephone: 00 355 4 257 368
Fax: 00 355 4 250 926
Email: aallamani at ert.gov.al
2007 Jan 19
2
2.6.17 kernels and equalize patch
...dev eth0.41 weight 1
But the traffic towards the $DNET does not seem equalized at all
It goes out allways to the same interface
Is this a problem of route caching or the equalize patch needs to be
applied to 2.6.17 kernel , or then I am missing something ???
Thanks a lot
Hysen Hoxha
Albtelco
Albania
2011 Aug 16
3
invalid multibyte string at '<a0>'
Hi
I have a problem reading files from Windows... these files have, instead
of NA on last column. special ending '<a0>' which makes problem... This
problem does not appear while reading the same file in Windows!
Try:
read.csv("http://dl.dropbox.com/u/6113358/prob.csv")
Could you please tell me if you also have this problem? I have tried
either by cleaning the file on
2009 Apr 06
1
political maps world maps in R, wrld_simpl
...de:
#########################################################
### plot the world map
patramp = colorRamp(c(rgb(0,0,.7),"red"))# my personal ramp color palette
library(maptools)
load(url("http://spatial.nhh.no/R/etc/TM_WORLD_BORDERS_SIMPL-0.2.RData"))
country2 = c("Albania", "Argentina", "Australia", "Austria", "Belgium",
"Belarus", "Brazil", "Bulgaria", "Canada", "China", "Colombia",
"Croatia", "Denmark", "Egypt", "United.Arab.E...
2018 May 13
0
Dataverse (reading files with .tab and .7z suffixes)
Ilio Fornasero writes:
> Yet, I am at this point.
>
>
>
>
> ## 01. Finding the dataverse server and making a search
> Sys.setenv("DATAVERSE_SERVER" =3D "dataverse.harvard.edu")
> dataverse_search(".Hunger")
>
>
> ## 02. Loading the dataset (in this example, I have chosen the word ".Hunge=
> r" to get
> # one list and
2008 Jul 24
1
Formatting Syntax when Merging
Hi,
I've merged the attached two data sets, generating a final merged data
set, but when I review this merged data, the dates are not in the
correct order. I know that this can be solved by using something like
fmt<-"%m/%d/%y", but where should this go in the commands below?
> Countrydata<-read.table("Desktop/R/Countrydata.txt", head=T, sep="\t")