Displaying 20 results from an estimated 2000 matches similar to: "list of lists question"
2004 Dec 18
1
Sums of sq in car package Anova function
Hello R users,
I am trying to run a three factor ANOVA on a data set with unequal
sample sizes.
I fit the data to a 'lm' object and used the Anova function from the
'car' package with the 'type=III' option to get type III sums of
squares. I also set the contrast coding option to 'options(contrasts =
c("contr.sum", "contr.poly"))' as
2011 May 05
1
Boxplot in order
Hi,
I need construct box plot graph, but I want keep Groups
order
karla = data.frame(
Groups =
factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'),
11)),
Time = rep(c(0,7,14,21), 11),
Resp = valor
)
boxplot(Resp~Groups, order=T)
doesn't work.
How do this?
--------------------------------------
Silvano Cesar da
2005 May 23
1
installing R and Rcmdr onMacOS 10.3.9
I have been trying to install the new, patched R 2.1.0a along with the
Rcmdr on my mac. I got the basic R package installed, but in Project
Manager, the tcltk package will not install.
When I downloaded the Rcmdr binary package from the Berkeley site, it
did not show up on the package installer list until a second attempt,
but it still does not show up on the package manager list.
On
2018 Mar 07
2
Call for Papers: ManLang 2018 (Sept. 10-14, Linz, Austria)
------------------------------------------------------------------------------------------------
CALL FOR PAPERS
15th International Conference on Managed Languages & Runtimes
(ManLang'18)
September 10-14, 2018, Linz, Austria
http://ssw.jku.at/manlang18/
------------------------------------------------------------------------------------------------
ManLang (formerly PPPJ) is a
2018 Mar 12
0
Call for Papers: ManLang 2018 (Sept. 10-14, Linz, Austria)
Dear Person That Posted This Email,
Please be aware that calls for papers are only on-topic for this email
list if they are specifically about LLVM. For example, a call for a
workshop on LLVM in Scientific Computing would be on topic whereas a
general compiler call for papers (like the one below) is not.
That said, I hope you receive many strong submissions. Your conference
looks
2008 Oct 07
2
masking a regular lat/lon grid to extract map boundaries
Dear R-helpers,
I have lat/lon coordinates of regularly spaced grid points, about 4Km
apart, covering the entire US continental region.
I would like to mask this rectangular grid in order to extract all and
only the grid points within a specific region. Today I want to
extract Montana, say, from this grid, and I am hoping to somehow use
the returned value of the function
2008 Oct 24
4
gfortran optimization problems
Colleagues,
I have a routine in package labdsv that calls a FORTRAN subroutine.
Recently, I was informed that it sometimes gives different results on a
PC and Mac, and that the PC version is clearly wrong. I tested it on
linux (because I don't have a PC), and I get the same (incorrect)
behavior as the PC.
Simply by inserting debug WRITE statements in the FORTRAN I would get
different,
2008 Jun 13
2
Quartile regression question
I have data that looks like
lake,loglength,logweight
1,2.369215857,1.929418926
1,2.426511261,2.230448921
1,2.434568904,2.298853076
1,2.437750563,2.298853076
1,2.442479769,2.230448921
1,2.445604203,2.356025857
...
102,2.722633923,3.310268367
102,2.781755375,3.502153893
102,2.836324116,3.683407299
102,2.802773725,3.583312152
102,2.790285164,3.546419267
102,2.806179974,3.599118565
2005 Nov 30
8
Solving Systems of Non-linear equations
I am trying to write a function that will solve a simple system of
nonlinear equations for the parameters that describe the beta
distribution (a,b) given the mean and variance.
mean = a/(a+b)
variance = (a*b)/(((a+b)^2) * (a+b+1))
Any help as to where to start would be welcome.
--
Scott Story
Graduate Student
MSU Ecology Department
319 Lewis Hall
Bozeman, Mt 59717
406.994.2670
sstory at
2005 Nov 04
1
Stress in multidimensional scaling
Hello,
We are trying to find a function to compute "stress" in our
multidimensional scaling analysis of a dissimilarity matrix. We've used
"dist()" to create the matrix and "cmdscale()" for the scaling. In order
to determine the number of dimensions we would like to plot stress vs.
dimensions. However, we cannot find a pre-made command. It seems that
other
2008 Jun 10
3
newbie nls question
I'm tyring to fit a relatively simple nls model to some data, but keep coming up against the same error (code follows):
Oto=nls(Otolith ~ Linf*(1-exp(-k(AGE-to))),
data = ages,
start = list(Linf=1000, k=0.1, to=0.1),
trace = TRUE)
The error message I keep getting is "Error in eval(expr, envir, enclos) : could not find function "k"". I've used this
2008 Aug 19
1
Histogram binning
I am trying to produce frequencies in defined intervals however I can't seem
to figure out how to get R to bin my data the way I want it to.
I have several thousand lengths of fish that I want to be binned as follows:
Ex.
Length Bin
209 200
219 210
431 430
727 720
That is, bins with any length equal to or greater than the lower
2007 Jun 11
1
Rearranging Capture History Data in R
What code can i use to convert a table like this:
Tag# Date
1 1
2 1
3 1
4 1
2 2
4 2
1 3
2 3
4 4
Into one like this:
Tag 1 2 3 4 #Date header
1 1 0 0 1
2 1 1 1 0
3 1 0 0 0
4 1 1 0 1
Thanks,
Ben Cox
Research Assistant (M.S.)
Montana Cooperative
1999 Dec 06
2
perl advice
Hello-
Does anyone have a recommendation on how to call R from perl? I'm using
the IPC::Open2 module, and running R with the --slave and --quiet
options. The problem is that I can't predict how many lines of output I
should try to read for each command-- if any!
The ultimate goal is to use perl to provide a form-driven web interface,
but have R do the underlying calculations.
Thanks
2010 Aug 23
2
Quantile Regression and Goodness of Fit
All -
Does anyone know if there is a method to calculate a goodness-of-fit
statistic for quantile regressions with package quantreg?
Specifically, I'm wondering if anyone has implemented the
goodness-of-fit process developed by Koenker and Machado (1999) for R?
Though I have used package quantreg in the past, I may have overlooked
this function, if it is included.
Citation:
Koenker, R. and
2018 Oct 16
2
Comprobar los nombres de columnas entre varios dataframes
Buenas tardes,
Quiero aplicar la función rbind y necesito tener los mismos nombres de
columnas. Como tengo unas 195 variables en cada dataframe, necesito
hacerlo de una forma rápida. Tengo 9 bases de datos y tengo que fusionar
todas. ¿Como puedo comprobar que los nombres de las variables son los
mismos? Y de lo contrario, ¿como detecto las diferencias?
He probado con
2008 Dec 18
2
Contextstack overlow
All -
I have a number of rows that I am assigning length classes to via
l.class<-with(wae,
ifelse((Length>=120)&(Length<130),"125",
ifelse((Length>=130)&(Length<140),"135",
ifelse((Length>=140)&(Length<150),"145",
ifelse((Length>=150)&(Length<160),"155",
2008 Aug 22
2
Newbie programming help
All -
Not sure if this is a real programming question, but here goes:
I have data that looks like
Lake Length Weight
1 158 45
1 179 70
1 200 125
1 202 150
1 206 145
1 209 165
1 210 140
1 215 175
1 216 152
1 220 150
1 221 165
...
where lake goes from 1 - 84 and the number of rows for each lake is variable (but > ~20).
I'm trying to do two things: 1) build a simple linear model of the
2005 Nov 09
6
elements in a matrix to a vector
hi all,
i'm trying to get elements in a matrix into a vector. i need a
"streamlined" way to do it as the way i'm doing it is not very
serviceable. an example is a 3x3 matrix like
0 0 3
2 0 0
0 4 0
to a vector like
3 2 4
thanks...mj
[[alternative HTML version deleted]]
2008 Jun 12
2
Predicting from an nls model
I keep running up against the same error when I try to plot a line from a nls model. The data is fisheries length/weight data. Code follows:
require(graphics)
pow = nls(Weight~alpha*Length^beta, data=wae,
start=list(alpha=0.0000001, beta=3.0), trace=TRUE)
predict(pow)
plot(Weight~Length,