search for: cntry

Displaying 8 results from an estimated 8 matches for "cntry".

Did you mean: entry
2010 Aug 31
1
anova and lm results differ
Dear all I have found that the two "equivalent" commands do not produce the same results. 1. (I wrote this command by hand, this is what I would do usually) >summary(aov(eduyrs ~ cntry * edf, data=ESS1)) Df Sum Sq Mean Sq F value Pr(>F) cntry 1 257 256.65 21.2251 4.243e-06 *** edf 4 11010 2752.42 227.6296 < 2.2e-16 *** cntry:edf 4 24 6.03 0.4987 0.7367 Residuals 3205 38754 12.09...
2017 Jun 18
2
Problema con Histograma con porcentajes usando ggplot
...leido los datos, desde SPSS y aquí tienen la base de datos y que tipo de objetos se han generado, y tambíen la distribución por pais de la muestra. No he usado los weights del survey todavía, solo estoy explorando los datos. class(ess) ## [1] "lbl_df" "data.frame" frq(ess$cntry) ## # Country ## ## val label frq raw.prc valid.prc cum.prc ## 1 Austria 1795 4.47 4.47 4.47 ## 2 Belgium 1769 4.40 4.40 8.87 ## 3 Switzerland 1532 3.81 3.81 12.68 ## 4 Czech Republic 2148 5.35 5.35 18.03 ## 5...
2017 Jun 19
2
Problema con Histograma con porcentajes usando ggplot
Creo que esto me da para DK, y luego veré como aplicar el barplot ess %>% filter(cntry %in% c("DK")) %>% count (stflife) %>% mutate (freq = (n /sum(n)*100))%>% print 2017-06-18 19:01 GMT-05:00 Antonio Rodriguez Andres < antoniorodriguezandres70 en gmail.com>: > He conseguido el total para un país, pero no me deja usar percent = > count() /sum(coun...
2017 Jun 18
2
Problema con Histograma con porcentajes usando ggplot
...de la >>>> muestra. No he usado los weights del survey todavía, solo estoy explorando >>>> los datos. >>>> >>>> class(ess) >>>> >>>> ## [1] "lbl_df" "data.frame" >>>> >>>> frq(ess$cntry) >>>> >>>> ## # Country >>>> ## >>>> ## val label frq raw.prc valid.prc cum.prc >>>> ## 1 Austria 1795 4.47 4.47 4.47 >>>> ## 2 Belgium 1769 4.40 4.40 8.87 >>>> #...
2017 Jun 18
3
Problema con Histograma con porcentajes usando ggplot
...de objetos se han generado, y tambíen la distribución por pais de la >> muestra. No he usado los weights del survey todavía, solo estoy explorando >> los datos. >> >> class(ess) >> >> ## [1] "lbl_df" "data.frame" >> >> frq(ess$cntry) >> >> ## # Country >> ## >> ## val label frq raw.prc valid.prc cum.prc >> ## 1 Austria 1795 4.47 4.47 4.47 >> ## 2 Belgium 1769 4.40 4.40 8.87 >> ## 3 Switzerland 1532 3.81 3.81 12.68 &gt...
2008 Jul 31
1
Rearranging Data
...# not the last split # subtract 1 day from start of next range .df$date[tail(.indx, 1) + 1] - 1 - .df$date[.indx[1]] } else { .df$date[tail(.indx, 1)] - .df$date[.indx[1]] } }) }) # output the mean and median t(sapply(out, function(.cntry) c(number=length(.cntry), mean=mean(.cntry), median=median(.cntry)))) I wanted to know if there is a way to rearrange data from IKEALASTmod so that we can use something like the code above. The new problem is that instead of date and country only, there is now date, country and product. So is i...
2017 Jun 19
3
Problema con Histograma con porcentajes usando ggplot
...Bellosta <cgb en datanalytics.com> > *CC: *r-help-es <r-help-es en r-project.org> > *Asunto: *Re: [R-es] Problema con Histograma con porcentajes usando ggplot > > > > Creo que esto me da para DK, y luego veré como aplicar el barplot > > ess %>% > filter(cntry %in% c("DK")) %>% > count (stflife) %>% > mutate (freq = (n /sum(n)*100))%>% > print > > > > 2017-06-18 19:01 GMT-05:00 Antonio Rodriguez Andres < > antoniorodriguezandres70 en gmail.com>: > > He conseguido el total para un país, pero no me...
2006 Jun 14
0
fclustIndex(package e1071) error: LaPack Routine dgesv
...answer to my question: My code is as follows: library(e1071) Dataset <- read.dta("/Users/chris/Desktop/Fuzzy Cluster.dta", convert.dates=TRUE, convert.factors=TRUE, missing.type=TRUE, convert.underscore=TRUE, warn.missing.labels=TRUE) row.names(Dataset) <- as.character(Dataset$cntry) Dataset$cntry <- NULL cl <- cmeans(Dataset, 4, 20, verbose=TRUE, method="cmeans") resultindexes <- fclustIndex(cl, Dataset, index= "all") resultindexes I am receiving the following error message: ERROR: Lapack routine dgesv I have tried running the example for fclu...