search for: capitalized

Displaying 20 results from an estimated 1726 matches for "capitalized".

2009 Nov 27
1
problem with "dynformula" from "plm" package [RE-POST]
Hello list, I'm following the paper (http://www.jstatsoft.org/v27/i02/paper) on how to use "plm" to run panel regressions, and am having trouble with what I believe should be something very basic. When I run the command (p.9 in the paper): R> dynformula(emp~wage+capital,log=list(capital=FALSE,TRUE),lag=list(emp=2,c(2,3)),diff=list(FALSE,capital=TRUE)) I see: emp ~ wage +
2006 Mar 04
6
Determine if a value is an instance of String , or Array , or...
each loop inside a mixed hash I need to determine if the value is an instance of String How ? hash.each do |k,v| if v ( instance of ) String hash[ k ] = v.capitalize enf end
2003 Mar 26
1
formal methods and classes and capitalization conventions
...ase but recently there is increasing use of mixed upper/lower case to define names. There is potential for using the capitalizations to make code more self explanatory, but only if a consistent system is used. In Java, capitalization is used to indicate the type of object. Names of methods are capitalized except for the first word (e.g., geneNames), names of classes are fully capitalized (e.g., ExprSet), names of data objects are all lowercase, and names of libraries have their own conventions but normally with lowercase letters. A programmer can recognize the type of object in many cases simply...
2008 Aug 15
1
Vectorization of duration of the game in the gambler ruin's problem
Hey fellas: In the context of the gambler's ruin problem, the following R code obtains the mean duration of the game, in turns: # total.capital is a constant, an arbitrary positive integer # initial.capital is a constant, an arbitrary positive integer between, and not including # 0 and total.capital # p is the probability of winning 1$ on each turn # 1-p is the probability of loosing 1$ # N
2011 Jul 14
1
Correct behavior of Hmisc::capitalize()?
...of the Hmisc package (v 0.8.3) you get: > capitalize(c("Hello", "bob", "daN")) [1] "Hello" "Bob" "daN" Is that "daN" correct? If so, then this behavior that only *all lowercase strings*, which the code indicates, will be capitalized is not documented. > Hmisc::capitalize function (string) { capped <- grep("^[^A-Z]*$", string, perl = TRUE) substr(string[capped], 1, 1) <- toupper(substr(string[capped], 1, 1)) return(string) } <environment: namespace:Hmisc> There are also some misspe...
2014 Oct 13
16
[LLVMdev] RFC: variable names
...tions to change the naming of variables to start with a lowercase letter. This should not be a discussion on the pain of such a transition, or how to get from here to there, but rather, if there is a better place to be. My arguments for the change are: 1. No other popular C++ coding style uses capitalized variable names. For instance here are other popular C++ conventions that use camelCase: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml http://www.c-xx.com/ccc/ccc.php http://geosoft.no/development/cppstyle.html And, of course, the all-lower-case conventions (e.g. C++ ARM...
2010 Mar 18
1
capitalize and utf8 international symbols
Hi there, Being a relatively happy Rails user I suddenly noticed that string#capitalize and friends do not play well with international characters well. Sample console session: $ ./script/console Loading development environment (Rails 2.2.3) >> $KCODE => "UTF8" >> "яблоко".capitalize => "яблоко" Where "Яблоко" was expected (Russian word
2010 Mar 16
2
plm "within" models: is the correct F-statistic reported?
Dear R users I get different F-statistic results for a "within" model, when using "time" or "twoways" effects in plm() [1] and when manually specifying the time control dummies [2]. [1] vignette("plm") [2] http://cran.r-project.org/doc/contrib/Farnsworth-EconometricsInR.pdf Two examples below: library("AER") data("Grunfeld", package =
2003 Dec 01
0
No subject
8. You have join to this mail a text file with the few characters that don't = match. On Swat, it's easier. = I use Swat from my win98 box. When I write a share comment with some chara= cters, there are not translated properly inside smb.conf file. = When I read my smb.conf file, I noticed that for example a cp1252 characte= r like (0xC1) has been changed onto an ISO8859-15 character
2013 Apr 08
2
How can I extract part of the data in a panel dataset?
Taking the Grunfeld data, which is built-in in R, for example, (1)How can I construct a dataset (or dataframe) that consists of the data of all firms in 1951? (2)How can I calculate the average capital in each form over the period 1951-1954? What I can imagine is to categorize the data by firm, and then select the data between 1951 and 1954 for each firm, but how can I do it? Thanks, Miao
2010 Dec 15
3
How to apitalize leading letters & else of personal names?
Dear R world, Do you know about a function that would capitalize in the correct manner first and family names? I found in the cwhmisc only the CapLeading function, but it just does not do the job, taking care only to capitalize the first letter of a word. I am looking for a function that would recognize " |'|Mc|-" and capitalize the first letter following these characters. An
2004 Apr 20
1
directory permissions & smb.conf
Hi there guys. I'm new to the list. I have googled and yahooed, and been to several other mailing list to see if I can find help there. But with no luck. I'm trying to setup a share for several departments for our company. So when I installed RedHat 9.0 I created a 30Gb partition. Please bare with me as I explain what I would like to do. I have a directory drwxrwx---- 5 root
2006 Feb 01
2
usernames with capitals
Hi, im new to the list, so bear with me if this was discussed earlier! For historical issues we need to maintain usernames in all capitals ie. CD our test environment is running centos 3.4 - our live environment is on redhat 8.0 the useradd program won't allow me to create a new user with capitals, and usermod wont change a lower case user name to upper case! What is my options now ? - do
2002 Nov 05
0
login name - capital and lower case
Hello, I am wordering how Samba treats the user/account name of a logged in W95 and/or W9x Client? I have the following problem: We want to switch our file- and printer services from netware to samba 2.2.5. The client need also to connect to a netwarebased oracle db 7.x. When I log in to Samba as PDC with capital letters in the username box I am able to use the Software System which is based
2013 Jun 08
1
reading a character translation table into R
I have a txt file (attached) that defines equivalents among characters in latin1 (or iso-8859-1), numeric &#xxx; codes, HTML entities and latex equivalents. A portion of the file is shown inline below, but may not be rendered well in this email. I'd like to read this into R to use as a character translation table, but am stuck on two things: - The 5 fields in the file are
2005 Apr 11
6
How to change letters after space into capital letters
What is the easiest way to change within vector of strings each letter after a space into a capital letter? E.g.: c( "this is an element of the vector of strings", "second element" ) becomes: c( "This Is An Element Of The Vector Of Strings", "Second Element" ) My reason to try to do this is to get more readable abbreviations. (A suggestion would be to
2007 Dec 07
4
capitalizing an attribute - view, controller, or model?
The users will enter students names on forms. How do I intercept the first and last names and have them stored capitalized when the user inputs them in lower case? Do I mess with the form html, skipping form_for helpers and using conditional clauses in the view? Do I need to separate out the individual attribute and update it separately in the controller actions that save/updates the record?(instead of the blanket o...
2013 Nov 06
6
Feature: make capitalization optional in *humanize*
...erscores into spaces and strips a trailing “_id”, if any. * Example: humanize("employee_salary") # => "Employee salary"* I would like to submit a pull request for *humanize *to accept a second optional parameter that would allow the string to be *humanized without being capitalized*. *humanize*(lower_case_and_underscored_word, capitalize = true) Turns underscores into spaces and strips a trailing “_id”, if any". Capitalizes the first word if capitalize=true * Example: humanize("employee_salary", false) # => "employee salary"* * * I have...
2014 Oct 13
5
[LLVMdev] RFC: variable names
On Mon, Oct 13, 2014 at 4:25 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > On Mon, Oct 13, 2014 at 4:00 PM, Chris Lattner <clattner at apple.com> wrote: > >> On Oct 13, 2014, at 3:44 PM, Chandler Carruth <chandlerc at google.com> >> wrote: >> > I actually have a particular allergy to member variable names and >> function names having
2004 Jan 19
1
Capital Letters - Charset problem
Hello, I have a strange problem with samba 3.0.1 on suse 8.1, when I mount an NT shared directory the accented capitals letters are not recognised. Everything works fine except for files having accented *capitals*. My smb.conf has: unix charset = ISO-8859-15 display charset = ISO-8859-15 dos charset = CP850 unicode = No I tried compiling libiconv and recompiling samba with it, but with no