Displaying 4 results from an estimated 4 matches for "afganistan".
Did you mean:
afghanistan
2009 Mar 19
1
simple "for loop" program for merging datasets?
Dear R community,
I would like to merge two datasets based on the categorical predictor “country”.
Dataset A:
Country Measure1
Afganistan 1
Afganistan 1
Russia 5
Poland 3
Poland 2
Dataset B:
Country Measure 2
Russia 2
Afganistan 10
Poland 15
My program does not work:
Country_A<-A$Country
Country_B<-B$Country
Measure2<-B$Measure2
for(...
2019 Feb 19
2
Cambiar el formato de datos
...ordenas (no hacen
falta comillas)...
Lo ordenará alfabéticamente.
Saludos,
Carlos Ortega
www.qualityexcellence.es
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...
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
2007 Dec 06
8
Default value for country_select
Using Country_select how to have default valur set to United States.
I have a select drop down in my Ui to display the Country names.
But i need United tates to be selected as default value.
I use country_select to populate the country names.
This is how i use <%= f.country_select :country, :selected=>''United
States'' %>
i also tried
<%= f.country_select :country,