Displaying 20 results from an estimated 800 matches similar to: "Error while installing 'netmodels'"
2010 Apr 20
1
fit a line to power law distribution
Hi,
I am trying to fit a line in the log plot of my networks degree distribution
to show that it is a power-law distribution. I am using the following
commands. However, I am not able to see the fitted line. Any comments to
help?
I am using following packages: igraph, splines,base,VGAM, netmodels.
g is my network, d is the degree of nodes in the network, and dd is the
degree distribution
d
2008 Apr 18
2
rzinb (VGAM) and dnbinom in optim
Dear R-help gurus (and T.Yee, the VGAM maintainer) -
I've been banging my head against the keyboard for too long now, hopefully someone can pick up on the errors of my ways...
I am trying to use optim to fit a zero-inflated negative binomial distribution. No matter what I try I can't get optim to recognize my initial parameters. I think the problem is that dnbinom allows either
2012 Jan 10
1
S4 summary method not being called (VGAM)
The symptom triggering this email is that an S4 summary method sometimes refuses to be invoked, even when a package is explicitly loaded, if the first load of the package is implicit. It may or may not be specific to 'summary' methods and/or the 'VGAM' package. I've sent to R-devel because (i) it looks like some kind of bug to me, but I'm not sure; (ii) it's not
2010 Apr 20
0
Visualize a fitted line in a log plot of a power law distribution
Hi,
I am trying to fit a line in the log plot of my networks degree distribution
to show that it is a power-law distribution. I am using the following
commands. However, I am not able to see the fitted line. Any comments to
help?
I am using following packages: igraph, splines,base,VGAM, netmodels.
g is my network, d is the degree of nodes in the network, and dd is the
degree distribution
d
2002 Jun 28
1
windres problem
Hello,
I am trying to build an R package for Windows from an R package
for Linux. There seems to be a "windres" problem somewhere.
Here's what I get.
C:\Temp>Rcmd build --binary VGAM > mm
make[2]: windres: Command not found
make[2]: *** [VGAM_res.o] Error 127
make[1]: *** [src/VGAM.dll] Error 2
make: *** [pkg-VGAM] Error 2
In more details, it goes like the following.
2005 May 28
3
Incompatibility with VGAM
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't have a $family
component, (it has a component
$vfamily).
I thought namespaces should protect us from this happening?
Kjetil
--
2013 Apr 17
1
Bug in VGAM z value and coefficient ?
Dear,
When i multiply the y of a regression by 10, I would expect that the
coefficient would be multiply by 10 and the z value to stay constant. Here
some reproducible code to support the case.
*Ex 1*
library(mvtnorm)
library(VGAM)
set.seed(1)
x=rmvnorm(1000,sigma=matrix(c(1,0.75,0.75,1),2,2))
2011 Jun 22
2
VGAM constraints-related puzzle
Hello R users,
I have a puzzle with the VGAM package, on my first excursion into
generalized additive models, in that this very nice package seems to
want to do either more or less than what I want.
Precisely, I have a 4-component outcome, y, and am fitting multinomial
logistic regression with one predictor x. What I would like to find
out is, is there a single nonlinear function f(x) which acts
2007 Jan 30
3
silent loading of packages
I would like to turn off all the messages during
library(aPackage) or
require(aPackage)
I tried different commands: invisible, capture.output, sink but none of them is working.
For example, loading VGAM, gives a lot of unnecessary messages:
> library(VGAM)
Attaching package: 'VGAM'
The following object(s) are masked from package:splines :
bs
The
2008 Feb 15
0
Poisson-lognormal probability calculations
Hi,
just for the record, although I don't think it's relevant (!)
-------------------------------------
> sessionInfo()
R version 2.6.0 (2007-10-03)
i386-pc-mingw32
locale:
LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United
Kingdom.1252;LC_MONETARY=English_United
Kingdom.1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats4 splines
2007 Jul 16
2
Error while fitting Partial Proportional Odds model using vglm
Dear R developers:
I am trying to fit a PPO model using vglm from the library VGAM, and get an
error while executing the code. Here is the data, code, and error:
Data: first row is the column names. a = age, and 1,2,3, 4 and 5 are
condition grades.
a 1 2 3 4 5
1 1 0 0 0 0
2 84 2 7 10 2
3 16 0 6 6 2
4 13 0 3 4 0
5 0 0 0 1 0
Library(VGAM)
2009 Jun 05
2
p-values from VGAM function vglm
Anyone know how to get p-values for the t-values from the coefficients
produced in vglm?
Attached is the code and output ? see comment added to output to show
where I need p-values
+ print(paste("********** Using VGAM function gamma2 **********"))
+ modl2<-
vglm(MidPoint~Count,gamma2,data=modl.subset,trace=TRUE,crit="c")
+ print(coef(modl2,matrix=TRUE))
2010 Jul 05
1
question concerning VGAM
Hello everyone,
using the VGAM package and the following code
library(VGAM)
bp1 <- vglm(cbind(daten$anzahl_b, daten$deckung_b) ~ ., binom2.rho,
data=daten1)
summary(bp1)
coef(bp1, matrix=TRUE)
produced this error message:
error in object$coefficients : $ operator not defined for this S4 class
I am bit confused because some day ago this error message did not show up
and
2010 Mar 12
3
rmaxwell in C
Hi R useRs:
How can I generate a random sample from Maxwell Distribution in C language?
Since I know the function rmaxwell {VGAM}, I tried the function r2c {r2c}.
But I still cannot find the source code.
Thanks for your kind help.
RegaRds,
2010-03-12
Randel
[[alternative HTML version deleted]]
2008 Feb 15
0
Behaviour of integrate (was 'Poisson-lognormal probability calcul ations')
Hi again,
Adding further information to my own query, this function gets to the core
of the problem, which I think lies in the behaviour of 'integrate'.
-------------------------------------
function (x, meanlog = 0, sdlog = 1, ...) {
require(stats)
integrand <- function(t, x, meanlog, sdlog) dpois(x,t)*dlnorm(t,
meanlog, sdlog)
mapply(function(x, meanlog, sdlog, ...)
#
2008 Feb 18
0
Solved (??) Behaviour of integrate (was 'Poisson-lognormal probab ility calculations')
Hi Again,
I think I've solved my problem, but please tell me if you think I'm wrong,
or you can see a better way!
A plot of the integrand showed a very sharp peak, so I was running into the
integrand "feature" mentioned in the note. I resolved it by limiting the
range of integration as shown here:
--------------------------------------------------
function (x, meanlog = 0,
2006 Oct 05
2
VGAM Package ?
Hi! R users
I would like to ask you where could we find the VGAM Package. I don't find
it in the list of packages.
Thak you for your help
Lassana KOITA
Etudes de S?curit? et d'Exploitation a?roportuaires / Safety Study &
Statistical analysis
Service Technique de l'Aviation Civile (STAC) / Civil Aviation Technical
Department
Direction G?n?rale de l'Aviation Civile (DGAC) /
2009 Aug 21
2
using loglog link in VGAM or creating loglog link for GLM
I am trying to figure out how to apply a loglog link to a binomial
model (dichotomous response variable with far more zeros than ones).
I am aware that there are several relevant posts on this list, but I
am afraid I need a little more help. The two suggested approaches
seem to be: 1) modify the make.link function in GLM, or 2) use the
loglog or cloglog functions in the VGAM package.
2007 Oct 29
1
VGAM and vglm
Hi Folks,
I wonderif someone who is familiar with the details
of vglm in the VGAM package can assist me. I'm new
to using it, and there doesn;t seem much in the
documentation that's relevant to the question below.
Say I have a vector x of 0/1 responses and another
vector y of 0/1 responses, these in fact being a
bivariate set of 0/1 responses equivalent to
cbind(x,y).
E.g.
2005 Sep 01
1
controlling where *.Rout gets printed. Possible?
OK, my journey to make lab machines automagically install & update all
desirable R packages is nearing an end! The only question I have now is
this: How can I control where the system prints the *.Rout file that is
created automatically when the R batch program runs. In "man R" I don't
find any information about it. When the cron job runs "R_installAll.sh"
(see