Displaying 20 results from an estimated 90 matches similar to: "question about converting a matrix to a dataframe"
2010 Aug 10
3
grep problem decimal points looping
Hi R Users,
I have been trying to work out how to rename column names using grep,
basically I have generated these column names using tapply:
[1] "NAME" "X1.1" "X2.1" "X3.1" "X4.1" "X5.1" "X6.1" "X7.1" "X8.1"
[10] "X1.2" "X2.2" "X3.2" "X4.2"
2013 Jan 14
1
Fwd: Help with nonlinear regression
---------- Forwarded message ----------
From: <r-help-owner@r-project.org>
Date: Mon, Jan 14, 2013 at 12:31 AM
Subject: Help with nonlinear regression
To: ahmedatia80@gmail.com
The message's content type was not explicitly allowed
---------- Forwarded message ----------
From: Ahmed Attia <ahmedatia80@gmail.com>
To: r-help@r-project.org
Cc:
Date: Mon, 14 Jan 2013 00:31:41 -0800
2005 Nov 23
1
1st derivative {mgcv} gam smooth
Dear R-hep,
I'm trying to get the first derivative of a smooth from a gam
model like:
model<-gam(y~s(x,bs="cr", k=5)+z) and need the derivative: ds(x)/dx. Since
coef(model) give me all the parameters, including the parameters of the
basis, I just need the 1st derivative of the basis s(x).1, s(x).2, s(x).3,
s(x).4. If the basis were generated with the function
2012 Oct 12
1
Problem with which function
Hej,
i need the which() funktion to find the positions of an entry in a matrix.
the entries i'm looking for are : seq(begin,end,0.01) and there are no
empty spaces
i'm searching in the right range.
so i was looking for the results R can find and i recieved this answer.
for (l in
2009 Jan 24
1
Help with dudi.pca
Dear R-helpers,
I have two data frames, op and em4:
> str(op)
'data.frame': 37 obs. of 5 variables:
$ m : num 0.202 0.336 0.122 0.139 0.14 ...
$ lln : num 0.798 0.643 0.863 0.835 0.823 ...
$ rrn : num 0.789 0.702 0.894 0.895 0.923 ...
$ asym2: num 0.177 0.304 0.108 0.187 0.274 ...
$ asym3: num 0.0755 0.0975 0.0818 0.0651 0.13 ...
> str(rownames(op))
chr
2011 May 16
2
wireframe advice - with reproducible code
Dear List,
i am trying to produce a 3d plot using wireframe using the code:
wireframe(Residuals_FD ~ Elevation * Temperature, data = data2, scales = list(arrows = FALSE), drape = TRUE, colorkey = TRUE)
As you can see when the code (using the data below) is run the plot area is set-up correctly but the actual surface is missing?
Any help would be greatly appreciated.
Chris
#data
Elevation
2007 Jul 23
1
Function to separate effect in AOV
Hi,
I have a dummy question.
Suppose that I have two explanatory variable, T1 (A, B) and T2 (C, D) and one
response variable.
> attach(dados)
> tapply(Y,list(T1,T2),mean)
C D
A 2.200000 10.20000
B 2.223333 20.26667
In this case, "A" and "B" inside "C" have no difference, but have differences
inside "D"
I make this model:
> m
2012 Oct 15
1
performance analytics
hi Michael,
am sorry for the incomplete reply .
csv file data havinmg like this ,
>getSymbols("IBM")
>weekly_data = to.weekly(week_name)
>dataframe=data.frame(weekly_data)
>outputfile_name="F:\\R-programs\\Outputfile.csv"
>write.table(dataframe, file =outputfile_name,sep = ",",col.names
=TRUE,row.names = T)
> datafrom_table <-
2013 Jun 13
4
puppet: 3.1.1 -> 3.2.1 load increase
Hi,
I recently updated from puppet 3.1.1 to 3.2.1 and noticed quite a bit of
increased load on the puppetmaster machine. I''m using
the Apache/passenger/rack way of puppetmastering.
Main symptom is: higher load on puppetmaster machine (8 cores):
- 3.1.1: around 4
- 3.2.1: around 9-10
Any idea why there''s more load on the machine with 3.2.1?
--
You received this
2009 Feb 18
3
Barplot with Sorted X-Axis
Hi,
I have a binned data that looks like this.
(8.048,18.05] (-21.95,-11.95] (-31.95,-21.95] (18.05,28.05] (-41.95,-31.95]
81 76 18 18 12
(-132,-122] (-122,-112] (-112,-102] (-162,-152] (-102,-91.95]
6 6 6 5 5
(-91.95,-81.95] (-192,-182]
2003 Apr 30
2
make check failures (PR#2884)
R Version 1.7.0 Patched (2003-04-28), built on Solaris 2.8
with gcc 3.0.3.
Obtained via rsync -rC rsync.r-project.org::r-patched R
I'm not sure how signficant these difference are during development,
but after an apparently successful build I got the following
discrepancies in make check:
make[3]: Entering directory `/export/home/ross/src/R/tests'
running code in 'reg-tests-1.R'
2006 Apr 27
2
summary(lm(x~y)) difference between R-2.2.1 and R-2.3.0
Hi
[macOSX 10.4.6; R-2.3.0]
I have encountered a difference in behaviour between R-2.2.1 and
R-2.3.0 when
performing a linear model. Transcript follows for R-2.3.0 (R-2.2.1
worked as
expected). How to make R-2.3.0 perform as R-2.2.1 did?
> dput(x)
c(29.13, 29.88, 30.09, 29.99, 29.74, 29.64, 29.65, 29.7, 30.04,
29.89, 29.96, 29.65, 28.76, 28.41, 28.38, 29.55, 29.76, 29.75,
29.84,
2002 Oct 25
2
source output differs from console output
Dear R-help,
I would like to be able to run the following code sequence as a source
routine.
If I paste it into R via the clipboard it works as expected, but if I source
the code instead then the last 3 statements fail.
I've also tried writing to the file in place of the sink sequence, but that
also hits a snag. R 1.6, w98e2, dfr is a data frame containing the content
of Julian
2011 Apr 09
2
[LLVMdev] dragonegg/llvm-gfortran/gfortran benchmarks
With the case-insensitive file system patch from http://llvm.org/bugs/show_bug.cgi?id=9656#c15
applied to dragonegg 2.9, the following Polyhedron 2005 benchmarks are seen on x86_64-apple-darwin10
under gcc 4.5.3svn using the dragonegg plugin...
================================================================================
Date & Time : 8 Apr 2011 19:52:56
Test Name :
2008 Aug 02
0
SARIMA Model confrimation
Hi..
R Program is shown ARIMA output as below then SARIMA equation is be
(1 - 0.991B^{12})z_t + 43.557 = (1+0.37B)(1-0,915B^{12})a_t
But I try to calculate it by manual . It look like it 's big different from R sofeware,
I am not sure this equation is correct or not . PLS supoort me to confirm it
Arima Model ( 0,0,1)(1,0,1)
No Transformation
Constant >> 43.557 , t = 10.09
2009 Sep 20
0
Re: reiserfs3/ext4/btrfs RAID read performance
On Sep 20, 11:50 am, wbrana@gmail.com wrote:
> On Sun, Sep 20, 2009 at 3:47 AM, Daniel J Blueman
>
> <daniel.blueman@gmail.com> wrote:
> > On Sep 19, 7:20 pm, wbr...@gmail.com wrote:
>
> >> RAID details:
> >>
> >> md8 : active raid10 sda7[0] sdd7[3] sdc7[2] sdb7[1]
> >> 62925824 blocks 256K chunks 2 far-copies [4/4] [UUUU]
>
2013 Apr 01
0
ggplot2 label problem
I have a problem to plot label (Year) only for significant values (in this
case spoz and sneg).
I use this code, but don't work with labels.
library(ggplot2)
ggplot(data1, aes(x = Year, y = value,fill=type,width=1))+
geom_bar(stat="identity",position="identity")+
scale_y_continuous(breaks = round(seq(-100, 100, by = 10),10))+
theme_bw()
Thank you!
the data used is:
2012 Feb 14
0
Agregar scatterplot a stat_contour con ggplot2
Estimados:
Estoy entrampado con el siguiente problema.
Poseo un dataframe (f), con datos x, y, z, los cuales no son coordenadas ni
alturas, sino niveles de tres variables cualquiera.
Lo que busco es presentar en un gráfico es: a) el scatterplot de las
variables ''x'' e ''y'', y además b) las isolineas de ''z'' para los distintos
niveles de
2011 Apr 09
0
[LLVMdev] dragonegg/llvm-gfortran/gfortran benchmarks
Hi Jack, thanks for the numbers. Any chance of analysing why gcc does better on
those where it does much better than dragonegg?
Ciao, Duncan.
> With the case-insensitive file system patch from http://llvm.org/bugs/show_bug.cgi?id=9656#c15
> applied to dragonegg 2.9, the following Polyhedron 2005 benchmarks are seen on x86_64-apple-darwin10
> under gcc 4.5.3svn using the dragonegg
2003 Apr 15
1
current cvs
hi,
so after upgrade to the current cvs all of our problem disappear:-)
but we don't have time to test the ssl part...
although after I compile and install the new dovecot I stop it I do a
--------------------
find /home/*/Maildir -name '.imap*' -exec rm {} \;
find /home/*/Maildir -name 'dovecot-uidlist' -exec rm {} \;
find /home/*/Maildir -name 'msgid.cache' -exec rm