search for: n_total

Displaying 5 results from an estimated 5 matches for "n_total".

Did you mean: _total
2008 Jul 16
5
''$'' placeholder naming can confuse your runner
Hi guys, I''m facing a strange behavior that smells like a bug. consider this scenario: Scenario: I''m cool Given that I am cool 4 times out of 7 and this step: Given("that I am cool $n times out of $n_total") do |n, n_total| ... end When running my story, this step is considered as PENDING. If I change the name of the second placeholder to $total, the step runs fine (as it should, given that it''s implemented). My suspect is that when placeholders share a common prefix, the step canno...
2011 Apr 28
1
Undefined columns selected
This is part of my program. I am getting an error, that I cannot figure out, any help would very much appreciated, thanks. # subset variables arc <- arc[,c("SNAP", "code", "ncode", "var", "n_total")] Error in `[.data.frame`(arc, , c("SNAP", "code", "ncode", : undefined columns selected arc$N_eff <- with(arc, ifelse(var > 1, n_total, var * n_total)) Error in storage.mode(test) <- "logical" : object 'var' not found
2009 Apr 07
0
Comparing Sample / Population Geographic Distributions
I am trying to confirm that the sample is not different from the population with respect to geographical respresentation for the following data: region population sample n_total s_total 1 north 1244 232 9077 1032 2 south 4333 100 9077 1032 3 east 1500 200 9077 1032 4 west 2000 500 9077 1032 For example the first line of this data shows that our sa...
2015 Jul 14
4
Conservar el nombre de la variable entre varias funciones: ejemplos de resultados
...X), xlab=X);rug(get(X)) boxplot(get(X), main=c("Diagrama de caixa de", X), ylab=X);rug(get(X),side=2) qqnorm(get(X), main=c("Diagrama Q-Q de", X));qqline(get(X)) cat("\n") par(OP) ESTA_1<-data.frame(Variable = X, N_total = length(get(X)), N_valids = sum(!is.na(get(X))), N_desconeguts = sum(is.na(get(X))) ) ESTA_2<-data.frame(Variable = X, N = sum(!is.na(get(X))), Mitjana =...
2009 Jul 28
5
Summarising Data for Forrest Plots
I tried to post this a few times last week and it seems to have got stuck somehow so I'm trying from a different email in the hope that works. If somehow this has appeared on the list 20 tiems and I never saw any of them I apologize ;-) I'm basically an R-newbie. But I am VERY computer literate. But this has me stumped... All the examples for using the rmeta package to create a