After some processing...
ct.df- data.frame(time,conc)
ct.df
gives
time conc
1 0 164.495456
2 1 133.671185
3 2 108.622975
4 3 88.268468
5 4 71.728126
6 5 58.287225
7 6 47.364971
8 7 38.489403
9 8
Dear Rxperts,
Running the following code:
===
twlo=10; twhi=20; wt=154; vd=0.5; cl=0.046; tau=6; t=3; F=1;
wtkg - wt/2.2 # convert lbs to kg
vd.pt - wtkg * vd # compute weight-based vd (L)
cl.pt - wtkg * cl #
Dear Rexperts,
I am trying to add a '+' identifying the mean in a boxplot using the
following
sizelist - split(size, grp)
centers - boxplot(sizelist, style.bxp = att, medpch = o,
ylab = Prostate Volume (cm3))
points(centers, unlist(lapply(sizelist, mean)), pch = +)
But, I
Dear Rs
Our group is in need of an R programmer to work on Clinical Pharmacokinetics
Project in Ann Arbor, Michigan Area.
Interested R programmers send e-mail to:
olina...@umich.edu
Thanks:-)
--
Oscar
Oscar A. Linares, MD
Translational Medicine Unit
LaPlaisance Bay, Bolles Harbor
Monroe,
Dear Wiza[R]ds,
I have the following data in a data.frame. I need to do an anova with
multiple comparison but I don't know how to factor the groups for analysis.
There are 3 groups, 1,2 and 3 labelled in column 1. Help appreciated with
thanks in advance.
Group SI Sif SG
Dear Wiza[R]ds,
I have a data.frame header that looks like this:
v2FfaPre15v2FfaPre10v2FfaPre5v2Ffa2v2Ffa3v2Ffa4
I need it to look like this,
1510523 4
i.e., with v2FfaPre and v2Ffa stripped off
Any suggestions,
Thanks in advance!
--
Oscar
Oscar A.
Dear Wiz[R]ds,
I am deeply grateful for the help from Duncan Murdoch, Gray Calhoun, and
others. We are almost there. For whatever reason, I can't change the symbol
from a circle to a triangle in the upright posture plots. Any ideas? I have
included the problem in full.
# tritiated
Dear Wiza[R]ds,
# I have the following experimentally observed data:
csdata - data.frame(
time=c(0,1,3,9,20),
conc=c(638.697,395.69,199.00,141.58,112.16)
)
# weighting resp means response
wt.MM- function(resp, time,A1,a1,A2,a2)
{
pred - A1*exp(-a1*time)+A2*exp(-a2*time)
(resp - pred) /
Dear Wiza[R]ds,
I am very grateful to Duncan Murdoch for his assistance with this problem.
His help was invaluable. However, the problem has become a little more
complicated for me. Now, in each plot, I need to plot the observed and
fitted values of a supine and upright posture experiment. Here
Dear Rexperts,
Given,
aar -function(command) {
switch(command,
{scrn = cat(scrn :Screening,\n)}
{dx = cat(dx:Diagnosis,\n)}
{df = cat(df:Don't Forget,\n)}
)
}
I want to be able to do:
aar(dx) # function does cat(dx:Diagnosis,\n)
aar(c(dx,df)) # function does cat(dx
)
# Error in match.arg(command) : 'arg' should be one of scrn, dx,
df
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of oscar linares
Sent: 18 November 2009 10:40
To: r-help@r-project.org
Subject: [R] Switch Help
Dear Rexperts
Is there a UseR! manual in the works for the outstanding Rcmdr?
--
Oscar
Oscar A. Linares, MD
Translational Medicine Unit
Bolles Harbor
Monroe, Michigan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear Rxperts
I have a data.frame as follows
ABCD
14 710
25 811
36 912
I want to convert it to a data frame with a single row (i.e., stack the
columns without the heading)
1
2
3
4
5
6
7
8
9
10
11
12
Any suggestions please.
Thanks in advance!
--
Dear Rxperts,
I would like to convert the following:
StudyStudy.NameParameterDestSrcFormValueMin
MaxFSD
1NT_1-0BFK(03)03A0.128510.0E+001.
0.41670E-01
1NT_1-0BFL(00,03)0003D0.36577
1NT_1-0BF
Dear Rxperts,
I have a varaibles data file that looks like this
p(1) 10
p(1) 3
p(1) 4
p(2) 20
p(2) 30
p(2) 40
p(3) 4
p(3) 1
p(1) 2
I cannot process these data with R because it does not like the parentheses.
How can I get these to look like:
p1 10
p1 3
p1 4
p2 20
p2 30
p2 40
p3 4
p3 1
p3 2
use
install.package(RODBC)
library(RODBC)
cnct - odbcConnectExcel(filename.xls)
hope this helps
On Sun, Jan 18, 2009 at 9:15 AM, Michele Santacatterina
miksa...@gmail.comwrote:
Hello,
i have a xls file. I will read it in r, what library-command i use for
this??
any ideas??
Thanks
Dear Rxperts,
I have the following data:
Study Study.Name C Category TC Time QC QO SD FSD Theta
1 NONE 0P(22) 0 0.00 7.5596 0 0 8.0361e-03 0
1 NONE 6G(50) 0 0.00 1. 0 0 0.e+00 0
1 NONE 2F(02) 0 0.00
Dear Rxperts,
Using R 2.8.1 and trying
install.views(Cluster)
getting error
Error: could not find function install.views
Please help:-(
--
Oscar
Oscar A. Linares
Molecular Medicine Unit
Bolles Harbor
Monroe, Michigan
[[alternative HTML version deleted]]
Thanks! Your suggestion did it:-)
OAL
On Sat, Jan 10, 2009 at 3:00 PM, oscar linares wins...@gmail.com wrote:
Dear Rxperts,
Using R 2.8.1 and trying
install.views(Cluster)
getting error
Error: could not find function install.views
Please help:-(
--
Oscar
Oscar A. Linares
Hello,
I am trying to convert english words to numeric equivalents, e.g., abc to 123.
Is there a function or library or package for doing this in R? If not, can it
be done easily in R?
Thanks,
Oscar
[[alternative HTML version deleted]]
Check out sedit() in the Hmisc package
Cheers!
--- On Tue, 7/8/08, Kunzler, Andreas [EMAIL PROTECTED] wrote:
From: Kunzler, Andreas [EMAIL PROTECTED]
Subject: [R] Manipulate Data (with regular expressions)
To: r-help@r-project.org
Date: Tuesday, July 8, 2008, 7:11 AM
Dear Everyone,
21 matches
Mail list logo