Displaying 20 results from an estimated 1727 matches for "capitalization".
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
Martin Maechler has suggested that I post this comment to r-devel. It was
originally posted to bioconductor.
---------------------------------
I'd like to raise the issue of a capitalization convention for naming
objects in R. Almost everything in R used to be lowercase 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,...
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()?
Hi,
from example(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
2014 Oct 13
16
[LLVMdev] RFC: variable names
...r disambiguates variables from types. For instance, the following are ambiguous using LLVM’s conventions:
Xxx Yyy(Zzz); // function prototype or local object construction?
Aaa(Bbb); // function call or cast?
3. Allows name re-use. Since types and variables are both nouns, using different capitalization allows you to use the same simple name for types and variables, for instance:
Stream stream;
4. Dubious history. Years ago the LLVM coding convention did not specify if variables were capitalized or not. Different contributors used different styles. Then in an effort to make the style more...
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
2013 Nov 06
6
Feature: make capitalization optional in *humanize*
According to the documentation<http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-humanize> of
ActiveSupport::Inflector:
*humanize*(lower_case_and_underscored_word)
Capitalizes the first word and turns underscores into spaces and strips
a trailing “_id”, if any.
* Example: humanize("employee_salary") # => "Employee salary"*
I would
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