Displaying 20 results from an estimated 100 matches similar to: "pretty not pretty"
2005 Oct 27
0
Column names in qr() and chol() (PR#8258)
I am using 2.2.0
If the QR decomposition of an N*M matrix is such that the pivoting order
is not 1:M, Q%*%R does not result in the original matrix but in a
matrix with the columns permuted. This is clearly intentional, and
probably to be expected if pivoting is used --- chol() behaves in the
same manner (it would perhaps be nice if the qr help page made that
clear in the same way that the chol()
2002 Jun 14
0
pretty() sometimes isn't
Hi all,
R> seq(-.4, .8, length=7)
[1] -4.000000e-01 -2.000000e-01 5.551115e-17 2.000000e-01 4.000000e-01
[6] 6.000000e-01 8.000000e-01
Well that may not be a "bug", but it has this unfortunate consequence:
R> pretty(c(-.4,.8))
[1] -4.000000e-01 -2.000000e-01 5.551115e-17 2.000000e-01 4.000000e-01
[6] 6.000000e-01 8.000000e-01
And thus my plot axes look funny
2001 Jul 25
1
bug in pretty() (PR#1032)
I have the following output from pretty():
> pretty(c(-.1, 1)) # note 2nd element
[1] -2.000000e-01 -2.775558e-17 2.000000e-01 4.000000e-01 6.000000e-01
[6] 8.000000e-01 1.000000e+00
> as.character(pretty(c(-.1, 1)))
[1] "-0.2" "-2.77555756156289e-17" "0.2"
[4] "0.4" "0.6"
2010 Jan 30
2
[LLVMdev] Compiling Kaleidoscope on Windows
I'm trying to get the Kaleidoscope tutorial mini compiler working on
Windows (as a trial run for developing a compiler using LLVM).
Kaleidoscope uses the C++ linkage method of code generation (as
opposed to spitting out intermediate code in a text or binary file),
which as I understand it is the preferred way of doing it for a few
reasons, one of them being that it gives you JIT capability,
2009 Jul 23
2
Bug in seq() (PR#13849)
Full_Name: Jeremiah Cohen
Version: 2.9.0
OS: Windows XP
Submission from: (NULL) (129.59.230.235)
I believe there is a bug in the seq() function for certain values of the "from"
argument. Here are examples:
> seq(-.2, .1, .1)
[1] -0.2 -0.1 0.0 0.1
> seq(-.3, .1, .1)
[1] -3.000000e-01 -2.000000e-01 -1.000000e-01 5.551115e-17 1.000000e-01
> seq(-.4, .1, .1)
[1] -0.4 -0.3
2011 Sep 30
1
Hi
Hi,
There is a question that I am confused.
I have a set of data like this:
hsa-miR-205--GATA3 0.797882767 1.08E-13
hsa-miR-205--ITGB4 0.750217593 1.85E-11
hsa-miR-187--PGF 0.797604155 3.24E-11
hsa-miR-205--SERPINB5 0.744124886 3.28E-11
hsa-miR-205--PBX1 0.734487224 7.89E-11
hsa-miR-205--MCC 0.72499934 1.80E-10
hsa-miR-205--WNT5B 0.717705259 3.33E-10
hsa-miR-200c--PKN2 0.721746815
2013 Jun 25
1
F statistic in add1.lm vs add1.glm
Should the F statistic be the same when using add1() on models created by lm and glm(family=gaussian)?
They are in the single-degree-of-freedom case but not in the multiple-degree-of-freedom case.
MASS:addterm shows the same discrepancy. It looks like the deviance (==residual sum of squares) gets
divided by the number of degrees of freedom for the term twice in add1.glm. Using anova() on the
2004 Sep 03
6
seq
Hi everyone,
I've tried the below on R 1.9.1 and the 2004-08-30 builds of R 1.9.1
Patched and R 2.0.0 on Windows 2000, and the results are consistent.
> seq(0.5, 0, by = -0.1)
[1] 0.5 0.4 0.3 0.2 0.1 0.0
> seq(0.7, 0, by = -0.1)
[1] 7.000000e-01 6.000000e-01 5.000000e-01 4.000000e-01 3.000000e-01
2.000000e-01 1.000000e-01 -1.110223e-16
Is this really the intended behaviour?
2007 Feb 25
1
Writing integers in "write.matrix" function
Hello everyone,
I am using the following program to get the p-value of some numbers
(column 'LR' of the data.dat file). I want to write the 1st and 2nd
column of the output file (data.out) as an integer while the program
change them. Could anybody please tell me how I can write
the code which writes the values of the first two columns as integer?
For your convenience, I have attached the
2000 Apr 27
0
What is ks.test saying?
Hello!
I have two matrices of equal dimension ll and lu that I want to do a
ks.test on corresponding rows in these matrices (dim(ll) is [1] 101 100).
If I do e.g. > ks.test(ll[50,],lu[50,])
just for testing, it displays a lot of numbers, and some more info:
[116] -3.000000e-02 -4.000000e-02 -4.000000e-02 -3.000000e-02 -4.000000e-02
[121] -3.000000e-02 -4.000000e-02 -3.000000e-02 -2.000000e-02
2006 Feb 08
1
corruption of data with serialize(ascii=TRUE)
I noticed the following peculiarity with `serialize()' when `ascii = TRUE' is
used. In today's (svn r37299) R-devel, I get
> set.seed(10)
> x <- rnorm(10)
>
> a <- serialize(x, con = NULL, ascii = TRUE)
> b <- unserialize(a)
>
> identical(x, b) ## FALSE
[1] FALSE
> x - b
[1] -3.469447e-18 2.775558e-17 -4.440892e-16 0.000000e+00
2011 Jul 12
1
how to find out whether a string is a factor?
I have two data frames:
> str(ysmd)
'data.frame': 8325 obs. of 6 variables:
$ X.stock : Factor w/ 8325 levels "A","AA","AA-",..: 2702 6547 4118 7664 7587 6350 3341 5640 5107 7589 ...
$ market.cap : num -1.00 2.97e+10 3.54e+08 3.46e+08 -1.00 ...
$ X52.week.low : num 40.2 22.5 27.5 12.2 20.7 ...
$
2008 Oct 03
1
Bug or inaccuracy in cumsum( )
I came across this: shouldn't the last value be a more exact zero?
It did not do that with 1 - sum( rep(0.1, 10) )
> 1 - cumsum( rep(0.1, 10) )
[1] 9.000000e-01 8.000000e-01 7.000000e-01 6.000000e-01 5.000000e-01
4.000000e-01 3.000000e-01 2.000000e-01
[9] 1.000000e-01 1.110223e-16
> version
_
platform
2006 Aug 08
2
Resources and pretty URLS
Using the brand-spanking new map.resources for REST goodness, is there a
way to pass in additional parameters, or do I have to go back to
standard routes. For example, is there a way to use the map.resources
to response to urls like:
/blog/2005/02/03/ => :controller => :blog, :action => :show, :year =>
2005, :month => ''02'', :day => ''03''
2006 Jul 12
1
Changing Application Error (Rails) to something pretty?
Hello all,
I have installed the Exception Notifier plugin to email me when my rails
application encounters an exception. However, I would like to prevent my
users from seeing the "Application Error (Rails)" screen in production.
Ideally, it would be nice to have an error message within my site layout. I
know people have asked this question before but I can''t seem to find it in
2006 Apr 07
2
Functional testing Pretty Urls
Anyone know how to how to test pretty urls (set through routes.rb)? I want
to don''t use get :action, because the routing changes how a certain action
is requested. How does one go about testing this?
Thanks,
Tim Case
tim@karmacrash.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 05
0
Pagination + pretty URLs
Hello all.
I want to make pagination URLs pretty instead of the ?page=2. I have
written a route like this:
map.connect ''restaurant/list_dishes/:page'',
:controller => ''restaurant'',
:action => ''list_dishes'',
:requirements => { :page => /\d+/},
:page => nil
Which appears to work. However the following only
2006 Mar 06
0
Multiple actions for one route (making pretty URLs hit different actions)
Hi all,
I''m trying to make pretty URLs using routes for some of my actions
across different controllers. For example:
http://www.example.com/london ->
http://www.example.com/articles/show_by_name/london
But if the id ''about'' couldn''t be found, then to search for it as
another action, this time from the ''branch'' controller.
2008 Jun 12
0
Pretty errors in development mode
Hey everybody. It''s been a while since I''ve spent any serious time on
Facebooker. I''m going to be doing a bunch of work in the near future
to support the new profile update. I''m committing a few things now.
The first is pretty error messages for Rails in development mode.
You''ll now get a stack trace through Facebook, just like you do for
2006 Feb 23
1
Pretty HABTM check boxes
I''m 100% positive this has come up multiple times before. I just
can''t find it for some reason. I''ve got a HABTM relationship, we''ll
just say Item HABTM categories. When I edit an Item via a form, I''d
like there to be check boxes for all the categories, and they''ll
obviously be checked if an Item has a relationship with a particular