similar to: Creating a frequency table for binomial varaible

Displaying 20 results from an estimated 600 matches similar to: "Creating a frequency table for binomial varaible"

2011 Jan 25
2
barplot with varaible-width bars
I would like to produce a bar plot with varying-width bars. Here is an example to illustrate: ww <- c(417,153,0.0216,0.0065,556,256,0.0162,0.0117, + 726,379,0.0358,0.0501,786,502,0.0496,0.0837, + 892,591,0.0785,0.0795) yy<-t(t(array(ww,c(2,10)))) barplot(yy[,2*1:5],las=1,space=c(.1,.5),beside=T) produces a barplot of 5 pairs of bars that are of equal width
2007 Jan 26
2
Use a text variable's value to specify another varaible?
Greetings guRus -- If a variable, e.g., 'varname', is a character string, e.g. varname <- "datavector", and I want to apply a function, such as table(), to datavector, what syntax or method will do so using only the variable varname? This seems similar to indirect addressing, but I have not seen a method for it in the R manuals. Is there a general name for such indirect
2010 Nov 02
2
Ring Freq
Hi I'm sorry for the my trivial quest. I Have asterisk 1.4 with TDM 400 with FXO and FXS, and works fine from several months. Now I want to connect a device to TDMFXS that want a ring frequecy of 25 hz to activate: i am italian, and usually the ring freq is 20 hz. The other time (I have used that device several times with other asterisk installation) I have modified /etc//modprobe.conf and
2012 Apr 21
1
[LLVMdev] Little Problem about Variable memory allocating way in function
As I want to generate code for the varaible declaration, at first, I thought AllocInstruction()could implement this. However, the name "alloc" seems to allocate memory from heap memory.and the local variable in function should stay at stack memory. In which way did llvm allocate memeory to AllocInstruction() ? Would the memory allocated by AllocInstruction() be recycled back? If not
2012 Nov 25
5
bbmle "Warning: optimization did not converge"
I am using the Ben bolker's R package "bbmle" to estimate the parameters of a binomial mixture distribution via Maximum Likelihood Method. For some data sets, I got the following warning messages: *Warning: optimization did not converge (code 1: ) There were 50 or more warnings (use warnings() to see the first 50)* Also, warnings() results the following: *In 0:(n - x) : numerical
2006 Feb 10
7
convert rails object to javascript variables
Am i a total idiot to try and parse out a rails object for javascript in this way? <% for i in interface_items[0].attributes %> var <%= i[0] %> = "<%=h( i[1] )%>" <% end %> Am I missing something really obvious? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Apr 25
2
how can I access a class variable outside of the class???
Hi we wanted to access a class varaible from outside of the same class, like class klass @@var1 end we found out we can not use the class variable like this: klass.var1 we have to create a class function like class klass @@var1 def var1 return @@var1 end end If anyone know how to access a class variable directly without passing by a function??? Thanks you very much
2006 Mar 01
4
link_to_remote, doesn''t receives params?????
Hi, I''m using link_to_remote to trigger an ajax zone, but depends on a varaible, the new zone has different features. before I has a button inside a form. so when I click on the button, I get the value of the variable inside "params". but since I use link_to_remote now, I don''t get any value from params anymore.... Is there some way I can get the data inside a form
2006 Jan 24
3
what this line means exactly? (@@active_connections ||= {})
Hi, I have problem to understand this line does exactly? this is from the class ConnectionSpecficication, methode "active_connections" def self.active_connections #:nodoc: if allow_concurrency Thread.current[''active_connections''] ||= {} else @@active_connections ||= {} end end what the line "@@active_connections ||= {}" means exactly? as I
2011 Mar 14
2
[LLVMdev] How to load a data from the address of unsiged long type
Now I have an address that present in a unsigned long address like the following format: Value* addr = CONST(0xc0008000) But I do not know how to read the data from the above addr varaible. I tried the following three kind of code: 1. Code: Value* addr = CONST(0xc0008000); Value* data = new LoadInst(addr, "", false, bb); Error: Segmentation fault 2. Code(
2016 Mar 10
2
Introduction and Doubts
Tf-idf is most used used weighting scheme is easy to understand and has been used in other frameworks like lucene and many other places. okapi bm25(implemented in xapian) is theoretically better/improved measure than tf-idf and i am looking into various other weighting scheme which are there in xapian or can be implemented like TF-ICF(term frequecy inverse corpus frequency),TF-RF(term
2012 Nov 19
2
Ben Bolker's '‘emdbook’ Package , rbetabinom
Hello, I am using rbetabinom ( to generate beta binomial random variables) function available in the "emdbook"package written by Professor. Ben Bolker for my research study. I have no questions with this function. However, I am looking for the theoretical method/algorithm of the function "rbetabinom " . Morris (1997), American Naturalist 150:299-327 is given as the reference
2011 Feb 18
3
recoding a data in different way: please help
Dear R users The following question looks simple but I have spend alot of time to solve it. I would highly appeciate your help. I have following dataset from family dataset : Here we have individuals and their two parents and their marker scores (marker1, marker2,....and so on). 0 means that their parent information not available. Individual Parent1 Parent2 mark1 mark2 1 0 0
2008 Jun 26
6
ActiveRecord search Query Question
I''m not using ferret because the search I need is not that complicated. I created a basic active record search. I''m using some code from the pragmaticprogrammer book. This is the issue: I can get the single keyword to work fine when entered into the search box, but when you put to keywords separated by a space the search returns no results. It makes sense since the function
2004 Mar 07
2
Excel files
Hello, I was trying to import data from an Excel file. After I imported the data, I was trying to make a scatter plot. The X axes variable is a time variable, which occupies two columns, one is date, another one is time. Example 21-Apr-03, 4:10 PM. My qestion is: 1. How can I access the data of certain column? I mean how can I refer it in R? 2. How can I make the two column character
2006 Jun 21
1
Adding routes via plugins
Hi, I''m attempting to add a route via a plugin. I attempted to add the following to my init.rb: myroute = ActionController::Routing::Routes.connect "boo2", :controller=>''plugin'', :action=>''index'' puts "path=#{myroute.path}" myroute.options.keys.each do |k| puts "#{k}=#{myroute.options[k]}" end The newly
2006 Apr 17
1
interaction terms in formula of lm or glm
I would like to include pairwise interaction terms for lm(). For example, I want to include the quadratic term of variable "V3". > my.formula y ~ 1 + V1 + V3 + V3:V3 > my.data y V1 V2 V3 1 31 1 42 140 2 32 0 43 120 3 33 0 57 150 4 34 0 55 132 > foo <- lm(my.formula, data = my.data) > foo$coefficients (Intercept) V1 V3 29.47368421 -2.15789474
2006 Jul 04
1
Column Selection
Hi All, I have 500 variables time series data for 10 years data. I have sorted 10 out of them according to them. Now my group is giving character string. But i want to fetch those varaible data from theoriginal data. How can i do this? Suppose, total is the data of 500*1500 data. Now i sort 10 variables. >grp >"A41" "A48","A489" Now how can i fetch only
2006 Nov 03
2
one row matrix
Hi, when I assign a one row matrix to another variable, then somehow R automatically convert that varaible into a list. For example: > a = matrix (12, 3, 4) > b = a[1,] > b [1] 12 12 12 12 Is there a way to enable R automatically make b as a one row matrix , rather than explicitly assign like matrix (b, ncol=1). I have come across a couple of time, that when I try to check how many
2011 Dec 21
4
MS-DOS Batch File Commands
I'm trying to get the AndroidSDK going under Wine. There are problems with the MS-DOS commands (for example, the /D option with the 'For' command and the use of options to apply to the Path environment varaible (to prevent space being used as a delimiter between path folders) it uses in the supplied batch files it calls from a supplied .exe file. I presume that the cmd.exe (in