Displaying 20 results from an estimated 1000 matches similar to: "generating points over a function, its possible???"
2003 Feb 04
2
testing slope
Hi all,
I try to test a linear slope using offset.
I have:
> m2 <- glm(Y~X*V)
> summary(m2)
Call:
glm(formula = Y ~ X * V)
Deviance Residuals:
Min 1Q Median 3Q Max
-2.01688 -0.56028 0.05224 0.53213 3.60216
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.3673 0.8476 1.613 0.119788
X
2002 May 02
2
plot survival points
Hi all,
I have a little problem.
I make an weibull survival analysis using the survival package. It,s OK, them
I have the functions. I plot this funcions with curve(). I want to make a
plot with the real survival points (proportion of alive x time) and them add
the curves to points. I have the time to dead, the censor data and my
trataments. To analysis the model is:
model1 <-
2003 Mar 21
2
Trying to make a nested lme analysis
Hi,
I''m trying to understand the lme output and procedure.
I''m using the Crawley''s book.
I''m try to analyse the rats example take from Sokal and Rohlf (1995).
I make a nested analysis using aov following the book.
> summary(rats)
Glycogen Treatment Rat Liver
Min. :125.0 Min. :1 Min. :1.0 Min. :1
1st Qu.:135.8
2003 May 05
3
Help to make a for for index
Hi,
I try to make a vector in a for for loop, but it dont work.
Look:
> a <- 0;for(i in c(1:2)) { for(j in c(1:2)) { a <- i+j; print(a)}}
[1] 2
[1] 3
[1] 3
[1] 4
I try to make this a vector, like this:
[1] 2 3 3 4
> a <- 0;for(i in c(1:2)) { for(j in c(1:2)) { a[j] <- i+j}}; print(a)
[1] 3 4
> a <- 0;for(i in c(1:2)) { for(j in c(1:2)) { a[i] <- i+j}}; print(a)
[1]
2002 Aug 02
1
doubt about contrib...
Hi,
I have a little doubt about contrib packages.
I make some little functions in a R package format, this functions are for my
personal use (envelopes for glm models and a plot bar routine).
Some friends ask me about the liberation of this functions in a web site, R
contrib etc.
what is the correct procedure for send a package to R contrib?
The functions is not create for me, is adaptaded to R
2002 Jun 20
2
understanding the output
Hi all,
I try to understand the output of the summary(model).
I make a simple model.
> summary(m1anova)
Call:
glm(formula = peso ~ gen)
Deviance Residuals:
Min 1Q Median 3Q Max
-4.3114 -2.3788 -0.9167 2.1581 5.7856
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 4.8660 0.9808 4.961 0.000101 ***
gen2g 3.8504
2001 Jan 17
3
how to save results???
Hi,
I'm a new R's user. I am using "faq" and "An Introdution to R" to learn.
My main problem for start the learning is: how to save my result in a output
file?
I has used the sink CMD or $ R > [output file], but the commands go to file
and can't to be read in Linux Terminal. The workspace saved at the end of
section save only commands and dont save results.
2001 Oct 29
3
cluster
Hi,
I have the graph below:
| 422
| 1 321
| 1
| 1
|32 1
|23
|_______________________
The numbers are points in coordinates (simplified graph).
I need make a cluster analysis of this for identify groups and make a graph
with this groups under circle.
In R exist several packages for cluster analysis, but, which the package for
this analysis and
2002 Nov 20
2
R and default library
Hi,
I have R installed in a system, but I need to install some packages as normal
user on linux. Is possible to R use others library to get packages or one by
one?
Ex.
I have some main package installed in /usr/lib/R/library
And now I need to install my own packages in ~/R/library
And I need to use the packages in main library and in my own library.
Its possible?
Thanks
Ronaldo
--
2001 Oct 07
2
plot logist
Hi,
I make a glm analysis with binomial errors and its OK.
Now I need plot the ajusted logist line in my points. How do I make it?
| * * * * -> I need plot an ajusted
| * * line in this points.
| * *
| *
| * *
| * *
|* * * *
|_________________________
Exist an abline like function for ajust others formulas?
Exist in R
2002 Nov 28
1
big model on modest computer.
Hi,
I have a pentium III 600 with 128 ram running Linux.
I have a dataset with this variables in 12000 lines.
coleta = response (count data)
data = continuous data
latitude = continuous data
longitude = continuous data
variedade = categorical with 14 levels
solo = categorical with 22 levels
idade = continuous data
app = categorical with 4 levels
I want to test several models beginning by the
2002 Oct 10
1
CRAN mirror
Hi
how I must make to officialize my mirror in the main R website?
My CRAN's mirror is sited in Federal University of Vi?osa in Minas Gerais
State - Brazil.
The address is:
http://www.termix.ufv.br/CRAN
It is diary updated
Bie
Ronaldo
--
Q: How does a hacker fix a function which
doesn't work for all of the elements in its domain?
A: He changes the domain.
--
| //|\\
2002 Dec 12
1
equation on the object
Hi,
I try to put an equation on a object to use in curve for example,
but it don't work, it possible to make a object of an equation?
ex.
fx <- a + b*x
for(a in 0){for(b in 1){curve(fx,...)}}
Thanks you
Ronaldo
ps. Exist in R any functions to estimate severals curves parameters (non
interactive) for a dataset? Something like table-curve 2d.
--
If Karl, instead of writing a lot about
2002 Nov 28
1
output on glm.nb
Hi,
I make a model and have compared with null model.
anova(mnull,m1)
Model theta Resid. df 2xlog-lik test df LR stat. Pr(chi)
1 ... 0.39 161 -577.9129 NA NA NA
2 ... 1.30 150 -475.6839 1 vs 2 11 102.229 1.11e10-16
anova(m1)
Df Deviance Resid. Df Resid. Dev P(>|chi|)
NULL 161 282.139 9...
... ...
2002 Jul 04
1
doubt about DF in survival model
Hi all,
I have this,
Weibull distribution
n= 1000
> anova(pk.m0)
Df Deviance Resid. Df -2*LL P(>|Chi|)
NULL NA NA 999 1451.31 NA
> anova(pk.m0,pk.m1)
Terms Resid. Df -2*LL Test Df Deviance P(>|Chi|)
1 1 998 1451.310 NA NA NA
2 seed 996 1229.714 2 221.59557 7.605594e-49
With
2001 Dec 22
1
new.packages function for new packages
Hi all,
I use a function update.packages to update all packages in my R instalation.
But I need compare one by one packages to discovery new packages.
My question is: Exist in R any function that compare all installed packages
in my R and all packages available in CRAN and return a list of the new
packages (ie packages that I dont have im my installation) and automatic
download and install
2002 Sep 20
1
warning in binomial analysis
Hi,
I have make an analise with presence and absence, y=(1 e 0).
I have a area continuous data and a sp data with 25 levels. I have 300 points.
When I make
glm((presenca/peso)~area,weights=peso,family=binomial,maxit=1000)
where
presenca is 0 or 1.
peso is the unit = 1.
area is the continuous data.
The analysis is OK.
When I put the sp and interactions in analysis this warning appear.
2003 Apr 28
1
[OFF] File name completation on XEmacs+ESS.
Hi,
I try to make a key alias to XEmacs+ESS function Complete File Name.
But I dont know the name of this funcion.
Anybody know how this funcion is call?
(global-set-key "\C-tab" 'name of the function Complete File Name)
Thanks for all
Inte
Ronaldo
--
To beer or not to beer.
-- ShakesBeer
--
| // | \\ [*****************************][*******************]
||
2003 Apr 30
1
How to calculate the x to assymptotic value and curve inflection .
Hi,
I have this non-linear function:
y=115.251 - 118.69 * exp(-0.123517*x)
I try to discovery the x value for the assyntoptic value of y and the x value
where the behavior of curve change, the inflection point.
How to make this? Is poss?ble to make this on R?
Thanks
Ronaldo
--
O Flamengo e o Bangu terminaram o jogo em 0 x 0. Quem fez o gol?
A Volkswagen
--
| // | \\
2003 Mar 06
1
Problems with variable types.
Hi all,
I have problems in a dataframe variables types.
Look:
from a loop function:
for(...){
...
dados.fin <- rbind(dados.fin, c(L=j, A=j^2,
Nsp=nsps,
N=length(amosfin$SP),
AmT="am",NAm=nam,
AMST=amst))
dados.fin <- rbind(dados.fin, c(L=j, A=j^2,