Displaying 20 results from an estimated 100 matches similar to: "How can I draw a line in empirical distribution function?"
2011 Feb 25
5
Substituting inside expression
I am having following problem:
I?m constructing model for calculation of area of triangle.
I know sides a, b, and gamma angle.
I wish to calculate the area using heron?s formula:
S <- sqrt(s*(s-a)*(s-b)*(s-c))
where
s <- (a+b+c)/2
and c is calculated using law of cosines:
c <- sqrt(a^2 + b^2 -2*a*b*cos(gamma))
since i am calculating a regression model, i need derivation of this
2011 Feb 28
3
Incorrectness of mean()
I have found following problem:
I have a vector:
> a <- c(1.04,1.04,1.05,1.04,1.04)
I want a mean of this vector:
> mean(a)
[1] 1.042
which is correct, but:
> mean(1.04,1.04,1.05,1.04,1.04)
[1] 1.04
gives an incorrect value.
how is this possible?
thanks,
zbynek
--
View this message in context: http://r.789695.n4.nabble.com/Incorrectness-of-mean-tp3327701p3327701.html
Sent from the R
2010 Sep 03
1
How to use lm() output for systemfit() 'Seemingly unrelated regression'
I am having problem using output of lm() function for further analysing using
systemfit package.
Basicaly, the problem s following - I generate several formulas using lm()
> fo1 <- lm(r98[,2] ~ f98[,1] + f98[,2] + ... + f98[,43])
> fo2 <- lm(r98[,1] ~ f98[,1] + f98[,2] + ... + f98[,43])
and than I want to estimate a general model using package systemfit.
> fitsur <-
2008 Oct 29
1
Suppressing internal grid in filled.contour
Rers:
I can't seem to locate the command to suppress what appears to be a
faint internal grid when running the following command to make a filled
contour plot of some data I have (x,y,z being the inputs):
2010 Dec 20
2
How to optimize function parameters?
Hi,
I have a dataset and I want to fit a function to it.
The function is variogram model (http://en.wikipedia.org/wiki/Variogram)
The variogram model is defined by three parameters and I want them to be
automatically optimized for real time data.
I tried to use gafit {gafit} for this, but there are some data
configuration, where optimal results given by gafit() are negative, which is
not correct
2009 Jan 25
5
soft phone
hi
wich soft phone do you recomend but i need this feature it must ask for user
name and password when it start.
i know xline and zoipper but they dont have that i can acomplish this whit
twinkle but i need it for Windows :-(
any ideas?
thanks
--
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next
2005 Dec 22
6
Plot problems: xlim
Hi,
Still fresh in R, tried to figure this out, now on my second day running with no luck (and a pile of hair on my desk) so
I have thrown in the towel and would like to ask for some help.
Here is what I am trying to do. I am trying to plot a distribution, I have 99 points, bound in the range
xlim.min: -0.0173
xlim.max: 0.02103
However, I have a value outside this range (0.2454959) which I
2019 Aug 21
1
Core dumped - net ads dns gethostbzname
Hi.
Performing a DNS search for a hostname results in a segmentation fault:
## Debian 10 Buster 64bit
root at hostxzy:~# net ads dns gethostbyname name $(hostname)
Bad talloc magic value - unknown value
PANIC (pid 15749): Bad talloc magic value - unknown value
BACKTRACE: 12 stack frames:
?#0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x32) [0x7f0827
a408d2]
?#1
2019 Aug 13
3
winbind - frequent high CPU utilization
Hi.
I use winbind + squid on Debian Buster to authenticate users + authorize
them based on groups they are in. It all works, well, good, but winbind's
CPU utilization peaks can reach up to 100%. The same solution ran OK on
Debian Jessie with up to 20% CPU utilization at most.
The configuration of Buster must have been updated based on the samba
version leap/shift compared to Jessie.
On
2003 Jan 15
1
Double NATed VPN
Hello,
1) Thanks - shorewall save me a lot of time!
2) I try - exactly: I must :-) - configure a VPN server behind 2 NATs.
My situation:
RoadWarior - INet - ISP Router (NAT+PortForwarding) - Inetranal Router
(running Shorewal, NAT+PortForwarding) - Inetranl VPN Server
If RoadWariror try to connect Internal VPN Server then connection failed
with "GRE: Bad check chcksum from pppd"
1997 May 11
2
R-alpha: Logarithmic scales
Here are another three problems with logarithmic scales:
1) segments() does not work with logarithmic scales. I suggest to change
lines 962-973 in "plot.c":
for (i = 0; i < n; i++) {
if (FINITE(xt(x0[i%nx0])) && FINITE(yt(y0[i%ny0]))
&& FINITE(xt(x1[i%nx1])) && FINITE(yt(y1[i%ny1]))) {
GP->col = INTEGER(col)[i % ncol];
2003 Jun 14
4
problem installing packages from source on win2k
Dear R-helpers,
I'm having trouble compiling R packages from source on Win2K. I installed R 1.7.1beta [1] on my win2k machine [2], downloaded the fields package as source [3] and tried but failed to install the package [4]. I get the same problem with other packages, so it doesn't appear to be limited to fields. Installation of precompiled packages seems to work fine. I've been
2012 Nov 14
3
ctree
Hello,
I plotted a nice tree with "ctree" . It shows 3 nodes with the prediction of
my 2 groups. (see picture)
Unfortunately I need a larger scale to read the exact prediction of my
groups to get the specificity and sensitivity. I tried to change the scale
with "axis" but it didn't work, my guess because it's not a normal graph
with x and y axis.
Has someone an idea
2010 Aug 11
2
glusterfs on 32 bit - experiences?
I was wondering about general stability of glusterfs on 32 bit x86 Linux.
I have it running without problems on some lightly used 32 bit systems,
but this scares me a bit if I decided to use it in production[1]:
While the 3.x versions of Gluster will compile on 32bit systems
we do not QA or test on 32-bit systems. We strongly suggest you
do NOT run Gluster in a 32-bit environment.
I was
2007 Oct 06
1
problem installing fields package 3.5 on R 1.8.1 on linux
I am returning to using R after a little time away.
Saw some great new functions in the fields package and decided to upgrade.
Everything seems to go fine until I tried to actually load the package, when
I get an error:
>library(fields)
Error in parse(file, n, text, prompt) : syntax error on line 227
And (of course) I am unable to access any of the functions in the fields
package.
Below is
2008 Aug 13
2
mob(party) formula question
I try tu use mob() with my data.frame ('data.frame': 288 obs. of 81
variables; factors, numerics and ordered factors)
My response is a binary variable and I should use for modelling a logistic
regression (family=binomial).
I read in the "MOB" Vignette that I could use a formula like this if I would
like to have only partitioning variables apart from the response.
2006 Apr 05
0
samba client
Hi,
I installed absolutely new installation of CentOS 4.3 from DVD media and
I unchecked every additional packages.
After that I perform
# yum upgrade
and install wanted packages
# yum install samba-client
installed packages are
samba-common-3.0.10-1.4E.6
samba-client-3.0.10-1.4E.6
SELinux and iptables are disabled.
But if I can try to mount my server public share
#mount -t smbfs -o
2005 Jun 06
1
Missing values in argument of .Fortran.
I wish to pass a vector ``y'', some of whose entries are NAs to a
fortran subroutine which I am dynamically loading and calling by
means of .Fortran(). The subroutine runs through the vector entry by
entry; obviously I want to have it do one thing if y[i] is present
and a different thing if it is missing.
The way I am thinking of proceeding is along the xlines of:
ymiss <- is.na(y)
2006 Nov 27
2
Abuot the Bug of Speex 1.2beta1
Dear Sir/Miss:
I'm very sorry to bother you,but I've found a bug
in the Speex,Version 1.2beta1,and also I've have some
questions.
I'm deeply impressed by the work you have done in
the coding and decoding of speech signal.But when
using speex,I encoutered a bug,that is when in 32K
mode,the window size is still 200 samples,but not 400
samples,the bug will bring the problem of
2012 Jul 10
1
Why 95% "quantile" empty in R or why 95% "quantile" = 1 with data values between 0 and 1?
I am calling quantiles as follows. I don't understand why sometimes the
columns (data values) above 95% are returned as "NULL"!! When I drop the
percentile down to 92%, I see colums appearing. Why would any quantile be
empty? I see sometimes that 95% percentile is being chosen as "1" for my
data between 0 and 1, where obviously there's no column value equal to 1.
But