Displaying 20 results from an estimated 400 matches similar to: "Sample on dataframe"
2008 Jul 23
3
sum each row and output results
Hello,
I have the following data frame (DF):
V5 V5.1 V5.2 V5.3 V5.4 V5.5
2 -5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
3 -5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
4 -5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677 -6498.7183
5 -5890.18905 -6019.84665 -6211.06545 -6198.9353 -6616.8677
2008 Feb 07
3
Empty data frame
Hi
Sorry for banal question
How to create empty data frame with for example 30 variables without
typying: data.frame(x=1,y=1....)
Jarek
2008 Jan 23
3
formula for nls
Hi!
How to write in model's formula of type:
nls(y~k/(x^n), data=data, start=list(k=1,n=1))
i.e the problem is on x^n, I(x^n) generate error
thanks
Jarek
2009 Sep 29
3
Equivalent for Matematica function Which...
Dear All!
I'm looking for equivalent of Matematica function "Which" which works as
follows:
z = Which[x<10,0.3, 10<=x<20,0.5, 20<=x<100,1]
where x is a vector
I can replace it with custom function with set of ifelse but I'm looking
for simpler and faster (much faster) solution
best wishes
Jarek
2009 Apr 27
3
Formatting numbers
I've been trough the R documentation for about half an hour and it's not
clear to me how to do this:
I need to format to character a series of integers from 1 to 1000, and I
like them to look like
"0001" "0002", "0059", "0123" and so on. Padded with zeroes to have four
digits.
Cheers!
Mario.
r-help-request at r-project.org wrote:
> Send
2011 Sep 19
2
questions about upgrading
I'm pretty new to the task of upgrading CentOS or RedHat o.s.'s. I'm more familiar with upgrading Debian based o.s.'s. Here are my questions:
1) will yum ever upgrade the major version? I understand that there is no upgrade path from v5.x to v6.x, but is that always the case? e.g. was there an upgrade path from v4.x -> v5.x? If yum is capable of doing so, what are the
2019 Dec 12
2
[PATCH] vhost/vsock: accept only packets with the right dst_cid
On Thu, Dec 12, 2019 at 07:56:26AM -0500, Michael S. Tsirkin wrote:
> On Thu, Dec 12, 2019 at 01:36:24PM +0100, Stefano Garzarella wrote:
> > On Wed, Dec 11, 2019 at 11:03:07AM -0500, Michael S. Tsirkin wrote:
> > > On Fri, Dec 06, 2019 at 03:39:12PM +0100, Stefano Garzarella wrote:
> > > > When we receive a new packet from the guest, we check if the
> > >
2006 Feb 14
7
Action when database changes
Hello,
Is it possible to trigger an action in a controller when
a table from database changes?
I thought about using an utility like cron (railscron) to
check every, e.g. 2 s, if the table changed, but I am wondering
if there is a solution a bit more ''elegant'': to trigger an action
exactly when the change is made.
Best regards,
--
Kuba Nowak
2008 Jan 15
1
plot labeling and expressions
Hi all,
I'm trying to use an iteration that appends something to vector 'peaklabels'
like so:
peaklabelNames <- append(
peaklabelNames,
substitute(i^{z+phantom()}*" ("*a*"AMU)",list(i="y2",z=2,a=0))
)
The vector is supposed to be used with 'text' to put labels on signals in an
impulse plot.
While not vectorized
2007 Dec 19
4
Factor Madness
Why is class(spectrum[["Ion"]]) after this "factor"?
spectrum <- cbind(spectrum,Ion=rep("",
nrow(spectrum)),Deviation.AMU=rep(0.0, nrow(spectrum)))
slowly going crazy ...
Joh
2006 May 01
2
Google Summer of Code with Xiph.org
All,
I'm pleased to announce that Xiph.org has been selected as a mentoring
organization for the 2006 Google Summer of Code program. So if you need
a summer job, and there's something about free multimedia that's been
bugging you, here's your chance!
We've put up some project ideas for things we'd like to see in the wiki
http://wiki.xiph.org/index.php/Summer_of_Code
2006 May 01
2
Google Summer of Code with Xiph.org
All,
I'm pleased to announce that Xiph.org has been selected as a mentoring
organization for the 2006 Google Summer of Code program. So if you need
a summer job, and there's something about free multimedia that's been
bugging you, here's your chance!
We've put up some project ideas for things we'd like to see in the wiki
http://wiki.xiph.org/index.php/Summer_of_Code
2006 May 01
2
Google Summer of Code with Xiph.org
All,
I'm pleased to announce that Xiph.org has been selected as a mentoring
organization for the 2006 Google Summer of Code program. So if you need
a summer job, and there's something about free multimedia that's been
bugging you, here's your chance!
We've put up some project ideas for things we'd like to see in the wiki
http://wiki.xiph.org/index.php/Summer_of_Code
2006 May 01
2
Google Summer of Code with Xiph.org
All,
I'm pleased to announce that Xiph.org has been selected as a mentoring
organization for the 2006 Google Summer of Code program. So if you need
a summer job, and there's something about free multimedia that's been
bugging you, here's your chance!
We've put up some project ideas for things we'd like to see in the wiki
http://wiki.xiph.org/index.php/Summer_of_Code
2006 May 01
2
Google Summer of Code with Xiph.org
All,
I'm pleased to announce that Xiph.org has been selected as a mentoring
organization for the 2006 Google Summer of Code program. So if you need
a summer job, and there's something about free multimedia that's been
bugging you, here's your chance!
We've put up some project ideas for things we'd like to see in the wiki
http://wiki.xiph.org/index.php/Summer_of_Code
2008 Jan 17
1
multiple text placements and expressions revisited
Hi all,
I asked something like this earlier but decided that a proper minimal
example might be helpfull ;0)
Why does this work with regards to the expression (substitution):
require(stats)
plot(cars)
text(5,120,labels=substitute(i^{z+phantom()}*"("*a*"
AMU)",list(i="yx",z=2,a=0)))
text(c(5,5),c(115,110),labels=c("One","Two"))
But adding this
2010 May 17
2
Yum segmentation fault when updating to CentOS v5.5
Hi all,
I'm getting a segmentation fault with yum when I try to update a CentOS v5.4
install to v5.5.
What I've done:
* Ran yum clean all.
* Ran yum update yum*
* Ran yum update, and got the segmentation fault.
* Yum suggested running with option --skip-broken, which I did. Still got the
segmentation fault.
* Rebooted machine and ran yum update again. Segmentation fault...
* Googled
2009 Sep 29
3
CentOS 5.3 LDAP problem.
I currently have about eight servers running a mixture of CentOS
x86_64 v5.2 and v5.3 but none with the very latest updates. They all
obtain their authentication information over LDAP and to avoid the
starting message bus hang problem[1], nscd is set to soft failure.
However, yesterday I set up a new CentOS v5.3 server with the latest
updates, but it refuses to get beyond "Starting message
2008 Feb 04
1
how to get points from SpatialPolygonsDataFrame
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080203/5ea1e3ad/attachment.pl
2008 Jan 12
2
glm expand model to more values
Hi
I have the problem with fitting curve to data with lm and glm. When I
use polynominal dependiency, fitted values from model are OK, but I
cannot recive proper values when I use coefficents to caltulate this.
Let me present simple example:
I have simple data.frame: (dd)
a: 1 2 3 4 5 6
b: 3 5 6 7 9 10
I try to fit it to model:
model=glm(b~poly(a,3),data=dd)
I have following data