Displaying 20 results from an estimated 3000 matches similar to: "cube root of a negative number"
2011 Apr 17
5
cube root
This is some interesting:
> -8^(1/3)
[1] -2
> x=(-8:8)
> y=x^(1/3)
> y
[1] NaN NaN NaN NaN NaN NaN NaN NaN
0.000000 1.000000
[11] 1.259921 1.442250 1.587401 1.709976 1.817121 1.912931 2.000000
So, can anybody explain this?! (Why is x[1]^(1/3)=y[1]=NaN, but
-8^(1/3)=-2?)
Thx!!!
[[alternative HTML version deleted]]
2010 Aug 25
3
approxfun-problems (yleft and yright ignored)
Dear all,
I have run into a problem when running some code implemented in the
Bioconductor panp-package (applied to my own expression data), whereby gene
expression values of known true negative probesets (x) are interpolated onto
present/absent p-values (y) between 0 and 1 using the *approxfun -
function*{stats}; when I have used R version 2.8, everything had
worked fine,
however, after updating
2007 Jun 26
3
[PATCH] Always use mipmaps in cube plugin
Currently, the cube plugin uses mipmapping only when cube is unfolded.
When the cube is rotated, mipmaps are not used, which leads to ugly look
of textures.
The attached patch fixes this. This leads to another kind of artifacts,
which are fixable with anisotropic filtering.
http://team.pld-linux.org/~wolf/aniso.png
The leftmost image is the current state of cube plugin. The center image
is with
2006 Dec 05
2
workspaces/desktops/viewports on top/bottom of cube?
I know this has probably been asked before, but, I'll ask anyways:
Workspaces/Desktops/whatever on the top and bottom of the cube, is there
any chance this will ever happen? I love how in gnome you can have work
spaces in rows/columns, and i tend to have 4-6 workspaces (well 6, but
only 4 gets used all of the time, but its nice to have the "buffer"
workspaces. since using compiz
2007 May 27
2
[PATCH] add 'sticky' mode to cube to allow sticky+not-on-bottom windows to stick to the screen when the screen is transformed
I've attached the patch since I don't yet have an easy way to make git
format-patch and kmail play nice together. The basic idea is during a
rotate/other cube transform, 'sticky' windows stick to the screen instead of
being redrawn once per face (its an option, the default is the old behaviour)
Consider this, please, essentially an RFC - this particular behaviour was
2010 Sep 12
4
using read.table, removing extra quotation mark from a text field? (e.g. ""cat" )
I am using read.table to import a text file within R.
There are several "errors" in my text file. An "extra" quotation mark has
inadvertently been included within a few text fields.
e.g. for a pipe (|) delimited text file, I have something similar to this:
1|7|30| "dog"
2|6|25| ""cat"
3|4|20|""
4|5| 56| "mouse"
5|3|56|
2008 Jun 25
2
help with cube3d cube size
I'm using the command below on an open3d() object to create a shaded
cube. Changes to myScalingFactor do not effect changes in the size of
the cube. What is the correct approach? Mark
shade3d(translate3d(cube3d(identityMatrix() *
myScalingFactor),-6,1,-1),col="green", alpha = 0.2)
--
Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine
2007 Jul 11
1
Cube Initialization bug in git
Hi,
there is a bug in git for cube plugin.
Plugin dont set Image defined in gconf as :
/apps/compiz/plugins/cube/screen0/options/skydome_image on
initialization.
If i reset this value manualy, i get my image in skydome.
--
Teresa Kalitowska
jid: teresa at kvitka.net
2008 Apr 25
2
White cube in dx 3d tests
Hi,
I just installed DirectX 9.0c on latest Wine according to howto I found here on wine sites. Well the problem is, that in dxdiag 3D tests it shows just very fast spinning (that should be, shouldn't it?) cube, but with no DirectX texture on it, just a white cube.
I have nVidia 8400MG. It's working 'cause in Windows I play normally with DX 9 installed. My distro is ArchLinux.
Thx
2007 Apr 12
1
[PATCH] Transparent cube
Hi,
Recently i have worked on re-writing beryl's transparent cube, and
ported 3d plugin to compiz.
I'm attaching a patchset here that includes the transparent cube
patches (i'll post the 3d plugin when i fix some problems that didn't
happen in beryl).
Patching order: btf-ftb.patch, clip-planes.patch, plugin-events.patch,
cube-paint-order.patch, transparent-cube.patch.
Special
2010 Nov 10
5
arrays of arrays
Hi All,
I want to have an array/ matrix that looks this
x<- 0 0 1 1
1 3 5
4 4
7 -1 8 9 10 6
I hope this makes sense. So basically if I want x[1,3] it will access 0 and
similarly x[4,2], -1.
Thanks in advance,
Sachin
p.s. sorry about the corporate notice.
--- Please consider the environment before printing this email ---
Allianz - Best General Insurance Company of the Year 2010*
2011 Feb 07
1
tri-cube and gaussian weights in loess
>From what I understand, loess in R uses the standard tri-cube function.
SAS/INSIGHT offers loess with Gaussian weights. Is there a function in R
that does the same?
Also, can anyone offer any references comparing properties between tri-cube
and Gaussian weights in LOESS?
Thanks. - Andr?
--
View this message in context:
2004 Nov 24
6
Searching for antilog function
Dear R-users,
I have a basic question about how to determine the antilog of a variable.
Say I have some number, x, which is a factor of 2 such that x = 2^y. I
want to figure out what y is, i.e. I am looking for the antilog base 2 of x.
I have found log2 in the Reference Manual. But I am struggling how to
get the antilog of that.
Any help will be appreciated!
> version
platform
2007 Jun 08
1
Problem with new cube and scale with ini
I think I have a slight problem with the new hookable plugins
and the ini plugin.
I haven't looked into it too much, but the plugins use an option to
store their abi version. This value is stored so that when the cube/scale
plugins are updated it will not be changed and things will not work.
Do we need some sort of flag to tell ini not to save these options? I
assume that it is OK for
2006 Dec 15
1
[PATCH] cube unfold distance
I have gone ahead and implemented the unfold distance option
as mentioned in the source.
the patch is here
http://home.comcast.net/~moppsy/compiz/cube-unfold-distance.patch
2007 Oct 27
1
Cube Size Changes?
Listmates,
Interesting difference in size. The cube now seems to have grown in
size during rotate. See the differences:
http://www.3111skyline.com/download/screenshot/compiz/compiz-rotate.png
http://www.3111skyline.com/download/screenshot/compiz/compiz-rotate1.png
Is there a setting that controls this?
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches,
2010 Nov 11
2
comma separated format
Hi All,
I'm trying to create labels to plot such that it doesn't show up as
scientific notation. So for example how do I get R to show 1e06 as
$1,000,000.
I was wondering if there was a single function which allows you to do that,
the same way that as.Date() allows you to show in date format on a plot.
Thanks,
Sachin
--- Please consider the environment before printing this email ---
2010 Nov 12
2
switching only axis off in plot
Hi R,
In the following code my x-axis is formatted in month format. Which Im
happy with. The y-axis is what I want to re-format with something else. My
question is, is it possible just to switch off the xaxis in plot function
(see below). If not how do you get the months to show up as FEB-YYYY,
MAR-YYYY and so on, so I could fit a label on x-axis.
Thanks,
Sachin
p.s. sorry about corporate
2007 Nov 29
1
Tooltips show up on all screens of cube
When ever i hover over something that gives me a tool tip - it is
showing on all sides of my cube - dont want that - is there a cure ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url :
2006 Oct 23
1
Cube plots
Hi
does anyone know of any R functions or packages for the following :-
. generating cube plots for displaying the results from a response
surface experiment design
. generating ternary plots from a mixture design
. tetrahedral plot or quaternary plot for displaying results from a four
factor mixture experiment
thanks Bob Kinley
[[alternative HTML version deleted]]