Displaying 20 results from an estimated 500 matches similar to: "Three-dimensional (3D) movement using 'R'"
2005 Jun 15
4
Multiple line plots
Greetings,
I would like to plot three lines on the same figure, and I am lost. There is
an answer to a similar thread… but I tried matplot and it is beyond me. An
example of the data follows:
Year EM IM BM
1983 9.1 16.8 -7.7
1984 12.0 18.0 -6.0
1985 13.6 19.1 -5.5
1986 12.4 17.3 -4.9
1987 14.6 20.3 -5.7
1988 20.6 23.3 -2.6
1989 25.0 27.2 -2.2
1990 28.4 30.2 -1.8
1991 33.3 31.2 2.1
1992 40.6
2006 Jul 16
2
CFD Plots in R and Other Things
Dear All,
I am getting some data from fluid dynamics simulations (air mixing in
a pipe, 2D axial symmetry, geometry described by a radial coordinate r
and an axial coordinate z) which I'd like to plot and analyze with R.
Think about slicing the cylinder along its axial direction to get a
set of cross sections which are orthogonal to the z axis.
For each section, I have a set of velocity
2012 Mar 27
2
lasso constraint
In the package lasso2, there is a Prostate Data. To find coefficients in the
prostate cancer example we could impose L1 constraint on the parameters.
code is:
data(Prostate)
p.mean <- apply(Prostate, 5,mean)
pros <- sweep(Prostate, 5, p.mean, "-")
p.std <- apply(pros, 5, var)
pros <- sweep(pros, 5, sqrt(p.std),"/")
pros[, "lpsa"] <-
2012 Mar 21
2
glmnet: obtain predictions using predict and also by extracting coefficients
All,
For my understanding, I wanted to see if I can get glmnet predictions
using both the predict function and also by multiplying coefficients
by the variable matrix. This is not worked out. Could anyone suggest
where I am going wrong?
I understand that I may not have the mean/intercept correct, but the
scaling is also off, which suggests a bigger mistake.
Thanks for your help.
Juliet Hannah
2012 Oct 01
2
Hmisc describe error
Describe fails for me with a message similar to what was an issue in 2008 and got fixed according to posts.
R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)
# output truncated
> options(chmhelp = FALSE, help_type = "text")
> .help.ESS <- help
>
2007 Jul 19
3
help with heatmap - how to remove annoying "X" before numeric values?
Hello All,
I have a simple question based on how things are labeled on my heat map;
particularly, there is this annoying "X" that appears before the numeric
value of all the labels of my columns.
Let's say I have the following silly data, stored in "temp.txt"
1905 1910 1950 1992 2011 2020
Gnat 0.08 0.29 0.29 0.37 0.39 0.43
Snake
2006 Aug 31
5
Tables with Graphical Representations
Hi useRs -
I was wondering if anyone out there can tell me where to find R-code
to do mixes of tables and graphics. I am thinking of something
similar to this:
http://yost.com/information-design/powerpoint-corrupts/
or like the excel routines people are demonstrating:
http://infosthetics.com/archives/2006/08/excel_in_cell_graphing.html
My aim is to provide small graphics to illustrate
2003 Nov 07
5
Barplots
Hello,
Can anyone tell me how to label individual bars on a barplot? I want to put an "*" or letter ABOVE the bar to denote statistical significance. Is this possible and how?
Thanks,
Suzanne
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial
2005 Sep 06
2
Password expiration
Hello,
I still can't figure out why my users' passwords are expiring. Ever since we
switched to LDAP, passwords expire every 14 days. Here is an example LDAP user
entry:
version: 1
# LDIF Export for: uid=sgoodrich,ou=Users,dc=trec,dc=us
# Generated by phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) on
September 6, 2005 10:56 am
# Server: TREC (localhost)
# Search Scope: base
#
2011 Aug 24
1
silently testing for data from another package for .Rd examples
In an .Rd example for a package, I want to use data from another
package, but avoid loading the entire
package and avoid errors/warnings if that other package is not available.
If I don't care about loading the other package, I can just do:
if (require("ElemStatLearn", quietly=TRUE)) {
data(prostate)
# rest of example
}
I'd rather just be able to do something like:
2005 Feb 11
1
Help concerning Lasso::l1ce
Hi,
First, when I try the example Prostate with bound 0.44
(as in the manual), I got a different result:
> l1c.P <- l1ce(lpsa ~ ., Prostate, bound=0.44)
> l1c.P
....
Coefficients:
(Intercept) lcavol lweight age
lbph svi
1.0435803 0.4740831 0.1953156 0.0000000
0.0000000 0.3758199
lcp gleason pgg45
0.0000000 0.0000000
2007 Jul 26
5
ROC curve in R
Hi,
I need to build ROC curve in R, can you please provide data steps / code
or guide me through it.
Thanks and Regards
Rithesh M Mohan
[[alternative HTML version deleted]]
2005 Jun 21
1
Seeking Inbound 800# Origination for Unique Prostate Cancer Support Call-In Show
Dear Asterisk Community,
Does your company provide inbound 800# origination? If so, please read
this message and e-mail us a quote for monthly co-lo hosting of our
asterisk server and per-minute inbound 800# origination.
The Prostate Cancer Research and Education Foundation (PC-REF) is a
non-profit organization dedicated to helping prostate cancer sufferers and
their loved ones. We have
2012 Dec 12
3
Fw: regarding plot
Hello,
i am working in origin pro,
i want to plot a graph as like a pdf attached but with black and white lines.
here radial axis varies from 0 to 1. and angular axis from 0 degree to 60 degree.and third axis which is depend on both radial and axial gives non intersecting lines.
how can i read the data from plot for replot.
vikas
-------------- next part --------------
A non-text attachment was
2003 Apr 15
5
Summarizing levels for future commands
Hi. This will hopefully be readily understood but if not, bear with me.
I have to do a repeated analysis (in spatstat) and want to batch file it. For each of my 'runs' certain variables change. At present I am manually specifying these changes and want to automate it if possible.
Ok, I am creating an object which is comprised of 'levels' that are 'characters'. Further
2004 Jan 05
2
Installing spdep
Hello all,
I am trying to install the package 'spdep' and get the following error message when I invoke library(spdep) at the R prompt:
Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source)
There is no package called 'maptools'
Error in library(spdep) : package/namespace load failed
I get this if I try to install 'on the fly' AND if I download directly from
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
Dear all,
I did post this more or less identical mail in a follow up to another
question I posted, but under another heading. I try again, but now
under the correct header.
upon running this code (from the Hmisc library-latex function) I
believe the call to summary.formula is allright and produces wonderful
tables, but the latex command results in a correct formatted table but
where all the
2010 Jun 10
1
selecting and excluding files through a pattern
I have the following files list:
> list.files()
[1] "Prostate-Cancer_cvs_Dir"
[2] "Prostate_Cancer-miRNAs&Genes.Pathway.xml"
[3] "Prostate_Cancer_Pathways-miRNAs-GeneTargets-Dir"
[4] "Prostate_Cancer_Pathways-miRNAs-GeneTargets-Dir.zip"
[5] "Prostate-miRNAs.OrganTargets.txt"
2008 Sep 29
1
describe function in package Hmisc and function format.dates in chron (PR#13087)
Full_Name: Kem Phillips
Version: 2.7.1 (2008-06-23)
OS: Windows Xp professional
Submission from: (NULL) (98.221.200.108)
The Hmisc function describe fails, giving the error message:
Error in formatDateTime(dd, atx, !timeUsed) :
could not find function "format.dates"
Loading the chron package, where function dates apparently resides, does not
fix the problem. Note
2010 May 23
3
"order" issue
Hi everybody, this is a real dummy thing.
I sorted a matrix based on a given column, and what I get is right, until it comes to columns of negative and positive values; than, "order" orders everything from max to min in the negative values, and then AGAIN from max to min in the positive values!!!
Why isn't everything order from max to min, and that's it?
Thank you!!!
Attached