Displaying 20 results from an estimated 100 matches similar to: "density function cannot work well on UNIX R version 2.13."
2010 Mar 05
1
for help on building a R package with several R function and a bunch of c, c++
Hope I can get quick help from here, I have a bunch of c, c++ included main function and makefile. It works well on both UNIX and windows. I tried to build R package which include this C++ program and several other R functions. R function here are independent c++ code. I prefer to define one R function to call this c++ program.
Do you know any easy way to do it? I am reading manual
2010 Mar 17
2
How to use "ifelse" to generate random value from a distribution
I need use different parameters of distribution for different case to
generate random value, but I use ifelse, the generated value is fixed
without change.
Here is example
data1
y x
1 1 2
2 2 1
3 3 2
4 4 3
5 5 3
6 6 1
7 7 2
8 8 1
9 9 1
10 10 3
11 11 3
12 12 2
ifelse(data1$x==1,rnorm(1,2,1),ifelse(data1$x==2,rnorm(1,-2,1),rnorm(1,110,1)))
[1] -1.8042172 0.8478681
2012 Jan 27
4
percentage from density()
Hi folks,
I know that density function will give a estimated density for a give
dataset. Now from that I want to have a percentage estimation for a
certain range. For examle:
> y = density(c(-20,rep(0,98),20))
> plot(y, xlim=c(-4,4))
Now if I want to know the percentage of data lying in (-20,2). Basically
it should be the area of the curve from -20 to 2. Anybody knows a simple
2004 Sep 29
2
Approximate a f(x,y)
Hi all,
Running simulations, I'm generating market response to 2 factors X&Y..
There is no closed form for the market response.. The results are store in a
matrix Z(X <- seq(.02,.98,.02), Y <- seq(.01,.19,.01))..
For optmization purpose I need to approximate the values for any factor X in
0,02-0,98 and Y in 0,01-0,19
How can I do it ?
For one factor : Xn-1 < x <= Xn
2017 Aug 03
2
Doveadm-sync SSH practicalities
Terry Jones wrote:
> The documentation is somewhat silent on this subject.
If you mean https://wiki.dovecot.org/Tools/Doveadm/Sync the answers seem
implicit to what's been stated.
> What permissions does the SSH user need ?
To be able to run the doveadm executable (or a wrapper script that eventually
runs doveadm) on the remote side.
> How associated does it need to be with
2007 Jul 04
1
call transfer not working
Dear all
I have install asterisk 1.2.x and it is working fine my setup is like
[*]-------[Mediant2k]------------[Avaya]
Now i want to transfer call in internal extension i have read more document on www.voip-info.com but it is now so much clear so if u have any sample configuration file and doucment plz suggest me i have configure feature.conf and extention.conf for this task
2015 Jun 24
1
Conditional statements in libguestfs
Hi Experts,
I am writing a guestfish script . I want to implement conditional logic
inside guestfish script. For example , if state.tgz exists in image do
something else if onetime.tgz exists in the image do someotherthing .
Is it possible to do this within guestfish script. I tried to search a
solution for this in guestfish doucmentation but couldn't find anything
useful.
Thanks in advance
2009 Nov 20
3
steadily increasing/high loadavg without i/o wait or cpu utilization
Hi all,
I just installed centos 5.4 xen-kernel on intel core i5 machine as dom0.
After some hours of syncing a raid10 array (8 sata disk) I noticed a
steadily increasing loadavg. I think without reasonable i/o wait or cpu
utilization the loadavg on this system should be very lower. If this
loadavg is normal I would be greatful if somone could explain why. The
screenshots below show that there is
2012 Mar 18
1
Namespace dependency not required
Hi,
I am working at adding namespace to my packages, carefully following the
doc "Writing R extensions" and some threads on the web. However I cannot
find clear explanation about how to best deal with the import or
importFrom functions in the name space. To make it short:
To declare dependencies in the description file either after Depends:
(packages including functions that are
2004 Aug 15
3
123 Basic configuration files
I need to find some basic configuration files. Is there a place I can check
out how to set up an office using sip telephone and Digium FXO and FXS
ports?
Don Moskaluk
don@moskaluk.com
www.moskaluk.com
416 737-8230 Cell
416 614-8230 Home
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date:
2012 Nov 27
1
glm convergence warning
Hello,
When I run the following glm model:
modelresult=glm(CID~WS+SS+DV+DS, data=kimu, family=binomial)
I get the following warning messages:
1: glm.fit: algorithm did not converge
2: glm.fit: fitted probabilities numerically 0 or 1 occurred
What I am trying to do is model my response variable (CID: correct bird
identification) as a function of the predictor variables weather state
(WS), sea
2006 Mar 25
67
Your Ruby IDE
Just a poll here i am looking for a good IDE for rails and wondering
what you guys use?
features i like in an ide
code highlites
auto code complete
file browser
Currently i am using dreamwever but the code highliting is really bad
its also a pain to set up other doucment types such as .yml data config.
--
Posted via http://www.ruby-forum.com/.
2004 Jun 11
4
Regression query
Hi
I have a set of data with both quantitative and categorical predictors.
After scaling of response variable, i looked for multicollinearity (VIF
values)
among the predictors and removed the predictors who were hinding some of the
other significant
predictors. I'm curious to know whether the predictors (who are not
significant)
while doing simple 'lm' will be involved in
2005 Nov 07
2
how to export density_function output?
Dear all,
quite a naive question: I have a data frame and I computed "the kernel
density estimate" with density on each column.
Now I'd like to export in a txt file the density function output for each
column, but, when if I use write.table, I get a message "Error in
as.data.frame.default(x[[i]], optional = TRUE) : can't coerce class
"density" into a
2007 May 27
1
Problem while working with SPSS data
Dear all R users,
I got a strange problem while working with SPSS data :
I wrote following :
library(foreign)
data.original = as.data.frame(read.spss(file="c:/Program Files/SPSS/Employee
data.sav"))
data = as.data.frame(cbind(data.original$MINORITY, data.original$EDUC,
data.original$PREVEXP, data.original$JOBCAT, data.original$GENDER))
colnames(data) = c('MINORITY',
2006 Mar 25
0
Re: Rails Digest, Vol 18, Issue 654
Radrails! Certainly complies with what you are looking for and much more.
(Ctrl-Shift-V to toggle the editor between Model and View, for example).
Runs as a standalone application, or as a feature (plugin) on the Eclipse
platform. Cross platform either way.
Then there''s the cost: it''s free!
RadRails: http://www.radrails.org/
(Just one the award for best open source Eclipse
2001 May 10
0
Printer drivers, document defaults
Hi,
I recently posted several mails concerning my problems with samba 2.2.0
acting as a server for printer drivers. The drivers are downloaded to
the Windows clients, but the document defaults get muddled up. Even if
I set the document defaults to German Page Size "A4", applications insist
in setting the doucment page size to "Legal" or "Letter".
Is there anyone
2005 Jul 28
1
Need help with the rsync library and the communication protocol
Hey,
I'm currently adding rsync to pacman (http://archlinux.org/pacman). A static
version of the program is used for rescue operations. Because of this it
is impossible to use the rsync client programm via an execve call and we
need a version implemented in C.
So I started implementing it. But the rsync source isn't beautiful or structured
- it's just a big hunk of code. I spent
1998 Nov 10
0
Very newbie intro to SAMBA
All the people who know what they are doing, please
skip this post (except for constructive criticism and advise,
which newbies could alway's use). Thanks.
Intro for newbie's, by a barely-one-day-old SAMBA user
First, there is some useful documentation on Samba at
/samba.anu.edu.au. The doucmentation is well-written,
but need's to be slowly ingested: information overload
is
2004 Jun 11
1
Regression query : steps for model building
Hi
I have a set of data with both quantitative and categorical predictors.
After scaling of response variable, i looked for multicollinearity (VIF
values) among the predictors and removed the predictors who were hinding
some of the
other significant predictors. I'm curious to know whether the predictors
(who are not significant) while doing simple 'lm' will be involved in