Displaying 20 results from an estimated 200 matches similar to: "R-squared in Logistic Regression"
2002 Sep 25
2
Re-ordering the order of lattice graphics panels
Dear all
I have made some lattice graphs (bwplot(dead ~ treat | group,...).
'group' is a factor with three levels (Artemia larvae, Abalone larvae
and Abalone spat), and the result is a graph with three panels
corresponding to the levels in 'group', ordered in alphabetical order
from bottom to top, as expected.
How does one re-order the order in which the levels of
2006 Oct 03
2
pdf/ convert/ font problem
Background:
OS: Linux Ubuntu Dapper
R : Version 2.3.1 (2006-06-01)
Emacs 21.4.1
ESS
Colleagues
This is neither a bug report, nor a complaint, so I think this is the
appropriate list.
I am getting an odd font problem with a pdf generated using
pdf(file =
"../figures/PCNM.models.larvae.fluor.zoo.stability.2001.and.2002.pdf",
title="", family="serif",
2006 May 19
4
Cross correlation/ bivariate/ mantel
> Background:
> OS: Linux Ubuntu Dapper
> release: R 2.3.0
> editor: GNU Emacs 21.4.1
> front-end: ESS 5.2.3
> -----------------------------
> Colleagues
>
I have two spatial datasets (latitude, longitude, fish eggs) and (latitude, longitude, fish larvae) at the same 280 stations (i.e. 280 cases). I want to determine if the 2 datasets are spatially correlated. In other
2005 Mar 15
1
help w/ xyplot and panel.lmline
Dear All,
I'm confortable with xyplot(...) and panel.lmline(...) statements (at least I
thought I did :). I've used the following code to plot the decline in
log-abundance of fish larvae (no.larvae) with age (age.cls, 4 to 27 days-old)
for specific dates of sampling (day, 9 dates). I further plotted data with
different colors and regression lines for ages 5-14 d and 17-23 d in a 7-by-1
2004 Jul 29
3
Help w/ matrix calc
Dear All,
Help is needed! I have a matrix with frequencies of fish larvae per length
class (var. sl) and age-group (var. median.no) obtained with
>k<-table(cut(sl,(5:22)),median.no)
>k[2:5,1:5] #to ilustrate k
4 5 6 7
(6,7] 3 1 0 0
(7,8] 3 0 1 0
(8,9] 3 4 3 5
(9,10] 3 15 7 13
from this matrix I would like to obtain the mean age per length class i.e.
2013 Jan 18
1
lattice: loess smooths based on y-axis values
Hi there,
I'm using the lattice package to create an xy plot of abundance vs. depth for 5 stages of barnacle larvae from 5 species. Each panel of the plot represents a different stage, while different loess smoothers within each panel should represent different species.
However, I would like depth to be on the y-axis and abundance to be on the x-axis, because this is more intuitive as an
2008 May 29
1
In fact this is a Stats question, but... "The return."
*Thanks* all those who took the time to help me (even if the
"question" was not related to - the use of - R).
Now I think I can soundly make my point w/ the referee (can I use your
replies? If so I intend to properly cite its use?!?).
Regards, Eduardo Esteves
ps - Sorry for not explaining the "biological details" of my posting:
RNA/DNA is the ratio of RNA content to
2012 Apr 24
1
Nested longitudinal data
Hi,
I have some difficulty in figuring out whether I am doing correct or not.
A brief introduction about the work: It is a light/dark choice test
conducted in insect larvae. The response is binary (0- present in dark
area, 1-present in light area) and the experiment is run for 15 min, so
there are 15 repeated measurements per individual larva at 1 min
intervals. The factors which affect
2005 Jan 05
2
lme: error message with random=~1
Hello,
I have an unbalanced mixed model design with two fixed effects
"site" (2 levels) and "timeOfDay" (4 levels) and two random effects
"day" (3 consecutive days) and "trap" (6 unique traps, 3 per site).
The dependent variable is the body length ("BL") of insect larvae from 7
to 29 individuals per trap (104 individuals in total).
To account
2003 Aug 13
1
means comparison with seasonal time series?
Dear R list,
I have a sequence of weekly observations of number of adults and larvae
in various size classes from a butterfly population living in a
subtropical area with pronounced wet and dry seasons. Wet and dry
seasons are each defined 26 weeks long with fixed start and end dates.
The data span 103 weeks (two seasons each of wet and dry) with some
missing weeks. What I would like to do is
2011 May 24
0
Multivariable model
Hello r-list members,
I've been doing some linear modeling with a dataset structured as follows.
Tubes containing 500 larvae of Trichinella each were treated with one of
four different temperatures. Each day (or every 10 days depending on
treatment group), 3 tubes were selected from each treatment and all the dead
larvae were counted. The tubes were discarded. Final larvae counts were
2010 Oct 18
1
boxplot ranked x labels
Dear R users,
x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect
stages)
y-valus = antpop
within the boxplot function x-values are ordered alphabetically
Idea: x-values ranked by list order (insect stage: Egg stage 1 is
followed by Larvae 1 and not by Egg stage 2 as it would be in an
alphabetically order)
Problems with the order(tapply()) function: variable lengths
2005 Jul 28
2
lattice/ grid.layout/ multiple graphs per page
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
I have a set of lattice plots, and want to plot 4 of them on the page.
I am having trouble with the layout.
grid.newpage()
pushViewport(viewport(layout = grid.layout(2,2)))
pushviewport(viewport(layout.pos.col = 1, layout.pos.row = 1))
working trellis
2005 Oct 30
1
Help with Subtracting an effect from a Mixed Model
Hi Everyone,
I posted a similar question about a week ago, but haven't gotten any
replies -- I'm afraid that's because my previous question was too
vague. Let me try again with a more specific question, and I hope
someone can help. NOTE, I know I should be using the newer lme4
package, I just haven't had a chance to update my version of R yet, so
the question below relates
2011 Jul 10
3
change legend character size in image.plot
I'm using the image.plot() function (fields package), but I want to enlarge
the characters of the legend (as they are too small to be read in a combined
figure), but there is no way I can find a command to do this. I can enlarge
the legend bar (with legend.witdh), axis character size (cex.axis) or the
total legend size (legend.shrink), but not the character size of the legend
characters
2006 Apr 16
0
[S] Problems with lme and 2 levels of nesting:Summary
I have taken the liberty of including the R-help mailing list on this
reply as that is the appropriate place to discuss lmer results.
On 4/5/06, Andreas Svensson <andreas.svensson at bio.ntnu.no> wrote:
> Hello again
> I have now recieved some helpful hints in this matter and will summarize them but first let me reiterate the problem:
>
> I had two treatments: 2 types of food
2012 Jun 21
2
MGCV: Use of irls.reg option
Hi,
In the help files in the ?mgcv package for the gam.control() function,
there is an option irls.reg. The help files describe this option as:
For most models this should be 0. The iteratively re-weighted least squares
method by which GAMs are fitted can fail to converge in some circumstances.
For example, data with many zeroes can cause problems in a model with a log
link, because a mean of
2018 Jan 06
4
Error occurring in "emmeans" package for the two data sets I used. Please help.
I am a Professor of Statistics at Indira Gandhi Krishi Vishwavidyalaya,
Raipur, India. While teaching in class about analysis of variance using R,
I was doing a one-way analysis for the two data-sets given below in the
R-class. I got a typical error in "emmeans" package, please help:
Data-set-1:
--------------
Medley and Clements (1998) investigated the impact of zinc contamination
(and
2004 Mar 22
2
lme question
Hi,
I have a dataset like this,
> testdata
Grouped Data: expr ~ visit | subject
expr visit subject
1 6.502782 V1 A
2 6.354506 V1 B
3 6.349184 V1 C
4 6.386301 V2 A
5 6.376405 V2 B
6 6.758640 V2 C
7 6.414142 V3 A
8 6.354521 V3 B
9 6.396636 V3 C
I tried the command
>
2007 Aug 21
2
Optimization problem
Hello Folks,
Very new to R so bear with me, running 5.2 on XP. Trying to do a zero-inflated negative binomial regression on placental scar data as dependent. Lactation, location, number of tick larvae present and mass of mouse are independents. Dataframe and attributes below:
Location Lac Scars Lar Mass Lacfac
1 Tullychurry 0 0 15 13.87 0
2 Somerset 0 0 0