Displaying 20 results from an estimated 2000 matches similar to: "STACK"
2009 Jan 10
3
install.views()
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]]
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
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
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")
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 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 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 <-
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 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]]
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
2001 Apr 06
1
error:*** zlib missing
Hi, my Name is Claudia Linares and in this moment, I try to install the SSH
in a machine Sun with Solaris 2.7.
When I want to compile the software openssh-2.5.1p1 ( with Compiler CC or
with gcc), I execute the comand:
./configure but in this instant I view the following messages:
config : error:*** zlib missing - please install first or check config .log
The file config.log is this:
2012 Oct 03
3
"options" in R
Dear Rxperts,
Was wondering if there is any function in R similar to
options("time.zone"): found in S-Plus that can help in looking at the
default timezone settings..
Thanks much,
Santosh
[
[[alternative HTML version deleted]]
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]]
2011 Apr 19
2
cut & histogram
Dear Rxperts,
Below is a small sample of values (cut short due to space considerations
while posting).. I was wondering if it is possible to construct boundaries
(or intervals) based on the distribution of points. Is it anything similar
to boundary detection of distributions?
x1 <-
2013 Mar 26
2
suggestions about import SAS Transport files to R.
Dear Rxperts!
My colleagues used SAS PROC COPY to generate the xpt files that could be
read by the available "xpt" file reading packages in R. However, I am
unable to use the R packages for reading SAS transport files generated
through SAS PROC CPORT. I have tried SASxport, Hmisc, and foreign.
Any ideas/suggestions are more than welcome!
Thanks so much!
Santosh
[[alternative HTML