Displaying 4 results from an estimated 4 matches for "gdp_capita".
2003 Oct 30
1
RMySQL and '_' character in column names
Hi,
I'm using RMySQL in order to obtain data from my MySQL server. In my databases
sometimes I have columns with names that contain '_' character (ex:
'gdp_capita', 'population_total', etc...). When these names appear as the
names of the vectors in the data frame that I get, sometimes I have problems
as:
> cor(gdp_capita, population_total)
Error: object "_capita" not found
use of _ is soon to be removed.
Is there an automatic way...
2006 Aug 09
1
Joint confidence intervals for GLS models?
...confidence intervals for a linear combination of coefficients,
but only for OLS models. For example, the code below calculates the
confidence interval for the sum of the coefficient of petrol_A and the
coefficient of petrol_B:
> results <- lm(all_rural_count_capita ~ petrol_A + petrol_B +
gdp_capita)
> estimable(results,cm=c(0,1,1,0),conf.int=0.95)
However, the estimable function does not seem to work for GLS objects,
as shown below. The estimable documentation confirm that the object
must be one of the following: lm, glm, lme, lmer.
> results.gls <- gls(all_rural_count_capita ~ pe...
2017 Sep 07
0
ISO3 code to 7 continents names
> On Sep 7, 2017, at 12:21 PM, Miluji Sb <milujisb at gmail.com> wrote:
>
> df is a data frame consisting of one variable (iso3 codes) such as
>
> USA
> RUS
> ARG
> BGD
> ITA
> FRA
>
>
> Some of these iso3 codes are repeated and I would like the corresponding continent name, the countrycode package does not seem to distinguish between North and
2017 Sep 07
2
ISO3 code to 7 continents names
df is a data frame consisting of one variable (iso3 codes) such as
USA
RUS
ARG
BGD
ITA
FRA
Some of these iso3 codes are repeated and I would like the corresponding
continent name, the countrycode package does not seem to distinguish
between North and South America. Thanks.
Sincerely,
Milu
On Thu, Sep 7, 2017 at 9:00 PM, David Winsemius <dwinsemius at comcast.net>
wrote:
>
> >