Displaying 20 results from an estimated 2000 matches similar to: "Rweb ... Using R over the Web"
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
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
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 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
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,
2008 Jul 03
1
lm() question
I have data that looks like
YC Age Num
82 11 2
83 10 0
84 9 8
85 8 21
86 7 49
87 6 18
88 5 79
89 4 28
90 3 273
91 2 175
with a program
mod1=lm(log(Num+1)~YC, data=box44)
plot(log(Num+1)~YC, data=box44, pch=19, xlab="Year Class",
ylab="Loge Number at age", ylim=c(0,6), xlim=c(91,82))
abline(lm(log(Num+1)~YC), col="blue", lwd=2)
summary(mod1)
I need to
2011 Oct 05
2
Question about Rweb
Greetings,
I am working on creating an interactive website that will generate R-code for users based in the information they input on the site. Currently, the R-code can be generated and downloaded to be run locally on a computer with R. However, I have noticed a number of applications out there that instead submit the code directly to an R-web server. Some examples seem to be:
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
2008 Sep 02
2
nls.control()
All -
I have data:
TL age
388 4
418 4
438 4
428 5
539 10
432 4
444 7
421 4
438 4
419 4
463 6
423 4
...
[truncated]
and I'm trying to fit a simple Von Bertalanffy growth curve with program:
#Creates a Von Bertalanffy growth model
VonB=nls(TL~Linf*(1-exp(-k*(age-t0))), data=box5.4,
start=list(Linf=1000, k=0.1, t0=0.1), trace=TRUE)
#Scatterplot of the data
plot(TL~age, data=box5.4,
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 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 Aug 29
1
lm() and dffits
All -
My question is a bit involved, so bear with me.
I have some data that looks like:
Lake LL LW
81 2.176091259 1.342422681
81 2.176091259 1.414973348
81 2.176091259 1.447158031
81 2.181843588 1.414973348
81 2.181843588 1.447158031
81 2.184691431 1.462397998
81 2.187520721 1.447158031
81 2.187520721 1.477121255
81 2.187520721 1.505149978
...
[truncated]
I'm trying to:
1) fit a simple
2010 Mar 26
1
Trouble loading package
I am trying to load a package called Rmark, but when I run
library(Rmark)
I get the following:
> library(RMark)
Error in !character.only : invalid argument type
Error in library(RMark) : .First.lib failed for 'RMark'
When I try to load Rmark from the packages menu, I get:
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg,
2003 Dec 24
0
Solution to "Can anyone help me reproduce this SAS Mixed output??"
To those who might be interested -- following is the solution to my
previous post regarding reproducing output from SAS Proc Mixed for a
two-factor crossed random effects ANOVA model.
I am graciously endebted to the kind replys from two statisticians for
this solution whose names I will refrain from mentioning for the sake of
privacy.
I hope this helps someone?!
-- Phil Turk
> hw7 <-
2000 Feb 24
1
lg2c
Dear Rhelp folks,
I think I read this in recent Rhelp, but I can't find it in the
archive. I need to know how to get lg2c in order to build the nlme
package.
I'm trying to install nlme_3.1-2.tar.gz on a Linux machine (6.1 Redhat)
under R Version 0.99.0 (February 7, 2000).
Thanks,
Jim
Jim Robison-Cox ____________
Department of Math Sciences | |
1998 Dec 18
0
configure problems with fortran underscore
Just after R-0.63.0 came out I reported a problem to the list. I was
unable to get ./configure to complete it's job, because it couldn't find a
working fortran. It stopped after trying to test for underscore in
subroutine names. This was especially perplexing, since I could still
configure the older version (I had 62.2) with no error messages.
I tried suggestions of B.D. Ripley and
1998 Jul 31
0
R-beta: Re-installing libraries in a new version.
Dear R-helpers,
I just upgraded from version 62.1 to 62.2 and now am faced with the
same problem I've run into before when upgrading:
Is there an easy way to take the libraries I have been using in the
older version and pull then into the new version. My organization looks
like this on Solaris 2.5.2:
/opt -- /R
-- /R-0.62.1
--/library
-- subdirectories for lots of
1998 Aug 04
0
aov with Error terms
To R-devel:
If anyone is testing the aov() function and it's relatives which I
posted to the list, thanks for the effort, but I would ask you to hold
off now. Brian Ripley is developing better and more complete versions, so
you should save your effort for looking over his functions.
His preliminary version is located at:
http://www.stats.ox.ac.uk/pub/R/aov.tar.gz
Prof. Ripley says
2002 Jan 24
1
Simulation of a particular type of population
Does anyone have any R code or suggestions on how to generate a population
that follows a Neyman-Scott process? More specifically, I'd like to
randomly generate both the parents and the children from Poisson
distributions and the children locations from a bivariate normal onto an
N by N grid. If the locations spill over outside the grid, then I'd like
to reflect those locations back into