Displaying 20 results from an estimated 2000 matches similar to: "New user: Custom probability distribution"
2006 Jan 03
1
S4 default initialization: unwanted NULL
The default initialization for slots of class "factor" and
"data.frame" gives NULL. This seems odd, since those slots can't ever
be set to NULL by the user. I would expect zero-length instances of
factor and data.frame.
Here is an example:
setClass("FOO", representation(a="factor", b="data.frame", c="numeric"))
[1] "FOO"
2005 Nov 01
4
S4 classes in existing packages
R-devel,
I'm interested in looking at some examples of existing R packages that
rely heavily on S4 classes to get a feel for varying styles and
package organization techniques. Could you recommend any packages
that might serve as a good starting point?
Thanks in advance,
Jeff
2005 Nov 01
4
S4 classes in existing packages
R-devel,
I'm interested in looking at some examples of existing R packages that
rely heavily on S4 classes to get a feel for varying styles and
package organization techniques. Could you recommend any packages
that might serve as a good starting point?
Thanks in advance,
Jeff
2006 Jun 30
5
median of gamma distribution
Doese anyone know a R function to find the median of a gamma distribution?
[[alternative HTML version deleted]]
2006 Feb 14
1
Inverse cumulative probability
Hello all,
(First of all, I'd like to thank all who replied to my previous
question. I have never encountered such a helpful community before.
Thanks for making a R so welcoming.)
To calculate a quantile for normal distributions, one simply uses
qnorm(1-a). But if I would want to do the same for a t-test function,
how would I go about doing that? Is there a simple way to do it? (Yes, I
2008 Oct 26
1
Mallows' distance or Earth Mover's distance in R?
Hi
I am looking for an implementation (or alternative to) Mallow's
distance or the Earth Mover's distance to compare distributions or
unnormalized distributions (signatures).
Is there an implementation in R or can somebody recommend an alternative?
Thanks
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of
2005 Oct 22
0
after package reorganization: version 1.6 of package "distr" available; new packages "distrEx", "distrSim", "distrTEst", "RandVar"
After some reorganization, we would like to announce the availability
on CRAN of a new version (1.6) of our package "distr" as well as the
availabilty on CRAN of the new packages "distrEx", "distrSim",
"distrTEst", "RandVar".
-----------------------------------------------------------------------------------------
Changes from 1.5 to 1.6
-[former
2005 Oct 22
0
after package reorganization: version 1.6 of package "distr" available; new packages "distrEx", "distrSim", "distrTEst", "RandVar"
After some reorganization, we would like to announce the availability
on CRAN of a new version (1.6) of our package "distr" as well as the
availabilty on CRAN of the new packages "distrEx", "distrSim",
"distrTEst", "RandVar".
-----------------------------------------------------------------------------------------
Changes from 1.5 to 1.6
-[former
2007 Apr 09
1
How to solve differential and integral equation using R?
Hello,
I want to know if there are some functions or packages to solve differential
and integral equation using R.
Thanks.
Shao chunxuan.
[[alternative HTML version deleted]]
2008 Aug 14
1
cryptic message of R CMD check
Hi R-devels,
recently, we have seen a new warning by "R CMD check"
appearing for the devel-version of our package distrEx available on
r-forge, e.g. as
*|install.packages("/distrEx/",repos="http://r-forge.r-project.org")|*
Here is the warning:
%---------------------
[...snip ...]
* checking for unstated dependencies in R code ... WARNING
.get_S4_methods_list():
2005 Apr 20
6
Anova - adjusted or sequential sums of squares?
Hi
I am performing an analysis of variance with two factors, each with two
levels. I have differing numbers of observations in each of the four
combinations, but all four combinations *are* present (2 of the factor
combinations have 3 observations, 1 has 4 and 1 has 5)
I have used both anova(aov(...)) and anova(lm(...)) in R and it gave the
same result - as expected. I then plugged this into
2010 Aug 27
2
Virtualdub on kubuntu
I'm getting this problem when I try to open a video file.
An out-of-bounds memory access (access violation) occurred in module 'wined3d'......reading address 00000030.
Is their anything that can be done?
2010 Aug 25
3
ole:GetClassObject class Not Registered
I am trying to run a Windows app my company uses in-house in Wine. It installs ok but when I run it I get this:
Code:
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a
separate partition. I installed Ubuntu 12.04 (Alpha) on the root
partition, leaving the home partition unchanged. I now find that some
things don''t work, I think due to the fact that the system has been
updated and versions of libraries have changed. For example I get:
$ rails c
2005 Feb 11
1
importing minitab datasets
I'm having trouble using the read.mtp function in the foreign package
to import datasets from minitab (.mtw) format. Specifically, each file
I try to import fails to load any data beyond a header row stating the
version of Minitab that saved the dataset. I get this error:
incomplete final line found by readtableHeader on 'income.mtw'
The dataset appears to be complete (ie, using
2007 Feb 05
5
Beginner Question on Persp()
I recently downloaded R for Windows, running on Win XP. I'm trying to create
a perspective plot but not having any luck after reading the R manual and
several examples found on the Internet.
I have a 100 x 100 matrix of Z data as a tab-delimited text file exported
from Minitab. I read this in to R using read.delim; this seemed to go ok.
I created X and Y using seq() to get 100 divisions
2007 Jun 16
3
data.frame and subsetting problem
I have read the R online help and wiki and I cannot seem to get something to
work the way I need it to.
I want to create a new data frame from an subset of an existing data frame
which has no reference to the original superset. If you following this
example, what I am trying to do may make more sense.
I have a file with values like this:
shirt,size,40
shirt,color,10
shirt,length,10
2011 Mar 07
3
linear mixed model with nested factors
Hi R-help.
I am trying to run a linear mixed model with nested factors with either
lme or lmer and I am having no luck obtaining the same results as Minitab.
Here is Minitab's code:
MTB > GLM 'count' = site year replicate(site year) site*year;
SUBC> Random 'year' 'replicate';
Can you tell me how to code this in R?
The settings are typeII, Tukey,
2006 Jun 16
4
Form magic
Didn''t know what else to call this subject, sorry.
Anyway this is more a general discovery question then a coding one.
Is it possible (and I already know it should be) to create forms where
depending on a particular choice in one select tag, one or another
select tags would be presented in the form.
As an example, a shopping site , where a dropdown has options of:
1-Men''s shoes
2004 May 14
1
covariates in lm
Dear R list,
I have been trying to do a linear model, extracting the effect of a
covariate.... and the results do not match, when I do it with other programs
(e.g. minitab).... so it is obvious that I was doing something wrong.
Whan I do it with minitab, I have this results: (sector is a factor and depth
is the covariate):
Source DF Seq SS Adj SS Adj MS F P