Displaying 20 results from an estimated 2000 matches similar to: "Installing stats4 package"
2006 Apr 07
2
Dealing with missing values in HeatMap generation
Hi,
I want to generate a heatmap for my data (in a matrix). However, the
data has some missing values (represented as blank).
I get the following errors (with the blanks and with blanks replaced by
NA and including the option rm.na = TURE):
> filename = "input_heatmap.txt"
> g <- as.matrix(filedata)
> fg <- rainbow(nrow(g), start=0, end=.3)
> gg <-
2008 Oct 16
2
Saving results of Kruskal Walis test
Hello,
I am running Kruskal-Walis test in R. When I try to save results using
write.table it gives me the following error :
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) :
cannot coerce class "htest" into a data.frame
The overall code is as follows :
>data_file = read.table("~/DATA.dir/data_file.txt", header=T)
2012 Jul 05
3
Maximum Likelihood Estimation Poisson distribution mle {stats4}
Hi everyone!
I am using the mle {stats4} to estimate the parameters of distributions by
MLE method. I have a problem with the examples they provided with the
mle{stats4} html files. Please check the example and my question below!
*Here is the mle html help file *
http://stat.ethz.ch/R-manual/R-devel/library/stats4/html/mle.html
http://stat.ethz.ch/R-manual/R-devel/library/stats4/html/mle.html
2014 Jul 06
2
Depot for S3 to S4 generics (as in stats4)?
Dear developers,
the implementation of S4 generics for existing S3 ones in the base
package is concerned to be a threat to quick startup times [1]. But
since S4 is promoted, and S3/S4 interoperability a pain when package
developing [2], are there efforts to improve the situation? E.g. an S3
free system, etc.
A good thing [2] is the package 'stats4', including some setGeneric
calls (e.g.
2004 Sep 13
2
Problem with mle in stats4 (R 1.9.1)
Hi!
This is a repost of an earlier message (with a clearer example
demonstrating the problem I ran into). If you run the mle example in
stats4
library(stats4)
x <- 0:10
y <- c(26, 17, 13, 12, 20, 5, 9, 8, 5, 4, 8)
ll <- function(ymax=15, xhalf=6)
-sum(stats::dpois(y, lambda=ymax/(1+x/xhalf), log=TRUE))
(fit <- mle(ll))
plot(profile(fit),
2007 Jul 29
1
behavior of L-BFGS-B with trivial function triggers bug in stats4::mle
With the exception of "L-BFGS-B", all of the
other optim() methods return the value of the function
when they are given a trivial function (i.e., one with no
variable arguments) to optimize. I don't think this
is a "bug" in L-BFGS-B (more like a response to
an undefined condition), but it leads to a bug in stats4::mle --
a spurious error saying that a better fit
has been
2007 Aug 13
1
[Fwd: behavior of L-BFGS-B with trivial function triggers bug in stats4::mle]
I sent this in first on 30 July. Now that UseR! is over I'm trying again
(slightly extended version from last time).
With R 2.5.1 or R 2.6.0 (2007-08-04 r42421)
"L-BFGS-B" behaves differently from all of the
other optim() methods, which return the value of the function
when they are given a trivial function (i.e., one with no
variable arguments) to optimize. This is not
a bug in
2018 Jan 12
5
Help with packages (methods, stats, stats4)
hello,
Can you please give me a hand with this problem,well i can't install these
packages:
- stats
- methods
- stats4
when i tried the following command : *library(help = "stats") * , it gave
me this output (*see picture*), so i contacted the Maintainer of the
package at (*R-core at r-project.org <R-core at r-project.org>*) but he said that
i write to the wrong place.
(i
2018 Jan 12
0
Help with packages (methods, stats, stats4)
hello ,
i am so sorry , i figure it out.
im sending this msj to the moderator to stop the approval of the mail .
have a good day.
2018-01-12 15:42 GMT+00:00 imane hajar <imane.chafiki.fst at gmail.com>:
> hello,
> Can you please give me a hand with this problem,well i can't install
> these packages:
> - stats
> - methods
> - stats4
>
> when i tried the
2008 Dec 11
1
help with predict in stats4
Hi,
We're using stats4 for a logistic regression. The code is
chdreg.logit2 <- glm(chd ~ age + sex, family = binomial)
summary(chdreg.logit2)
oddsratios <- coef(chdreg.logit2)
exp(oddsratios)
# Calculate model predicted values
pred <- predict(chdreg.logit2,type="response")
The glm part runs fine, and up to now so has the predict function.
However, now we're
2018 Jan 12
2
Help with packages (methods, stats, stats4)
Hi,
Did you try install.packages('stats').
Let we know about your Sys.info()
Karim
On Fri, Jan 12, 2018 at 5:37 PM, imane hajar <imane.chafiki.fst at gmail.com>
wrote:
> hello ,
>
> i am so sorry , i figure it out.
>
> im sending this msj to the moderator to stop the approval of the mail .
>
> have a good day.
>
>
> 2018-01-12 15:42 GMT+00:00 imane
2018 Jan 12
0
Help with packages (methods, stats, stats4)
On 12/01/2018 1:11 PM, Karim Mezhoud wrote:
> Hi,
> Did you try install.packages('stats').
That will not work, as stats is a base package. It comes with R, and
can't be changed. The stats package should never be missing in a proper
install of R.
Duncan Murdoch
> Let we know about your Sys.info()
> Karim
>
> On Fri, Jan 12, 2018 at 5:37 PM, imane hajar
2019 Apr 24
1
Bug in "stats4" package - "confint" method
Dear R developers,
I noticed a bug in the stats4 package, specifically in the confint method applied to ?mle? objects.
In particular, when some ?fixed? parameters define the log likelihood, these parameters are stored within the mle object but they are not used by the ?confint" method, which retrieves their value from the global environment (whenever they still exist).
Sample code:
>
2018 Jan 12
2
Help with packages (methods, stats, stats4)
Yes,
You are right. I mean
install.packages('DVstats').
Actually, it seems that DVstats does not have maintainer
https://github.com/USGS-R/DVstats
Karim
On Fri, Jan 12, 2018 at 7:20 PM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 12/01/2018 1:11 PM, Karim Mezhoud wrote:
>
>> Hi,
>> Did you try install.packages('stats').
>>
>
> That
2011 Aug 03
0
confint() in stats4 package
Hi there,
I had a problem when I hoped to get confidence intervals for the
parameters I got using mle() of stats4 package. This problem would not
appear if ``fixed'' option was not used. The following mini-example will
demo the problem:
x <- c(100, 56, 32, 18, 10, 1)
r <- c(18, 17, 10, 6, 4, 3)
n <- c(18, 22, 17, 21, 23, 20)
loglik.1 <- function(alpha, beta, c) {
x
2018 Jan 12
0
Help with packages (methods, stats, stats4)
On 12/01/2018 1:25 PM, Karim Mezhoud wrote:
> Yes,
> You are right. I mean
> install.packages('DVstats').
That won't work either, because DVstats is not on CRAN.
> Actually, it seems that DVstats does not have maintainer
> https://github.com/USGS-R/DVstats
You can try
install.packages("devtools") # if not already installed...
2005 Oct 04
2
Question regarding behavior of virt_to_bus ....
Hi Folks,
I need some large chunk of physical memory, so I allocate it early using
alloc_bootmem_low_pages and use it later (akin to bigphysarea patch).
The trouble I am having is the following. Suppose the virtual address
for the memory area is 0xc14d6000. After xen_create_contiguous_region
call, I do a virt_to_bus and the bus address comes out to be 0x18000000.
So far so good. However,
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
The patch file is a diff file generated by "svn diff". It is about other
modifications such as adding some lines to make files to make the added .c
and .cpp files compiled. You may apply the patch file to LLVM source code by
using a "patch" command or make the changes manually by reading the patch
file.
Xiaoming
On Wed, Sep 28, 2011 at 6:05 AM, Himanshu Shekhar
2006 Apr 14
1
[PATCH][VT] minor patch for tracing VMEXIT/VMENTRY for 64 bit systems
This patch enables tracing VMEXIT/ENTRY for 64-bit systems (are there any 32-bit
VT enabled systems out there?)
Signed-off by Himanshu Raj (rhim.list@nosuchaddr.com)
--
-------------------------------------------------------------------------
Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.
2009 Oct 06
2
mle from stats4
I am using mle as a wrapper from optim( ). How would I extract the
convergence code, to know that optim( ) converged properly?
Thanks,
Stephen Collins, MPP | Analyst
Global Strategy | Aon Benfield
[[alternative HTML version deleted]]