Displaying 20 results from an estimated 37 matches for "downey".
Did you mean:
downed
2010 Aug 13
6
Equality of Vectors
Hello,
Is there a way to get a single TRUE or FALSE statement from comparing two
vectors? For example,
c(1,2,3) == c(1,2,3)
produces
TRUE TRUE TRUE
where I would like it to produce only
TRUE
for use in an if statement.
Likewise, when two vectors are not exactly identical (in all elements) I
would like a single FALSE result, as opposed to
c(1,2,3) == c(1,2,5)
TRUE TRUE FALSE
Any ideas?
2005 Aug 17
7
Need help with the rubyonrails wiki - instiki filters
I am trying to do a tutorial improvement on the wiki but I am having
some problems with the auto formatting. Using httdp.conf produces
http://httpd.conf when filtered. Using *.so produces .so and bold text
there after.
Is there any shorthand for the user for making text appear as it should
without the linking and re-writes? Or does the admin have to change the
filters in Instiki?
Tesla
2010 Jun 22
5
Displaying Iteration Count
Hello,
I'm running a very long for loop that usually takes hours. For my own piece
of mind, it would be nice if I could check periodically and see which
iteration the loop is on. A line of code that told R to print the iteration
number every 100 or 200 iterations would be perfect.
Does anyone know something like this? I've never known how to print
anything within a for loop before the
2004 Jan 27
2
rsync still hangs on cygwin 1.5.6-1 and 1.5.7
Hi,
Rsync is still hanging under cygwin for me. I'm using rsync 2.6.0 and i've tried cygwin-1.5.6-1 as well as a snapshot of 1.5.7.
I've noticed that some people are having success. I shouldn't have to do anything interesting in order to make this work, right?
***********************************************************************
This message is intended only for the use of
2010 Apr 19
2
ecdf
Hello,
I'd like to plot an empirical cumulative distribution function, except
instead of the fraction of values < x, I'd like the fraction of values > x.
I think this can be done using the ecdf function in {Hmisc}. I installed
the package and loaded it. However, when following the example given in the
documentation, I get an error:
x <- rnorm(100)
ecdf(x,what='1-F')
2010 Mar 11
1
VAR with contemporaneous effects
...1_t-1
affect y2_t.
{vars} will only allow VARs of the form:
y_t = By_t-1 + Cy_t-2 + ... + Dx_t + e_t
Solutions? Maybe another package? Or maybe I'm thinking about this wrong?
(And I know that I have to put constraints on A to get identification - I'm
willing to do that).
Thanks,
Mitch Downey
2011 Sep 23
4
'save' saved object names instead of objects
Hello,
I created an array to hold the results of a series of simulations I'm
running:
d.eta <- array(0,dim=c(3,3,200))
<simulation goes here and populates the array but it's not important>
Then I tried to save the results using this:
save(d.eta,file="D:/Simulation Results/sim 9-23-11 deta")
When I later tried to reload them using this:
d.eta <-
2008 Aug 25
1
Problems starting Rcmdr
...ions/2.7/
Resources/library/tcltk/libs/i386/tcltk.so
Reason: image not found
In addition: Warning message:
package 'Rcmdr' was built under R version 2.7.2
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package 'tcltk' could not be loaded
Davia Cox Downey
Doctoral Student/Research Assistant
Global Urban Studies Program &
Department of Political Science
Michigan State University
447 Berkey Hall
East Lansing, MI 48824
517-353-6855 phone
517-353-6680 fax
coxdavia@msu.edu
[[alternative HTML version deleted]]
2011 May 17
2
Minimum value by ID
Hello,
I have a longitudinal dataset where each individual has a different number
of entries. Thus, it is of the following structure:
x <- runif(12)
id.var <- factor(c(rep("D1",4),rep("D2",2),rep("D3",3),rep("D4",3)))
dat <- as.data.frame(x)
dat$id.var <- id.var
dat
> dat
x id.var
1 0.9611269 D1
2 0.6738606 D1
3
2006 Mar 14
3
ActiveRecord row-by-row processing
I want to use ActiveRecord outside of Rails to do processing on large
tables. I want to be able to process the rows as they are retrieved
rather than having to store the results in an intermediate array.
Any suggestions?
Looks like I could hack the adapter to provide an accessor to the
underlying DBI handle. Anything cleaner than that?
2005 Jul 03
3
link_to in controller
Is there a way to use the "link_to" function in a controller?
2005 Jul 07
2
Rails equivalent to System.out.println?
Is there a way I can have print statements in Rails code that will go either to
the WEBrick console (prefered) or to a log file?
2011 Jul 01
2
merge function
Hello,
I'm clearly confused about the merge function. In the following
r <- merge(x,y,all.x=T,all.y=F)
my y vector has only unique values (no duplicates). So I don't understand
how this can ever generate an r which is of greater length than x.
I thought the default behavior was only matching rows are included, but
that using all.x=T included rows with unmatched x's as well. If
2005 Jul 06
4
undefined method `stringify_keys!'
I have a Model whose table name and primary key don''t follow Rails conventions.
So I have used set_table_name() and set_primary_key() and can do the
Record.find() method ok.
My problem is that the Record.new(params[:id]) idiom in a controller complains:
undefined method `stringify_keys!'' for "REAL_PKEY":String
Is there something else I need to do?
2005 Aug 20
6
How to find() only selected columns ?
Hello,
I don''t know anything about Rails optimization, however... is it
possible to select only specified columns in order to tell Active
Record not to load everything from the table as does @items =
Item.find(:all) ?
Thank you
2004 Sep 18
8
Attacks on ssh port
Hi,
Is there a security problem with ssh that I've missed???
Ik keep getting these hords of:
Failed password for root from 69.242.5.195 port 39239 ssh2
with all kinds of different source addresses.
They have a shot or 15 and then they are of again, but a little later on
they're back and keep clogging my logs.
Is there a "easy" way of getting these ip-numbers added to
2016 Aug 03
2
trunk check-all failing on Linux using compiler-rt and libcxx
...++ CC=clang cmake ../llvm/ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=~/install/llvm-master/ \
-DLLVM_TARGETS_TO_BUILD=host \
-DLLVM_ENABLE_ASSERTIONS=true \
-DLLVM_ENABLE_LIBCXX=yes \
-DLLVM_ENABLE_LIBCXXABI=yes
The check-all target is failing to compile the interception tests:
/home/sdowney/bld/llvm-master/llvm/projects/compiler-rt/lib/interception/tests/interception_linux_test.cc:26:18:
error: redefinition of 'isdigit'
INTERCEPTOR(int, isdigit, int d) {
^
/usr/include/ctype.h:185:1: note: previous definition is here
__isctype_f (digit)
^
/usr/include/ctype.h:...
2011 Nov 09
2
Installing binaries from R-Forge
Hello,
I'm attempting to install the splm package from R-Forge.
https://r-forge.r-project.org/R/?group_id=352
The page says, "In order to successfully install the packages provided on
R-Forge, you have to switch to the most recent version of R..." It later
says "To install this package directly within R type:
install.packages("splm",
2011 Sep 24
1
help
...Model
> (Ben Bolker)
> 14. Re: How make a x,y dataset from a formula based entry
> (Jean-Christophe BOU?TT?)
> 15. Re: (sin asunto) (Terry Therneau)
> 16. Re: p values in coxph() (Terry Therneau)
> 17. 'save' saved object names instead of objects (Downey, Patrick)
> 18. Re: How make a x,y dataset from a formula based entry
> (Gabor Grothendieck)
> 19. Re: 'save' saved object names instead of objects (Downey, Patrick)
> 20. Re: 'save' saved object names instead of objects
> (Jean-Christophe BOU?T...
2008 Jan 22
2
MLE for censored distributions in R
Hi just wondering if there is a package that can get the maximum likelihood
or method of moments estimator for distributions with censored data? The
distributions I'm interested in are: Exponential, pareto, beta, gamma and
lognormal.
--
View this message in context: http://www.nabble.com/MLE-for-censored-distributions-in-R-tp15022863p15022863.html
Sent from the R help mailing list archive at