;numeric" "numeric" "numeric" "numeric" "numeric"
"numeric"
di8l di9l di1k di2k di3k di4k
di5k di6k
"numeric" "numeric" "numeric" "numeric" "numeric" &q
Hi,
name of the data.frame is assumed to be dt.
cnt.tmp <- strsplit(dt$Author, " ")
cnt <- sapply(cnt.tmp, length)
paper.cnt <- dt$Paper[cnt]
author <- unlist(cnt.tmp)
year <- dt$Year[cnt]
dt.new <- data.frame(Paper = paper.cnt, Author = author, Year = year)
HTH,
D
dvance.
=
Dong-hyun Oh
Center of Excellence for Science and Innovation Studies
Royal Institute or Technology, Sweden
e-mail: [EMAIL PROTECTED]
cel: +46 73 563 45 22
__
R-help@r-project.org mailin
.4 and R-2.7.1.
How to solve the above problem?
Best,
Dong-hyun Oh
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented,
Dear UseRs,
I would like to know the way to create grouped data set such as Oats
data.frame in nlme package.
Specifically, I need to create a grouped data set with PBIB data.frame
in SASmixed package.
Any help?
Looking forward to hearing from you.
Best,
many thanks.
On Jul 1, 2008, at 4:00 PM, Henrique Dallazuanna wrote:
sapply(your_data, class)
On Tue, Jul 1, 2008 at 10:50 AM, Dong-hyun Oh <[EMAIL PROTECTED]>
wrote:
Dear UseRs,
I would like to know the way to find classes of each column of
data.frame().
Thank you in a
Many thanks.
On Jul 1, 2008, at 3:57 PM, Romain Francois wrote:
sapply( iris, class )
Dong-hyun Oh wrote:
Dear UseRs,
I would like to know the way to find classes of each column of
data.frame().
Thank you in advance.
=
Dong
Dear UseRs,
I would like to know the way to find classes of each column of
data.frame().
Thank you in advance.
=
Dong-hyun Oh
Center of Excellence for Science and Innovation Studies
Royal Institute or Technology, Sweden
e-mail
Hi,
Fortunately, I found a way.
--
> dt <- data.frame(a = c(1, 2, 3), b = c(3, 2, 2), c = c(1, 3, 5))
>
> for(i in 1:2){
>dt[, paste("test", i, sep = "")] <- rep(i, 3)
> }
-----
Thanks.
Best,
Dong-hyun Oh
5 1 2
Any help?
Thank you in advance.
Best,
=
Dong-hyun Oh
Center of Excellence for Science and Innovation Studies
Royal Institute or Technology, Sweden
e-mail: [EMAIL PROTECTED]
cel: +46 73 563 45 22
__
f parameters I used (beta, delta, gamma, sigma2).
Thank you in advance.
Sincerely,
Dong-hyun Oh
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide ht
ptim$par
---
How can I set up concrete starting values?
Any advices will be appreciated.
Looking forward to hearing from you.
Sincerely,
Dong-hyun Oh
__
R-help@r-project.org mailing list
https://stat.et
parameters I used (beta, delta, gamma, sigma2).
Thank you in advance.
Sincerely,
Dong-hyun Oh
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.ht
Dear expeRt,
I would like to know whether a function similar to str_replace() in
php exists in R.
Looking forward to hearing from you.
Best,
=
Center of Excellence for Science and Innovation Studies,
Royal Institute of Technology
Drott
Dear UseRs,
I would like to extract only p.value by performing wilcox.test with
tapply function.
Example data.frame is as follows:
> tmp
name year DttDt2t2 Dgt Dgt2ec
tcpc
1AUS 1991 1.162935 1.141352 1.168011 1.193882 1.0189098 0.9601735
0.
the solution, but i don't
know how to do.
Best,
Dong-hyun Oh
=
Center of Excellence for Science and Innovation Studies,
Royal Institute of Technology, Sweden
e-mail: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
cell phone
Dear UseRs,
I would like to know the created time and date of specific object.
Is there any function for it?
Thank you in advance.
Sincerely,
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Dear UseRs,
Let us assume that I have data.frame named as dt.
dt is as follows:
abcd
1345
2332
1342
3245
4536
3257
2578
.
.
I want to subset dt with fileds a h
Dear UserRs,
I draw filled contour plot with filled.contour function.
By default, colors of filled.contour is terrain.colors which alters
from green (the lowest level) to white (the highest level).
I want the colors to alter from white (the lowest level) to green
(the highest level).
How can
Dear UseRs,
I wrote following function in order to solve Data Envelopment Analysis.
Reason for posting is that the function is slow when nrow(dat) is large.
I wonder if other functions could substitute the for() loop in the
code, such as mapply().
Can anybody help to rewrite the dea() function
20 matches
Mail list logo