Displaying 20 results from an estimated 1000 matches similar to: "help : Bisect( )"
2005 May 03
1
maximization help :
Given a vector : pvec=(p1,p2,.... p J) with sum(pvec)=1, all the
elements are non-negative, that is, they are probabilities
a matrix A ( N* J ), with the elements alpha(ij) are 0 or 1
I want to MAXIMIZE THE RESULT
RESULT= product( i=1, to N [ sum ( alpha(ij)* pj , j =1,to J
) ] )
thus, I need to get pvec. how should I do ?
for example
2007 Apr 27
1
error returned by "make check" in R-2.5.0
Today I tried to install the R-2.5.0 (currently running R-2.4.1) on
Mandriva Linux. The ./configure and make commands seem to run fine,
but "make check" gives the following messages:
running regression tests
make[3]: Entering directory `/home/ethomp04/R-2.5.0/tests'
running code in 'reg-tests-1.R' ...make[3]: *** [reg-tests-1.Rout] Error 1
make[3]: Leaving directory
2010 Aug 31
1
Q about package Icens: change the color of the shading in plot function
Hello!
I want to use the Icens package for analyzing interval-censored data. This code from the manual gives me what I want.
library(Icens)
data(cosmesis)
csub1 <- subset(cosmesis, subset=Trt==0, select=c(L,R))
e1 <- VEM(csub1)
plot(e1)
However, I would like to change the color of the shading from green to something less green, say gray. Any ideas how I could do that? I looked at par, but
2011 Apr 11
1
R CMD build --resave-data
Hi,
More about the new --resave-data option
As mentioned previously here
https://stat.ethz.ch/pipermail/r-devel/2011-April/060511.html
'R CMD build' and 'R CMD INSTALL' handle this new option
inconsistently. The former does --resave-data="gzip" by default.
The latter doesn't seem to support the --resave-data= syntax:
the --resave-data flag must either be
2004 Jul 23
2
Complex Surveys...Specifying Design
I need some guidance from someone who is familiar/has some experience with
the survey package.
The data that I am using is from the Medical Expenditure Panel Survey
(www.meps.ahrq.gov <http://www.meps.ahrq.gov/> ). The STRATA and PSU
variables are varstr01 and varpsu01 respectively. When I try to specify
them with the svydesign function I get an error message. An excerpt of my
session
2013 Feb 27
0
[LLVMdev] Question about intrinsic function llvm.objectsize
On 2/27/13 11:21 AM, Arnold Schwaighofer wrote:
> On Feb 27, 2013, at 12:37 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
>
>> Hi, Nuno and Arnold:
>>
>> Thank you all for the input.
>>
>> Let me coin a term, say "clique" for this discussion to avoid unnecessary confusion.
>> A clique is statically or dynamically allocated
2013 Feb 27
0
[LLVMdev] Question about intrinsic function llvm.objectsize
Hi, Nuno and Arnold:
Thank you all for the input.
Let me coin a term, say "clique" for this discussion to avoid
unnecessary confusion.
A clique is statically or dynamically allocated type-free stretch of
memory. A "clique"
1) is maximal in the sense that a clique dose not have any
enclosing data structure that can
completely cover or, partially
2013 Feb 27
2
[LLVMdev] Question about intrinsic function llvm.objectsize
On Feb 27, 2013, at 12:37 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> Hi, Nuno and Arnold:
>
> Thank you all for the input.
>
> Let me coin a term, say "clique" for this discussion to avoid unnecessary confusion.
> A clique is statically or dynamically allocated type-free stretch of memory. A "clique"
> 1) is maximal in the sense
2006 Mar 31
0
help in using Icens package to estimate NPMLE for interval censored data
Dear all, I want to compute the NPMLE for interval censored data using the
EMICM function in Icens package, but I didn't find much detailed
instructions on how to use this. I couldn't even figure out how to specify
the status of right censored, interval censored, observed. (probably due to
my level of understanding.) Does anyone have experience on using this and
could you please help me?
2012 Oct 26
0
parallel::pvec FUN types differ when v is a list; code simplifications?
In pvec(list(1, 2), FUN, mc.cores=2) FUN sees integer() arguments whereas
pvec(list(1, 2, 3), FUN, mc.cores=2) FUN sees list() arguments; the latter seems
consistent with pvec's description.
This came up in a complicated Bioconductor thread about generics and parallel
evaluation
https://stat.ethz.ch/pipermail/bioc-devel/2012-October/003745.html
One relevant point is that a
2011 Nov 16
1
Replacing values in matrix/dataframe according to changing criteria
Hi there,
I am doing some network analysis working with k-cliques and over time I
want to see what nodes are members of what cliques and how big these
cliques are. I have managed to produce a matrix which shows which k-cliques
each node is part of over the 100 time periods (slow though) but I cannot
seem to calculate the size of each k-clique which is actually just a count.
Basically I have a
2010 Apr 15
1
Bug#481105: Lembrete: Marco Sinhoreli convidou você para entrar no Facebook...
=======================================
Para se cadastrar no Facebook, clique no link abaixo:
http://www.facebook.com/r.php?re=ca47b3637731fccfc88bd35833178a39&mid=23183cfG5af34a6fcadbG55893G46
=======================================
Ol?,
A pessoa abaixo convidou voc? para o Facebook:
Marco Sinhoreli (Invite sent: Mar 30, 2010)
O Facebook ? um ?timo ambiente para se manter em contato com
2011 Mar 19
2
problem running a function
Dear people,
I'm trying to do some analysis of a data using the models by Royle & Donazio
in their fantastic book, particular the following function:
http://www.mbr-pwrc.usgs.gov/pubanalysis/roylebook/panel4pt1.fn
that applied to my data and in the console is as follows:
> `desman.y` <- structure(c(3L,4L,3L,2L,1L), .Names = c("1", "2", "3",
2011 Jun 16
2
Bayesian Credible Intervals for a Proportion
I am trying to calculate Bayesian Credible Intervals for a proportion
(disease prevalence values to be more specific) and am having trouble using
R to do this. I am working with ncredint() function but have not had success
with it. Please help!
Example:
Positive samples = 3
Total sampled = 10
Prevalence = 0.3
pvec <- seq(1,10,by=1)
npost = dbinom(pvec,10,prob=0.3, log=FALSE)
ncredint(pvec,
2006 Aug 21
1
Clique technique-Package
Dear R Users,
I am looking clique a graph technique, to identify the values from the
dataset.
I tried with help.search("graph") it show's the graphics related stuff
Is there any package that i can use to find Clique in a dataset?
Thanks in Advance
JJ
--
Lecturer J. Joshua Thomas
KDU College Penang Campus
Research Student,
University Sains Malaysia
[[alternative
2016 Sep 16
5
(Thin)LTO llvm build
On Fri, Sep 16, 2016 at 10:54 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
> Can you look for the specific errors in the CMake log and error files?
>
> CMake is very good at not presenting the real issue…
> Here it is trying to build very simple programs to check features
> availability. Like:
>
> #include <strings.h>
> int main() { ffs(0); return 0;
2016 Sep 16
2
(Thin)LTO llvm build
> On Sep 16, 2016, at 2:27 PM, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>>
>> On Sep 16, 2016, at 2:18 PM, Carsten Mattner <carstenmattner at gmail.com> wrote:
>>
>> On Fri, Sep 16, 2016 at 10:54 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>>
>>> Can you look for the specific errors in the CMake log and
2004 Apr 30
1
Exact Binomial test feature or bug?
Dear R Users,
Is the p-value reported in a two-tailed binomial exact
test in error or is it a feature?
If it is a feature, could someone provide a reference
for its two-tailed p-value computations?
Using Blaker's (2000 - Canad. J. Statist 28: 783-798)
approach,the p-value is the minimum of the two-tailed
probabilities $P \left(Y\geq y_{obs}\right)$ and
$P\left(Y\leq y_{obs}\right)$
1999 Apr 29
1
R-0.64.0 installation on SGI IRIX 6.5 machine
Hi,
I am trying to install R-0.64.0 version on SGI machine running
IRIX 6.5.
Machine details:
319 <mind.krasnow.gmu.edu:R-0.63.3> uname -a
IRIX64 mind 6.5 07271714 IP27
Configure script runs fine and the output at the end of configure is:
R is now configured for mips-sgi-irix6.5
Source directory: /usr/local/R-0.64.0
Installation directory: /usr/local
C compiler:
2005 Oct 14
2
Fortran?
In a package, i type a function name and got the following message:
...
tmp <- .Fortran("master", x = as.double(x), y = as.double(y),
sort = as.logical(sort), rw = as.double(rw), npd = as.integer(npd),
ntot = as.integer(ntot), nadj = integer(tadj), madj = as.integer(madj),
ind = integer(npd), tx = double(npd), ty = double(npd),