Displaying 20 results from an estimated 10000 matches similar to: "Computing 'exp(1e3)*0' correctly...."
2010 Oct 26
5
cube root of a negative number
Hi,
This might be me missing something painfully obvious but why does the cube root of the following produce an NaN?
> (-4)^(1/3)
[1] NaN
>
As we can see:
> (-1.587401)^3
[1] -4
Thanks!
Greg
2006 Mar 28
2
atan2(1,1i)
Hi
?atan2 says that atan2(y,x)=atan(y/x) for x and y numeric or complex
vectors.
Well, I would expect atan2(1,1i) to be equal to atan(-1i), but
> atan2(1,1i)
Error in atan2(y, x) : Non-numeric argument to mathematical function
> R.version
_
platform powerpc-apple-darwin8.5.0
arch powerpc
os darwin8.5.0
system powerpc, darwin8.5.0
2006 Mar 28
2
atan2(1,1i)
Hi
?atan2 says that atan2(y,x)=atan(y/x) for x and y numeric or complex
vectors.
Well, I would expect atan2(1,1i) to be equal to atan(-1i), but
> atan2(1,1i)
Error in atan2(y, x) : Non-numeric argument to mathematical function
> R.version
_
platform powerpc-apple-darwin8.5.0
arch powerpc
os darwin8.5.0
system powerpc, darwin8.5.0
2012 May 13
1
Help writing function in R....
I need help writing function that takes three categorical inputs and returns
a vector of summary statistics based on these inputs. The data set contains
information on retail goods that can be specified by their retail segment,
brand name, and type of good along with its retail price and what it
actually sold for. I need to write a function that will take these inputs
and average, count, and
2019 Jul 30
1
FYA (for your amusement)
Well, we knew the 'Net was invented solely for cute cat pictures. Now I
have proof that selinux is part of that conspiracy. From dmesg, on one of
my servers:
[ 3366.091561] SELinux: 8 users, 14 roles, 5031 types, 316 bools, 1 sens,
1024 cats
mark
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
Dear all,
I have a data similar to this:
myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"),
Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00",
"25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"),
2012 Jul 01
2
leap second
--------------------- Kernel Begin ------------------------
1 Time(s): Clock: inserting leap second 23:59:60 UTC
---------------------- Kernel End -------------------------
hee hee.
gotta love it....
2010 Aug 16
1
How can I read date format '02-Jan-02' ?
Hello,
I am trying to read a database exported from SAS.
It is form of csv, and the date format reads '02-Feb-99'.
I used following code to convert character to date format,
db$dob<-as.Date(db$dob, format="%d-%b-%y").
but it doesn't work, only seems NA.
What's wrong with this code?
Thank you in advance.
Best,
Dong-Hee Koh
[[alternative HTML version deleted]]
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
Thank you for providing the example code... for the request of running it
multiple times it would have helped if you could have confirmed that the
example ran through without errors... there were a lot of mistakes in it.
Look into using the reprex package to check your example next time.
I don't do this kind of analysis... I really don't know what to expect
from the functions. The
2008 Jul 14
1
earn money 100dollar hee click mysite
earn money 100dollar hee click mysite
free down load songs & vidios
my photto site click mysite
*********************************************
http;//beautifullykhan.blogspot.com
*********************************************
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs"
2013 Nov 24
1
create a new dataframe with intervals and computing a weighted average for each of its rows
I need you help with this problem, I have a data-frame like this:
BHID=c(43,43,43,43,44,44,44,44,44) FROM=c(50.9,46.7,44.2,43.1,52.3,51.9,49.3,46.2,42.38) TO=c(46.7,44.2,43.1,40.9,51.9,49.3,46.2,42.38,36.3) AR=c(45,46,0.0,38.45,50.05,22.9,0,25,9) DF<-data.frame(BHID,FROM,TO,VALUE) #add the length DF$LENGTH=DF$FROM-DF$TO
where:
+ BHID: is the borehole
2005 Nov 07
4
Re: New Standard/Daylight time-change dates in rhel4u2 butnot centos4.2?
The laws already exist:
Disturbing the peace,
Misappropriation of public funds,
Prohibition on unfunded mandates.
What's lacking is prosecutors, judges, and juries who
see the politicians as getting in the way of the
statesmen and the people.
To drag this back towards On Topic, it seems to me
that the ntp folks might be petitioned to write up and
submit to the Congress, a paper
2011 Oct 13
2
Virtio Balloon- Can not see the results
with kvm and virtio- would -m 1024 take proceedence over -balloon
virtio? when i use both together, i see memory stay around 1024 MB less on my host side. I know the guest is not taking but a fraction of that ram, so I would expect the virtio balloon to take the majority of the guests ram and hand it back to the host. this is using the free util/command to take snapshots of the host memory.?
2006 Feb 19
2
Computing means, variances and sums
There has been a recent thread on R-help on this, which resurrected
concepts from bug reports PR#1228 and PR#6743. Since the discussion has
included a lot of erroneous 'information' based on misunderstandings of
floating-point computations, this is an attempt to set the record straight
and explain the solutions adopted.
The problem was that var(rep(0.02, 10)) was observed to be (on
2012 Oct 26
1
using match-type function to return correctly ordered data from a dataframe
I am regularly running into a problem where I can't seem to figure out how
maintain correct data order when selecting data out of a dataframe. The
below code shows an example of trying to pull data from a dataframe using
ordered zip codes. My problem is returning the pulled data in the correct
order. This is a very simple example, but it illustrates a regular problem
that I am running into.
2002 Jul 09
1
broken inline exp in glibc/x86??!
I read the following in acinclude.m4:
## R_PROG_CC_FLAG_D__NO_MATH_INLINES
## ---------------------------
## In current glibc, inline version [x86] of exp is broken.
## We fix this by adding '-D__NO_MATH_INLINES' to R_XTRA_CFLAGS rather
## than AC_DEFINE(__NO_MATH_INLINES) as the former also takes care of
## compiling C code for add-on packages.
Is this documented anywhere (where?), e.g.
2008 Jul 01
5
WIERD: Basic computing in R
Can someone please enlighten me as to why the following happens?
> -2.7^8.6
[1] -5125.407
> p<- -2.7
> q<- 8.6
> p^q
[1] NaN
R seems perfectly able to calculate -2.7^8.6, but fails when the exact same values are assigned to variables and then the computation is repeated.
Thanks in advance for any suggetsions.
Kris.
2017 Dec 12
2
[OT] Overview of Homer installation on Debian Stretch
Hello,
I've discovered homer-api-postgresql and homer-api-mysql packages in
Stretch repo.
I'm not sure I understand how Homer-API relates to Homer.
My questions are:
1. What is the simplest available installation option to install Homer on a
dedicated box, this dedicated box gathering data from one or several
Asterisk systems on the same LAN ?
2. Is it possible to centralize data on a
2012 Apr 23
2
.rda vs. .RData
Are they the same with .RData being the newer format?? Thanks,
...Tao
2019 Aug 06
4
samba-tool PTR with /16 network
On 06/08/2019 16:21, L.P.H. van Belle via samba wrote:
> Its pretty clear how in the wiki.
>
> https://wiki.samba.org/index.php/DNS_Administration
>
> samba-tool dns zonecreate <Your-AD-DNS-Server-IP-or-hostname> 0.99.10.in-addr.arpa
>
> ;-)
And that would get you a /24 network
And I also thought wrong, yes the name is wrong, but it should have been
'11.0'