Displaying 20 results from an estimated 600 matches similar to: "placing multiple rows in a single row"
2011 Jul 06
1
question about getting things out of an lapply
Dear R-help subscribers,
I have a quite stupid question about using lapply. I have the following
function:
create.gradient <- function(i){
colorgrad01<-color.scale(seq(0,1,by=0.01), extremes=c("red","blue"))
tree1$edge[i,1] -> x
tree1$edge[i,2] -> y
print(x)
print(y)
all2[x] -> z
all2[y] -> z2
round(z, digits = 2) -> z
round(z2, digits = 2) -> z2
2011 Jul 06
1
gradient generation
Dear R-help subscribers;
I have a question regarding making gradients in R. I've searched on the
web, but was only able to find functions that make a gradient between
color X and Y, which is not what I want.
I want to 'pick out' individual, smaller pieces of a gradient based on a
range of numbers. Say that I have a range of numbers, leading from 0 to
1. Then I want 0 to refer to
2016 May 03
4
C6 Firefox 45.1 segmentation faults
On Tue, May 3, 2016 at 12:11 AM, Nux! <nux at li.nux.ro> wrote:
> ----- Original Message -----
>> From: "Akemi Yagi" <amyagi at gmail.com>
>> To: "CentOS mailing list" <centos at centos.org>
>> Sent: Tuesday, 3 May, 2016 01:32:55
>> Subject: Re: [CentOS] C6 Firefox 45.1 segmentation faults
>
>> On Mon, May 2, 2016 at 5:07
2007 Sep 04
2
Table and ftable
Dear listmembers,
I have a little question: I have my data organized as follow
sic level area
a 211 2.4
b 311 2.3
b 322 0.2
b 322 0.5
c 100 3.0
c 100 1.5
c 242 1.5
d 222 0.2
where levels and sics are factors. I'm trying to obtain a matrix like this:
level
211 311 322 100 242 222
sic
a 2.4 0 0
2016 May 04
4
C6 Firefox 45.1 segmentation faults
Ok, managed to rebuild most the stuff; had to retire gstreamer-vaapi though.
yum --enablerepo=nux-dextop-testing update
Should fix the Firefox issue, let me know if it causes any problems or other requests.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Nux!" <nux at li.nux.ro>
> To: "CentOS mailing
2016 May 03
1
C6 Firefox 45.1 segmentation faults
On Tue, May 3, 2016 at 9:34 AM, <m.roth at 5-cent.us> wrote:
> Akemi Yagi wrote:
>> To add to your fun, let me present my wish list:
>>
>> mplayer-gui and libquicktime (latest version from PUIAS) and
>> mlt >= 0.9.4
>>
> Ummm, NO. NOT the latter, under any circumstance... or hadn't you missed
> the huge announcements that Apple would no longer
2010 Oct 12
1
lattice: dots from xyplot to xscale.components
Hello!
I posted a feature request at lattice page on r-forge at https://r-forge.r-project.org/tracker/index.php?func=detail&aid=1127&group_id=638&atid=2570 , but I decided to duplicate it here to make sure that I understand everything correctly.
I would like to slightly change the way my plot axis labels look alike based on custom extra arguments to xyplot and bwplot. Right now these
2011 Aug 15
1
lattice: How to get log base for each axis inside panel function?
Hello!
I'd like to have a function to draw correct grid while using log axis with xyplot from lattice package. Right now I have the following code inside of my panel function:
lim <- current.panel.limits()
v <- latticeExtra:::logTicks(2^lim$xlim, loc=1)
h <- latticeExtra:::logTicks(2^lim$ylim, loc=1)
panel.abline(h=log2(h), v=log2(v), col="LightGray")
Is there an easy way
2012 Mar 04
1
How can I map "by" results to original list of indices or first difference of column of data.frame with two factors?
Hello!
I?m having stacked data in a data.frame with 2 factors, ordered POSIXct, and actual value as numeric (as if for lattice::xyplot).
I would like to calculate first difference using ?diff? function within corresponding subsets/partitions. Since data.frame is organized by factors and has sorted dates, it seems like "by" is a good candidate for the job. However it returns just a dumb
2016 May 03
2
C6 Firefox 45.1 segmentation faults
On Mon, May 2, 2016 at 5:07 PM, Akemi Yagi <amyagi at gmail.com> wrote:
> On Mon, May 2, 2016 at 4:27 PM, Nux! <nux at li.nux.ro> wrote:
>
>>> What I'm intending to do is to rebuild ffmpeg from PUIAS/springdale
>>> (see my earlier post). Specifically, ffmpeg-2.1.1-1.sdl6.src.rpm. It
>>> requires a lot of other packages though. :-)
>
>>
2019 Apr 10
1
Parsing code with newlines
On Wed, Apr 10, 2019 at 5:06 AM, Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>> This is my first post here. I came across the very same problem.
>> It can be reproduced within modified tests/Embedding/RParseEval.c
>
> Please check https://www.r-project.org/posting-guide.html and update
> your post if you still need to get help here - from your current post
>
2007 Mar 13
4
selecting rows with more than x occurrences in a given column (data type is names)
Despite a long search on the archives, I couldn't find how to do this.
Thanks in advance for what is likely a simple issue.
I have a data set where the first column is name (i.e., 'Joe Smith',
'Jane Doe', etc). The following columns are data associated with that
person. I have many people with multiple rows. What I want is to get a
new data frame out with only the people who
2009 Sep 30
1
pam_authenticate() failed
Hi List,
I have a problem with auth for just one user:
dovecot: Sep 30 09:56:16 Info: auth(default): new auth connection:
pid=3809
dovecot: Sep 30 09:56:17 Info: auth(default): client in: AUTH 1
PLAIN service=IMAP secured lip=127.0.0.1 rip=127.0.0.1
resp=AGoucnVpc0BtZXJreC12ZXJrZXJrLm5sAGJsb2VtMDEh
dovecot: Sep 30 09:56:17 Info: auth(default):
pam(j.ruis at
2007 Mar 23
0
course on Analysis of Repeated Measurements by Ronald Geskus
Analysis of Repeated Measurements
By Dr. Ronald Geskus
April 27, 2007
Amsterdam, The Netherlands
http://www.can.nl/events/details.php?id=31
This course is aimed at everyone who is working with data that contain
repeated measurements on persons or otherwise related data and who wants
to analyse such data in a proper way.
In many situations one may have data that show some
2006 Dec 08
3
how to create data.frame with dynamic count of values
Hello R-Group
I found how to fill the data.frame ->
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/70843.html
N1 <- rnorm(4)
N2 <- rnorm(4)
N3 <- rnorm(4)
N4 <- rnorm(4)
X1 <- LETTERS[1:4]
###################
nams <- c(paste("N", 1:4, sep = ""), "X1")
dat <- data.frame(lapply(nams, get))
names(dat) <- nams
dat
But I need also to create
2009 Jun 17
1
Coerce rectangular matrix to symmetrical square matrix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a rectangular matrix of size 920 by 85. I'd like to coerce it into a
square matrix such that all row/col names are present in the new matrix and the
additional values are zero.
As an example:
A B C D
A 1 2 3 4
E 5 6 7 8
F 9 10 11 12
Would be coerced to:
A B C D E F
A 1 2 3 4 5 9
B 2 0 0 0 6 10
C 3 0 0
2006 Jan 12
1
KSH tab completion
does anyone know how to get ksh to use tab completion?
--
Andrew Rice Jr
Systems Analyst
Carrier Management Systems, Inc.
500 Chestnut Street, Suite 500
Abilene, TX 79602 USA
support: (325) 672-0975
office: (325) 677-5900
fax: (325) 676-0529
http://www.nams.net
NAMS III, NAMS 2000 Centralized, NAMS BMX
2006 Feb 02
3
ftp access directory
using vsftpd, I know its possible to specify what directory you want a user to be dropped into when he ftps
in...but I dont remember where to go to change that.
any suggestions?
--
Andrew Rice Jr
2004 Oct 08
3
creating named elements of lists on the fly
HI Folks,
I'm trying to create a list with named elements. Only, I don't know the names of the elements a priori (they come from the data being calculated). Currently, my approach is to create an environment, then assign things to the environement, then as.list the environment to get a list.
Running the code gives, for example:
> e2 <- new.env(FALSE, NULL)
>
2012 Jul 18
2
How to have original (name) order after melt and cast command
Dear R helpers,
I have a data.frame as given below -
dat1 = data.frame(date = as.Date(c("3/30/12","3/29/12","3/28/12","3/27/12","3/26/12",
"3/23/12","3/22/12","3/21/12","3/20/12", "3/30/12","3/29/12","3/28/12","3/27/12",