Displaying 20 results from an estimated 140 matches similar to: "Interpretation of output from glm"
2010 Oct 03
1
scatterplot error message
Hi All. I am a new R user. Trying to do scatterplot. Not sure how to
resolve this error message
A<-subset (ErablesGatineau, station=="A")
> B<-subset (ErablesGatineau, station=="B")
>
> plot(diam ~ biom)
> abline(lm(diam ~ biom), col = "red")
>
> goodcases <- !(is.na(diam) | is.na(biom))
> lines(lowess(diam[goodcases] ~
2008 Aug 27
3
Closest value
Hello,
I have this command:
x.axis <- seq(from=0.5, to=4.5, length.out=13112)
How can I which of the x.axis components is the closest to a given
value, for example 3.2?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
Centro de Investigaci?n
2008 Mar 08
1
ask for help on nonlinear fitting
I have a table like the following. I want to fit Cm to Vm like this:
Cm ~ Cl+Q1*b1*38.67*exp(-b1*(Vm-Vp1)*0.03867)/(1+exp(-b1*(Vm-Vp1)*0.03867))^2+Q2*b2*38.67*exp(-b2*(Vm-Vp2)*0.03867)/(1+exp(-b2*(Vm-Vp2)*0.03867))^2
I use nls, with start=list(Q1=2e-3, b1=1, Vp1=-25, Q2=3e-3, b2=1,
Vp2=200). But I always get 'singlular gradient' error like this. But
in SigmaPlot I can get the result. How
2008 Jul 09
3
Expression in axis
Hello,
I am creating a plot and I would like to know how to put this expression
to the y axis
?mol/10^6 cells
I've tried some combinations using the expression() function, but none
of them worked.
Any idea?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de
2007 Nov 22
2
Cutting a vector
Hello,
I have a vector, lets say
x <- 1:50
I would like it to be cut at certain points, being for example 1:5,
6:11, 12:17, ...
How can I do it? I have tried the cut() function, but I don not know how
to place the cutting points properly.
Best regards,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
2008 Aug 27
1
Combine x-axis labels size
Hello,
I would like to combine different label sizes in the same x-axis, for
example
1 2 3 4 5 6 7 8 9
How can I do it?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
Centro de Investigaci?n Biom?dica en Red
en Bioingenier?a, Biomateriales y
2008 Feb 05
0
[Fwd: Problems when checking a package]
Forget my last message, it was a really stupid problem. Sorry about the
mess.
Best,
Dani
-------- Missatge original --------
Assumpte: Problems when checking a package
Data: Tue, 05 Feb 2008 11:20:28 +0100
De: Dani Valverde <daniel.valverde at uab.cat>
A: R Help <r-help at r-project.org>
Hello,
I am tryining to build a package called NMRTools and when I check it
using R CMD
2008 Feb 19
1
Interpolation between 2 vectors
Hello,
I have two vectors, one with 13112 points and the other one with 10909.
I wonder if there is a way to interpolate the data so the shorter
vectors has the same number of points as the longer one.
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s-
2008 Jun 02
1
LDA and centroids
Hello,
I have carried out an lda analysis using the lda function of MASS
package. I have plotted the LD1xLD2 to represent the data. Now I would
like to get the centroids for each group of data and plot it on the
LD1xLD2 graph. How can I get the centroid value from the lda object?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la
2010 Feb 26
1
factorial block design with missing data
Hello!
I have read somewhere (somehow, I can't seem to find it again, it's been a couple of months) that when analyzing factorial block design, the position where you put the block factor is important, even more when there are missing values.
I understand that when using anova.lm, the order is sequential, so that if I want to check for a treatment effect, I should put my blocking factor
2008 Jun 06
1
lsmeans
Hello,
I have the next function call:
lme(fixed=Error ~ Temperature * Tumour ,random = ~1|ID, data=error_DB)
which returns an lme object. I am interested on carrying out some kind
of lsmeans on the data returned, but I cannot find any function to do
this in R. I'have seen the effect() function, but it does not work with
lme objects. Any idea?
Best,
Dani
--
Daniel Valverde Saub?
Grup
2008 Feb 20
3
Rd to latex
Hello,
I would like to convert an Rd object to a latex file, so that I can put
it in my thesis. How can I do it? I tryed latex(), but it only works for
code...
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
Centro de Investigaci?n Biom?dica en
2008 Sep 01
2
Text
Hello,
I would like to place some text that should appear in the same position
of the graphic device, preferably outside the plotting area, regardless
the x and y axes limits. How can I do this?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
2008 Feb 26
1
GLM
Hello,
I am trying to perform a glm analysis on a 68x13113 matrix (named
data.spect). The first column corresponds to the predictor
(data.spect[,1]) and the rest to the response variables
(data.spect[,2:13113]). When I try this code
glmObject <- glm(data.spect[,2:13113]~data.spect[,1])
I get the following error:
Error: (subscript) logical subscript too long
Could anyone help me on
2010 Jan 20
2
Samba shares freezing
All,
Looking for some help here. Not finding anything on the net that
looks the same as what I'm seeing. Running Solaris 10 Sparc, on a
Sunfire 5220, 16Gb of RAM. Samba version 3.4.5 and using ZFS file
systems with user quotas.
All cifs clients shares to this server freeze after about 10 to 15
minutes of connectivity. Only fix is to restart samba. I'm not getting
any errors
2008 Jun 19
1
ANOVA error
Hello,
I have a dataframe named myMatrix with the structure
Treatment Time Cr mIb ...
Being the treatment and time the predictors and Cr, mIb and so on the
response variables. When I call
Cr.aov <- aov(Cr~Treatment, data=myMatrix)
I got this error:
Error in storage.mode(y) <- "double" :
invalid to change the storage mode of a factor
In addition: Warning message:
In
2008 May 24
1
Problems with lme
Hello,
I want to perform an lme on a database with this structure:
ID Sequence Temperature Tumour Error
1 5 0 1 8.721872e-08
1 5 0 2 8.695348e-08
1 5 0 3 2.019604e-13
1 5 37 1
2008 Nov 20
2
Fitting a model
Hello,
This is a very basic question, but I don'y know the answer. I have these
data
delta <-
c(28.6-8.825,28.6-8.828,28.6-8.836,28.6-8.845,28.6-8.897,28.6-8.944,28.6-9.027,28.6-9.091,28.6-9.263,28.6-9.4,28.6-9.7,28.6-9.981,
28.6-10.287,28.6-10.48,28.6-10.684,28.6-10.875)
ph <- c(4.4,4.6,4.8,5,5.2,5.4,5.6,5.8,6,6.2,6.4,6.6,6.8,7,7.2,7.4)
2008 Aug 28
2
Read a file
Hello,
I have a text file with this structure:
# File created = Thursday, August 28, 2008 3:33:02 PM GMT
# Data set = 373 2 1 C:\Bruker\TOPSPIN GABRMN
# Spectral Region:
# LEFT = 4.5 ppm. RIGHT = 0.5 ppm.
#
# SIZE = 13111 ( = number of points)
#
# In the following ordering is from the 'left' to the 'right' limits!
# Lines beginning with '#' must be considered as
2008 Feb 20
1
insert() function
Hello,
I am trying to insert a certain number of points into a certain position
of a vector with this code:
x <- seq(1:10909)
x1 <- c(13112-10909)
spect1 <- rnorm(13112)
interpol <- approx(x,spect1,xout=c(seq(from=1, by=((10909 - 1)/(x1 -
1)), length.out=x1)))
pos <- round(interpol$x,0)
intensities <- interpol$y
spect2 <- insert(spect1,ats=pos,values=intensities)