search for: nfailur

Displaying 7 results from an estimated 7 matches for "nfailur".

Did you mean: failur
2013 Dec 17
1
ggplot2: stat_smooth for family=binomial with cbind(Y, N) formula
...an I specify the formula for stat_smooth when the response is cbind(successes, failures)? The equivalent with plot (minus the confidence band) for the example I want is: data("SpaceShuttle", package="vcd") > head(SpaceShuttle, 5) FlightNumber Temperature Pressure Fail nFailures Damage 1 1 66 50 no 0 0 2 2 70 50 yes 1 4 3 3 69 50 no 0 0 4 4 80 50 <NA> NA NA 5 5 68 50 no 0...
2010 Dec 11
2
Specifying Prior Weights in a GLM
Hello R folks, I have three questions. I am trying to run a logistic regression (binomial family) where the response variable is a proportion. According to R Documentation in "a binomial GLM prior weights are used to give the number of trials when the response is the proportion of successes." However when I run my code I get the following error message: Error in
2007 Feb 06
0
Branch 'interpreter' - 15 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_image.c libswfdec/swfdec_sprite_movie.c
...263,24 @@ main (int argc, char **argv) if (!g_str_has_suffix (file, ".swf")) continue; if (!run_test (file)) - failed_tests++; + failed_tests = g_list_prepend (failed_tests, g_strdup (file)); } g_dir_close (dir); } if (failed_tests) { - g_print ("\nFAILURES: %u\n", failed_tests); + GList *walk; + failed_tests = g_list_sort (failed_tests, (GCompareFunc) strcmp); + g_print ("\nFAILURES: %u\n", g_list_length (failed_tests)); + for (walk = failed_tests; walk; walk = walk->next) { + g_print (" %s\n",...
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...263,24 @@ main (int argc, char **argv) if (!g_str_has_suffix (file, ".swf")) continue; if (!run_test (file)) - failed_tests++; + failed_tests = g_list_prepend (failed_tests, g_strdup (file)); } g_dir_close (dir); } if (failed_tests) { - g_print ("\nFAILURES: %u\n", failed_tests); + GList *walk; + failed_tests = g_list_sort (failed_tests, (GCompareFunc) strcmp); + g_print ("\nFAILURES: %u\n", g_list_length (failed_tests)); + for (walk = failed_tests; walk; walk = walk->next) { + g_print (" %s\n",...
2008 Jan 08
0
4 commits - test/.gitignore test/image test/Makefile.am test/swfdec_test_function.c test/swfdec_test_image.c test/swfdec_test_image.h test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...; - if (!run_test (name)) { - failed_tests = g_list_prepend (failed_tests, name); - } else { - g_free (name); - } - } - g_dir_close (dir); - } - - if (failed_tests) { - GList *walk; - failed_tests = g_list_sort (failed_tests, (GCompareFunc) strcmp); - g_print ("\nFAILURES: %u\n", g_list_length (failed_tests)); - for (walk = failed_tests; walk; walk = walk->next) { - g_print (" %s\n", (char *) walk->data); - g_free (walk->data); - } - g_list_free (failed_tests); - return 1; - } else { - g_print ("\nEVE...
2007 Jul 02
0
Branch 'as' - 24 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c
...t_prepend (failed_tests, name); - } else { - g_free (name); - } + tests = g_list_append (tests, test_new (name)); } g_dir_close (dir); } - if (failed_tests) { - GList *walk; - failed_tests = g_list_sort (failed_tests, (GCompareFunc) strcmp); - g_print ("\nFAILURES: %u\n", g_list_length (failed_tests)); - for (walk = failed_tests; walk; walk = walk->next) { - g_print (" %s\n", (char *) walk->data); - g_free (walk->data); - } - g_list_free (failed_tests); - return 1; + /* sort the tests by filename */ +...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...led_tests, - " %s\n", test->filename); - } - test_free (test); - } - g_mutex_unlock (mutex); - g_cond_free (cond); - g_mutex_free (mutex); - } - g_list_free (tests); - - /* report failures and exit */ - if (failures > 0) { - g_print ("\nFAILURES: %u\n", failures); - g_print ("%s", failed_tests->str); - g_string_free (failed_tests, TRUE); - return EXIT_FAILURE; - } else { - g_print ("\nEVERYTHING OK\n"); - g_string_free (failed_tests, TRUE); - return EXIT_SUCCESS; - } -} -