Displaying 20 results from an estimated 20000 matches similar to: "Row-wisely converting a data frame into a list"
2017 Jan 12
3
rgl
----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr]
Sent: Thursday, January 12, 2017 3:36 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
>One possibility is that you have the 32-bit version of mesa-libGL-devel installed. This will provide the headers but not the 64-bit l>ibrary which is what you need
2010 Mar 16
2
Retrieving latitude and longitude via Google Maps API
Does anyone have any experience retrieving latitutde and longitude for
an address from the Google Maps API?
I'd like to have an R script that submits a street address, city, state,
and zip code and returns the coordinates. So far, I've been submitting
the coordinates from another program, then loading the coordinates in R
and merging them back into the data frame I want to use.
2010 Mar 23
3
Converting date format
R community:
Hello, I would to like to convert a character date variable from %m/%d/%Y to %m/%d/%y. Any advice would be greatly appreciated. I have tried functions for changing the formatting and removing the unnecessary digits without success.
Mike
2009 Dec 29
3
Newbie needs to count elements in a row
Hi,
I have a n*m matrix and would like to count the number of elements not equal to NA in a ROW.
e.g.
x 1 2 3 NA 10
y 2 NA 8 9 NA
Which function can I use to obtain
"4" for row x and
"3" for row y?
Could you help me? I found some functions for columns but not for rows...
Thank you very much!
2009 Oct 08
5
row selection
Hi all,
I have a matrix named x with N by C
I want to select every 5 th rrow from matrix x
I used the following code
n<- nrow(x)
> for(i in 1: n){
+ b <- a[i+5,]
>b
}
Error: subscript out of bounds
Can any body point out the problem?
[[alternative HTML version deleted]]
2007 May 15
2
QR Decompositon and qr.qty
Dear R people,
I do not have much knowledge about linear algebra but currently I need
to understand what the function qr.qty is actually doing. The
documentation states that it calculates t(Q) %*% y via a previously
performed QR matrix decomposition.
In order to do that, I tried following basic example:
m<-matrix(c(1,0,0,0,1,0,0,0,1,0,0,1),ncol=3) # 4x3 matrix
2010 Feb 23
1
Circles around letters or numbers in plot title
Has anyone ever tried putting a circle around a letter or a number in a
plot title?
For instance, if I have a plot title "Scatterplot for Subject 24", I
want to put a circle around 24 to distinguish that plot from the other
30 I've generated. Any tips or ideas beyond plotting a circle in the
margin?
Benjamin
Benjamin Nutter | Biostatistician | Quantitative Health
2017 Jan 11
2
rgl
I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error:
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz'
Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) ==================================================
downloaded 2.3 MB
* installing *source* package 'rgl' ...
** package
2009 Nov 16
8
extracting the last row of each group in a data frame
Hi,
I would like to extract the last row of each group in a data frame.
The data frame is as follows
Name Value
A 1
A 2
A 3
B 4
B 8
C 2
D 3
I would like to get a data frame as
Name Value
A 3
B 8
C 2
D 3
Thank you for your suggestions in advance
Jeff
2008 Dec 11
1
How to generate a prediction equation for a stratified survival model that was fitted by cph() in Design package
Dear all,
I used cph() function from Frank harrell's Design package to create a
survival model, then used functions 'Function' and 'sascode' to generate
prediction equation based on the saved survival model. But it failed. I
included a stratified variable in the model. If I removed the
stratification, they were working well. Does that mean that function
'Function'
2017 Jan 12
2
rgl
-----Original Message-----
From: Tom Callaway [mailto:tcallawa at redhat.com]
Sent: Thursday, January 12, 2017 8:25 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
On 01/12/2017 08:01 AM, Weiner, Michael wrote:
> I resolved this by reinstalling mesa-libGL (dnf reinstall libGL) seems /lib64/libGL.so.1.2.0 was missing off the
2008 Oct 15
3
Standard deviation for rows
Hi everyone,
I have just started using R, and I have a simple question.
How can I get the Standard deviation for rows. basically I am looking for
something like "rowMeans()"
but for Standard deviation (I tried "rowSds()" didn't exist)
Thanks,
--
View this message in context: http://www.nabble.com/Standard-deviation-for-rows-tp19998106p19998106.html
Sent from the R
2017 Jan 12
2
rgl
-----Original Message-----
From: Weiner, Michael
Sent: Thursday, January 12, 2017 7:46 AM
To: r-sig-fedora at r-project.org
Subject: RE: [R-sig-Fedora] rgl
-----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr]
Sent: Thursday, January 12, 2017 7:41 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
>>
2007 Nov 16
1
How do I import packages with the package I've built?
I have successfully completed building a package to contain the
functions I commonly use. However, I need to have other packages
installed in order for some of my functions to work. I've been studying
the instructions on installing packages for about a month now, but still
haven't figured this one out. From what I do understand, to import
additional packages I need some combination of
2017 Jan 12
1
rgl
-----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr]
Sent: Thursday, January 12, 2017 7:41 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
>> configure:4429: checking for glEnd in -lGL
>> configure:4454: gcc -o conftest -g -O2??-DHAVE_PNG_H
>> -I/usr/include/libpng16??conftest.c
2009 Apr 02
2
Selecting all rows of factors which have at least one positive value?
Dear all,
I'm trying to select from a dataframe all rows which correspond to a
factor (the id variable) for which there exists at least one positive
value of a certain variable. As an example:
x <- data.frame(matrix(c(rep(11,4),rep(12,3),rep(13,3),rep(0,3),1,rep(0,4),rep(1,2)),ncol=2))
> x
X1 X2
1 11 0
2 11 0
3 11 0
4 11 1
5 12 0
6 12 0
7 12 0
8 13 0
9 13 1
10
2010 Feb 23
4
First. Last. Data row selection
I am in the process of switching from SAS over to R. I am working on very
large CSV datasets that contain vehicle information. As I am processing the
data, I need to select the first (or sometimes the second) record (by date)
for any records that have the same license plate number. In SAS, there is a
function called 'first.' that can be used on sorted datasets to pull out
those first
2011 Sep 29
5
5.7 x86_64 DVD iso
I am trying to find a DVD iso that is not a torrent, and looking through
the mirrors I am unable to find one. Does anyone happen to have a mirror
or repository that they know of that carries the DVD iso for direct
download? I am behind a pretty strict firewall and am unable to do
torrents.
Thanks in advance
Michael Weiner
===================================
Please consider the environment
2008 Dec 04
1
Colors in barplot
Hello,
Can anybody help me to find out which colors are used automatically when
calling barplot (e.g. 3 series beside each other will get different gray values).
I want to apply a legend but I don't know the colors used...
Antje
2013 Mar 11
2
how to convert a data.frame to tree structure object such as dendrogram
I have a data.frame object like:
> data.frame(x=c('A','A','B','B'), y=c('Ab','Ac','Ba','Bd'))
x y
1 A Ab
2 A Ac
3 B Ba
4 B Bd
how could I create a tree structure object like this:
|---Ab
A---|
_| |---Ac
|
| |---Ba
B---|
|---Bb
Thanks,
Zech
[[alternative HTML version deleted]]