Displaying 20 results from an estimated 1000 matches similar to: "install.views()"
2009 Jan 18
4
data management
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
The data is in a tab delimited text file and I want to get it into a
data.frame().
Many thanks in
2009 Dec 03
3
data manipulation
Dear Wiza[R]ds,
I have a data.frame header that looks like this:
v2FfaPre15 v2FfaPre10 v2FfaPre5 v2Ffa2 v2Ffa3 v2Ffa4
I need it to look like this,
15 10 5 2 3 4
i.e., with v2FfaPre and v2Ffa stripped off
Any suggestions,
Thanks in advance!
--
Oscar
Oscar A. Linares, MD
Translational Medicine Unit
LaPlaisance Bay, Bolles Harbor
Monroe, Michigan 48161
2010 May 02
2
Calculation error
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 # compute CL (L/hr)
k <- cl.pt/vd.pt # compute k (hr^-1)
cave <-
2009 Nov 18
4
Switch Help
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")
2009 Apr 01
1
STACK
Dear Rxperts
I have a data.frame as follows
A B C D
1 4 7 10
2 5 8 11
3 6 9 12
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!
--
Oscar
Oscar A. Linares
Molecular Medicine Unit
Bolles Harbor
Monroe, Michigan
[[alternative HTML
2010 Jan 06
1
boxplot help
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 get error
Error in xy.coords(x, y) :
2009 Jan 18
1
?grep
Dear Rxperts,
I have the following data:
Study Study.Name C Category TC Time QC QO SD FSD Theta
1 NONE 0 P(22) 0 0.00 7.5596 0 0 8.0361e-03 0
1 NONE 6 G(50) 0 0.00 1.0000 0 0 0.0000e+00 0
1 NONE 2 F(02) 0 0.00 100.0000 0 0 0.0000e+00 0
1 NONE 3 F(03) 0 0.00 13.2280 0 0 1.6732e-02 0
2009 Nov 29
3
Plotting observed vs. Predicted values, change of symbols
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 (3H)-Norepinephrine(NE) disappearance from plasma
# concentrations supine and upright
# supine
datasu <-
2009 Sep 19
1
Rcmdr
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]]
2009 Dec 07
1
anova/factor
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 Io I2 lol2
1 9.08e-05 9.08e+00 0.060842287 1.798556446 32.574500
2009 Jan 18
6
read a xls file
Hello,
i have a xls file. I will read it in r, what library-command i use for
this??
any ideas??
Thanks
Michele
[[alternative HTML version deleted]]
2010 Jul 02
1
conditional dataframe search and find
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 31.276998
10 9 25.416103
11 10 20.653462
12 11 16.783276
13 12 13.638313
14
2009 Nov 28
1
Plot fitted vs observed values
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) / sqrt(pred)
}
# Fit using nls
cs.wt <- nls( ~ wt.MM(conc, time,A1,a1,A2,a2),
2009 Nov 29
1
Plotting observed vs. fitted values
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 is what I
have and how far I got.
# tritiated (3H)-Norepinephrine(NE) disappearance from plasma
#
2009 Jan 15
2
Interface to open source Reporting tools
Hi,
I am a new user of R 2.8.1. I use Tinn-R for code editing. I use a windows
2003 system with 1 GB RAM.
I am interested to generate dashboard and reports based on data from MS
Access. These reports need to be posted on a weekly basis to the web. The
reporting interface should provide facilities for "what if" scenarios.
Is it possible to interface R analysis results to good open
2015 Jan 23
5
Programming Tools CTV
Hi all,
Sorry if this doesn't end up in the thread.
Tobias Verbeke forwarded that e-mail to me, because he thought I would be interested in maintaining the Programming Tools CTV.
I wasn't subscribed to R-devel yet, but I would indeed like to volunteer to maintain the Programming Tools CTV.
It will be my first time creating a CTV, so some guidance on getting it setup will be appreciated.
2015 Jan 23
1
Programming Tools CTV
Dear Willem,
Personally, I use the R-forge project for the distribution CTV : https://r-forge.r-project.org/projects/ctv/
It?s an alternative option to github.
Regards, Christophe
---------------------------------------
Christophe Dutang
LMM, UdM, Le Mans, France
web: http://dutangc.free.fr
Le 23 janv. 2015 ? 12:49, Luca Braglia <lbraglia at gmail.com> a ?crit :
> Hi Willem
>
2006 Oct 27
2
install.views
Since I had too much junk cluttering my computer, I recently re-set it
back to factory settings, in the process eliminating R. I now have to
reload R and packages, and would like to do that via the install.views
command. I have successfully downloaded the package "ctv" but R does
not recognize install.views.
What am I doing wrong?
I am using R 2.4.0.
Pierre D'Ange.
"To
2013 Mar 13
7
Export R generated tables and figures to MS Word
Dear Rxperts,
I am aware of Sweave that generates reports into a pdf, but do know of any
tools to generate to export to a MS Word document...
Is there a way to use R to generate and export report/publication quality
tables and figures and export them to MS word (for reporting purposes)?
Thanks so much,
Santosh
[[alternative HTML version deleted]]
2006 Jan 07
1
Installing Task Views
Hello,
I am just beginning to use R, after several years of using S-Plus (with
mixed success). I saw a recommendation on another mailing list for the
Environmetrics and Spatial Task Views, as a good way for a new user to get
started actually using R. The Task Views page at CRAN says:
"To automatically install these views, the ctv package needs to be
installed, e.g., via