Displaying 20 results from an estimated 9000 matches similar to: "which"
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
2004 Dec 14
5
sort() leaves row names unaffected
Hello,
I wonder if I ran into a bug. If I do
summary(df1$X1) -> df1.y
df1.y
a b c d e
[1,] 50.74627 8.955224 17.91045 19.40299 2.985075
sort(df1.y)
a b c d e
[1,] 2.985075 8.955224 17.91045 19.40299 50.74627
my numbers are sorted but do not anymore correspond to the rownames.
For me it is counterintuitive that solely the numbers are sorted and not the
names. Is
2002 Oct 29
1
samba compiling error
Hello,
I have error on compiling time
I tried on HP-UX 11.00 system with gcc version 3.1 to compile samba source
Samba latest version source was dowloaded from www.us1.samba.org/samba/ftp
I attached log file with this error
thank you.
begin 600 samba_make.log.doc
M(R!M86ME#0HO=7-R+VQO8V%L+W-A;6)A+V)I;B(@+410241$25(](B]U<W(O
M;&]C86PO<V%M8F$O=F%R+VQO8VMS(B
2006 Aug 04
1
Integration and Loop in R
Dear All,
I have seldom needed to use loops in R, but now I need to code a loop
with a stride different from one.
In the R manual I downloaded I have the example:
> xc <- split(x, ind)
> yc <- split(y, ind)
> for (i in 1:length(yc)) {
plot(xc[[i]], yc[[i]]);
abline(lsfit(xc[[i]], yc[[i]]))
}
but in my case I'd like to add a condition so that i varies by 4 from
one go
2012 Jun 13
2
separate the sentence after finding a particular word
hello,
I want to know ..how we can separate the sentence after finding a particular
word...
for example
I love to watch movies of Hollywood but should not be romantic...I want to
join you school but due to bad financial condition I cant..
I want output in following format
I love to watch movies of Hollywood
should not be romantic
I want to join you school
due to bad financial condition I cant
2004 Dec 13
1
How to get the /proc/parport????
Hi, I am new to Linux. Had installed a RedHat Linux
7.3 from the CD. I need to set up the parallel port
for communication to another DOS PC. Saw a HowTo
guide on PLIP and it mentioned .../proc/parport/....
But there is no such path. Had tried the insmod and
still can't get it work. Did I miss some step when I
first install the Linux OS? Should I install
something like kernel or core rpm
2004 Dec 17
1
application meetme
i have problem to setup application meetme. i'm using asteisk-1.0.3 and sjphone as client.
++++++++++++++++++++++++++++++++++++
monchemin
---------------------------------
Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Dec 15
0
Re: [S] using Hmisc and Design library
sorry, I had a typo there, it's datadist(b) for the
analysis of data frame "b".
--- Robert Balshaw <Robert.Balshaw at syreon.com> wrote:
> Not sure if this will help, but did you mean to use
> datadist(a) for
> the analysis of B?
>
> Rob
>
> > -----Original Message-----
> > From: r-help-bounces at stat.math.ethz.ch
> >
2009 Mar 12
8
help with loop
Dear useRs,
I'm trying to write a loop to sum my data in the following way:
(the second - the first) + (the third - the second) + (the fourth - the third) + ...
for each column.
So, I wrote something like this:
c <- list()
for(i in 1:ncol(mydata)) {
for(j in 2:nrow(mydata)) {
c[[i]] <- sum(yc[j,i] - yc[(j-1),i])
}}}
As for the columns it works pretty fine, but it only
2011 Jan 17
1
isoreg memory leak?
I believe there is a memory leak in isoreg in the current version of R,
as I believe the following shows
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 120405 3.3 350000 9.4 350000 9.4
Vcells 78639 0.6 786432 6.0 392463 3.0
> for(k in 1:100) {
+
+ y <- runif(10000)
+ isoreg(x,y)
+ }
> rm(x)
> rm(y)
> gc()
used (Mb) gc
2004 Dec 29
0
libFLAC bitbuffer optimizations
thanks for the patch.
also, if you have miroslav's patch again a more updated version
of bitbuffer.c that would be great. I have been meaning to get
around to applying it for a long time.
btw how are you playing it on the ipod?
not sure how to help out with lpc_restore_signal(). there are
x86 and PPC versions of the routines in CVS that might be good
references. it is basically a
2011 Jan 26
1
aggregate(as.formula("some formula"), data, function) error when called from in a function
I'm having a problem with aggregate.formula when I call it in a function and the function is converted from a string in the funtion
I think my problem may also only occur when the left hand side of the formula is cbind(...)
Here is example code that generates a dataset and then the error.
The first function "agg2" fails
> agg2(FALSE)
do agg 2
Error in m[[2L]][[2L]] : object
2005 Oct 26
1
R- exp(-1000) ? - how to get R to give me an actual answer ?
Dear All,
I am a novice user of the R software package. When I try and compute,
exp(-1000) or exp(-2000), i get the answer as zero. Is there any way i can get
R to compute the answer and give me an actual number ? ( by increasing the
precision or any other method).
If I cannot get R to give me a number, can anybody give me some advice on how
to manually compute this number ?
I would greatly
2008 Nov 05
1
How do I read a text (.csv) file to match a matrix/cross tab? (Object confusion??)
I'm having a problem reading data to set control totals for a dataframe.
I want to adjust a dataframe based on a 2-d table of values, which I get
by using :
> CurrentX1Sums <- as.matrix(xtabs(~tripid_nu+lineon, data=SurveyData))
> CurrentX2Sums <- apply(CurrentX1Sums, 1, sum)
I've created a .csv file with new (target) sums that looks like this:
tripid_nu Warner
2003 Nov 05
3
using LSODA in R
R help list subscribers,
I am a new user of R. I am attempting to use R to explore a set of
equations specifying the dynamics of a three trophic level food chain. I
have put together this code for the function that is to be evaluted by
LSODA. My equations Rprime, Cprime, and Pprime are meant to describe the
actual equation of the derivative. When I run LSODA, I do not get the
output that
1999 Jan 20
1
Inherit names ...
No doubt an easy answer to this exists.
I have a data frame which comprises 4 matrices and 2 vectors:
year(1024,6),growth(1024,6),ycens(1024,6),gcens(1024,6),yinit(1024),ginit(1024)
The names of the 26 columns get denoted as y.1 to y.6, g.1 to g.6, yc.1 to
yc.6, gc.1 to gc.6, yi and gi as these are the internal names.
I wish to make a subset of the data using the logical vector R1(length
1024)
2004 Apr 13
1
postscript image problem (PR#6763)
Full_Name: Jonathan Lees
Version: 1.8.1
OS: GNU/Linux 2.4.20-20.8smp #1 SMP
Submission from: (NULL) (152.2.75.114)
I am having trouble with the postscript output of images.
They have lines on them that are not supposed to be there.
I have noticed this on numerous trials of printing various images.
I looked at the postscript and I see that it
appears to plot each individual block - so perhaps
2010 Mar 12
7
sqldf not joining all the fields
Dear R users,
I have two data frames that were read from text files as follows:
x_data <- read.table("x.txt", header = TRUE, sep = "|", quote = "\"'",
dec = ".",as.is = TRUE,na.strings = "NA",colClasses = NA,
nrows = 3864284,
skip = 0, check.names = TRUE,fill=TRUE,
strip.white = TRUE,
2004 Dec 15
2
using Hmisc and Design library
Hi, I encountered a weird problem when using the
Design and Hmisc problem. I have 2 data frame called
"a" and "b", both have 3 columns: "time", "status" and
"scores", a sample of the data frame is like:
data frame "a":
time status scores
1 21 1 99.61
2 38 0 101.11
3 51 0 100.62
4 48 0 87.52
5 78 0
2013 Dec 09
3
[LLVMdev] [cfe-dev] ARM EABI and modulo
On Mon, Dec 09, 2013 at 01:58:29PM +0000, Renato Golin wrote:
> I can see the error, and it's just a bad selection of choices. I was
> wrong in assuming that the "eabi" at the end would always force it:
>
> $ clang -target arm-elf-eabi -S mod.c -o - | grep mod
> .file "mod.c"
> bl __modsi3
> bl __umodsi3
I was discussing this with Tim on IRC and he