Displaying 13 results from an estimated 13 matches similar to: "How to apply functions across columns?"
2012 Jul 10
2
estimation of NA by predict command
Dear arun and all R users,
I will first of all try to simply define my issue..
I have data in the following format
Year Discharge
dd/mm/yyyy x
.. …
… …
There are some NA values in the discharge which I would like to predict by using “predict command”. I cant figure out the way to write the coding for that. Could you please help me on that???
I have also ,written
2002 May 09
0
For Andrew Tridgell
Hi Mr.Andrew Tridgell
I did install Samba Server (Version 2.2.3a). All work perfectly. My users
can work with share directories from WinNT and Win98. But ...
I did all tests that you recommend, but test number 3 and test number 7
didn't work. I received message:
# /usr/local/samba/bin/smbclient -L Israel-is
Ld.so.1: /usr/local/samba/bin/smbclient: fatal: libreadline.so.4: open
filed: No
2010 Apr 20
5
Assigning Week Numbers
R experts,
How could I extract the week number from a date vector (in Date class)
such that week numbering (week 1...2...) begins (May 01) and ends
(October 31) on the same specific dates each year? Week numbering
must conform to the following day numbering format (Sat=1,Sun=2,Mon=3.....Fri=7).
This means that new weeks must begin on Saturdays, and end on Fridays
(except for the first date
2008 Dec 09
2
Need help optimizing/vectorizing nested loops
Hi,
I'm analyzing a large number of large simulation datasets, and I've
isolated one of the bottlenecks. Any help in speeding it up would be
appreciated.
`dat` is a dataframe of samples from a regular grid. The first two
columns are the spatial coordinates of the samples, the remaining 20
columns are the abundances of species in each cell. I need to calculate
the species richness in
2012 May 08
4
best way to upgrade from default Python 2.4 to Python 2.6?
What is the best way to upgrade to Python 2.6 from the default Python 2.4.
I'm running CentOS 5 --> Linux mybox.domain.com 2.6.18-238.9.1.el5 #1
SMP Tue Apr 12 18:10:13 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
I've read these horror stories online and don't want to break yum.
2011 Apr 13
1
Modelo para datos de conteos (Manuel Spínola)
Una distribución binomial negativa podría ser adecuada. De hecho, una
extensión de la binomial negativa, como la distribución de Waring
generalizada, termina convergiendo a una distribución binomial negativa.
Puedes ver que la mejora en la bondad del ajuste de la binomial negativa
con respecto a la Poisson es sustancial (te muestro también las salidas.).
datos<-c(1280, 1262, 1290, 1321,
2012 May 08
4
Asterisk 1.8 Transfer CallerID
Hello,
when a call comes in and is answered by colleague A, this colleague A
sees the CallerID of the external calling number.
When colleague A transfers the call to colleague B, attended or
unattended, then colleague B sees the number of colleague A on his
screen while talking to the external calling number.
I expect here that colleague B would see the external calling number on
the screen
2012 May 14
2
How to interpret an ANOVA result?
Hello all,
here's a real-world example: I'm measuring a quantity (d) at five
sites (site1 thru site5) on a silicon wafer. There is a clear
site-dependence of the measured value. To find out if this is a
measurement artifact I measured the wafer four times: twice in the
normal position (posN), and twice rotated by 180 degrees (posR). My
data looks like this (full, self-contained code at
2012 May 08
1
Konqueror tree view in CentOS 6
Hello
Since I got CentOS 6 I no longer have the tree view in Konqueror, and
none of the other file managers have it. I believe this is because some
plugin has not been ported to the new version of Konqueror.
Please, is there a nice way to install the old Konqueror and its plugins
on my CentOS 6 ?
Thank you,
Timothy Madden
2010 Jan 12
2
optimization challenge
I have a challenge that I want to share with the group.
This is not homework (but I may assign it as such if I teach the appropriate class again) and I have found one solution, so don't need anything urgent. This is more for fun to see if others can find a better solution than I did.
The challenge:
I want to read a book in a given number of days. I want to read an integer number of
2017 Sep 13
0
ggmap + geom_raster
Dear all,
I want to :
1. Estimate a weighted 2D kernel.
2. Paint a heatmap on a ggmap.
Here is some reproducible data / code (I got it from the internet) :
s_rit <- structure(list(score = c(45, 60, 38, 98, 98, 53, 90, 42, 96,
45, 89, 18, 66, 2, 45, 98, 6, 83, 63, 86, 63, 81, 70, 8, 78,
15, 7, 86, 15, 63, 55, 13, 83, 76, 78, 70, 64, 88, 61, 78, 4,
7, 1, 70, 88, 58, 70, 58, 11, 45, 28, 42,
2009 May 21
2
Naming a random effect in lmer
Dear guRus:
I am using lmer for a mixed model that includes a random intercept for a
set of effects that have the same distribution, Normal(0, sig2b). This set
of effects is of variable size, so I am using an as.formula statement to
create the formula for lmer. For example, if the set of random effects has
dimension 8, then the lmer call is:
Zs<-
2011 Feb 04
1
read.table error
R experts,
I am working with a fairly large data set comprised of 563 rows by 116 columns including several
different modes. I have been unable to read in the data set completely using the read.table
function and the RGui (i.e. nearly half the total number of rows are missing from the data set
along with the column names). The data does read in fully using Tinn-R's Rterm;
however, at several