Displaying 20 results from an estimated 121 matches for "bal".
Did you mean:
al
2005 Apr 16
2
String in data frame
...;- read.table("data.xls", header = T);
what i get for d is a table of 2 columns: num and name:
the one for d$num is just a normal list without any levels with it, and this is what i want. but the second d$name is a list with a levels with it.
the list i have for d$name is: d$name = (bal bal bal bal bal bal), levlels:bal, however, when i want to have for following code, something different happens:
namelist <- NA;
a <- d$name[1]; #this will outputs a = bal, lelvels:bal
namelist <- c(namelist, a); #this does not outptu (NA, bal), instead it outputs (NA, 1), if i keep #addi...
2012 Nov 03
2
reorder() in the latticeExtra library
Hello all, thanks for your time and help. Below are my commands, and it
generates a really nice plot, however I am not happy with the reorder()
function. I would like the order to be the same as they appear in the
genotype variable "genotype <- c("CJ1450 NW 4/25/12","CJ1450 BAL
4/25/12","CJ1450 NW 4/27/12","CJ1450 BAL 4/27/12","CJ1721 NW
4/27/12","CJ1721 BAL 4/27/12","CJ1721 NW 4/29/12","CJ1721 BAL 4/29/12" )"
and not as it is currently coded.
Is there any way to turn off the reorder, or set it up so t...
2007 May 29
5
Trouble defining a stub method for a controller
Hello,
Not sure if I am doing something really wrong (let''s not say
stupid for now), but I haven''t been able to stub a controller method
like:
controller.stub!(:logged_in?).and_return(true)
Please help, this is driving me nuts ;-)
--
An?bal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2011 Nov 13
2
Running totals
I have a table which looks like this:
ACC BAL
1 hal -171245.33
2 opn -50487.63
3 pga 213440.38
4 prt 0.18
5 rbs 8292.54
How do I create a column which shows the running totals of the BAL columns?
[[alternative HTML version deleted]]
2012 Dec 04
5
question about sum of (column) elements in R
...18
3 17
3 16
3 27
3 33
4 11
4 8
4 19
4 16
4 9
In this data file I would like to sum the numbers of second column which
belong to the same number in the first column.
So the output would be:
0 12
1 40
2 64
3 111
etc.
Thank you.
Kind regards,
T. Bal
[[alternative HTML version deleted]]
2000 Nov 14
14
New snapshot
...hostkeys or for user keys.
SSH2 RSA or DSA keys are added to .ssh/authorised_keys2 as before.
- (djm) Fix up Makefile and Redhat init script to create RSA host keys
- (djm) Change to interim version
- (djm) Fix RPM spec file stupidity
- (djm) fixpaths to DSA and RSA keys too
20001112
- (bal) SCO Patch to add needed libraries for configure.in. Patch by
Phillips Porch <root at theporch.com>
- (bal) IRIX patch to adding Job Limits. Patch by Denis Parker
<dcp at sgi.com>
- (stevesk) pty.c: HP-UX 10 and 11 don't define TIOCSCTTY. Add error() to
failed ioctl(TI...
2003 Oct 28
1
ifelse with a factor variable
'ifelse' changes factors to character vectors (R-1.7.1, Linux):
> table(bal$soc.40)
tax noble semi-landless landless unknown
4035 5449 13342 9348 0
> blah <- ifelse(is.na(bal$soc.40), "unknown", bal$soc.40)
> table(blah)
blah
1 2 3 4 unknown
4035...
2007 May 21
2
logger anybody?
...logger anyboundefined local variable or method `logger'' for
#<#<Class:0x278bee0>:0x253cdec>
Not sure if this is the spected behaviour (haven''t checked under the
hood) It was just annoying not having a logger instance available as in
Rails out of the tests.
--
An?bal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
http://www.to2blogs.com
http://anibal.rojas.com.ve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070521/8d88fe12/attachment.html
2000 Nov 29
0
Snapshot
...Patch from Pekka Savola <Pekka.Savola at netcore.fi> to include a few
more manpage paths in fixpaths calls
- (djm) Also add xauth path at Pekka's suggestion.
- (djm) Add Redhat RPM patch for AUTHPRIV SyslogFacility
20001125
- (djm) Give up privs when reading seed file
20001123
- (bal) Merge OpenBSD changes:
- markus at cvs.openbsd.org 2000/11/15 22:31:36
[auth-options.c]
case insensitive key options; from stevesk at sweeden.hp.com
- markus at cvs.openbsd.org 2000/11/16 17:55:43
[dh.c]
do not use perror() in sshd, after child is forked()
- mark...
2006 Feb 07
3
Dinamic controller
...le to make a Rails app respond to a "dinamic" controller?
As I understand method_missing can be used inside a controller to
respond to nonexisting methods, is it possible to provide a similar
behavior at a controller level? I am not sure at whic level would this
code be inserted...
--
An?bal Rojas
http://www.lacaraoscura.com/
anibalrojas@gmail.com
2012 Dec 04
2
Labelling x axis in plot function
Hi,
In the plot function I want to label x axis as the numbers between 1 and 12
(so 1, 2, 3, 4, 5, ..., 12). How should I do it? The range of x values are
different than this range. Thanks!
Kind regards,
T. Bal
[[alternative HTML version deleted]]
2012 May 08
3
please help!
...Which are explanatory variables in this data?
And also I want to fit logistic regression model with two explanatory
variables? (I think that I should use glm, but how should I put these
variables in glm)?
Do I need also other functions, other than glm? Please help me. Thanks!
kind regards,
T. Bal
[[alternative HTML version deleted]]
2010 Nov 23
3
analytics
...e getting data out of icecast and crunching it
for later review/analysis.
I am happy to summarize responses that people are comfortable having
shared back to the list. My plan is to give a reasonable amount of
time for people to compose responses and then send one summary email.
Cheers,
--
Crist?bal Palmer
ibiblio.org
metalab.unc.edu
1998 May 29
0
aov design questions
R developers,
I have a first attempt to make an aov function. Eventually I want to
build in Error() structure, but first I am trying to get this
presentable for balanced data with only a single stratum, just using
residual error. I am following R. M. Heiberger's Computation for the
Analysis of Designed Experiments, Wiley (1989)
I a using a wrapper (aov.bal) to call the fitting function in the same
way that lm() does a bunch of stuff and then ca...
2005 Mar 16
3
Problem joining a Samba 3 domain - DC can't be contac ted
...uot;
> could not be contacted.
>
> Do have any idea of what is hapening?
>
> Just for reference: I do not have a dns server.
>
> Regards.
>
>
>
>
>
>
> D?couvrez nos promotions exclusives "destination de
> la Tunisie, du Maroc,
> des Bal?ares et la R?p. Dominicaine sur Yahoo!
> Voyages :
> http://fr.travel.yahoo.com/promotions/mar14.html
> --
> To unsubscribe from this list go to the following
> URL and read the
> instructions:
> https://lists.samba.org/mailman/listinfo/samba
>
D?couvrez nos pro...
2008 Mar 19
1
running balance down a dataframe referring back to previous row
Good morning, I've searched high and low and I've tried many different ways
of doing this, but I can't seem to get it to work.
I'm looking for a way of vectorising a "running balance"; i.e. the value in
the first row of the dataframe is zero, and following rows add to this
running balance. This is easy to write in a loop, but I can't seem to get
it working in vectorised code. Hopefully the example below will explain
what I'm trying to do...
#####
# create a...
2012 May 15
2
question about creating data frame
...hysics 1
128 Physics 0
... ............ ...
151 Physics 0
etc.
How should I do it? So this data frame will consist from 198 rows.
Thank you very much.
kind regards,
T. Bal
[[alternative HTML version deleted]]
2009 Sep 19
3
reducing space between charts in lattice graphics
...ptions,
but I can't find any examples. Aside from the data setup, the code is below.
Can anyone provide an example showing how to reduce the white space between
the charts? Thanks.
total_chart <- xyplot(total ~ date,
xlab=list(label=""),
ylab=list(label="Total Work")
)
balance_chart <- xyplot(bal ~ date,
xlab=list(label=""),
ylab=list(label="Remaining Work")
)
index_chart <- xyplot(index ~ date, col="red", type="b", pch=15)
print(total_chart, split=c(1,1,1,3), position=c(0, 0, 1, 1),
newpage=FALSE, more=TRUE)
print(b...
2005 Mar 19
2
all fonts gone crazy
...Carlos Henrique Grohmann - Guano
Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - guano at usp dot br
+----------------------------------------------------------+
D?couvrez nos promotions exclusives "destination de la Tunisie, du Maroc, des Bal?ares et la R?p. Dominicaine sur Yahoo! Voyages :
http://fr.travel.yahoo.com/promotions/mar14.html
2007 May 27
1
annotate_models plugin to annotate RSpec specs and fixture
...file_name, info)
+ spec_file_name = File.join(SPEC_DIR, klass.name.underscore + "_spec.rb")
+ annotate_one_file(spec_file_name, info)
+
fixture_file_name = File.join(FIXTURE_DIR, klass.table_name + ".yml")
annotate_one_file(fixture_file_name, info)
end
--
An?bal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com