Displaying 9 results from an estimated 9 matches for "zutt".
Did you mean:
dutt
2004 Feb 08
2
parsing numbers from a string
Dear R-help members,
I have several large data sets from certain simulations I did and now I want to plot the results nicely.
I don't know anything about the size of the x and y values in advance.
Plotting these values is not a problem.
However, I want to add errorbars (errbar in the Hmisc package).
1) For this I'm factoring the data (xdata00 varies from 0 to max(xdata00))
xfactor00 =
2006 Nov 14
1
greatest common substring
Dear R-members,
Suppose I have a vector with the following strings:
V = c("Welfare_Group_1024",
"Welfare_Group_1536",
"Welfare_Group_160")
I want to 'automatically generate a nice y-axis label for this data.
A good candidate is something close to "Welfare Group".
Is there an easy way to compute something close to the greatest
common
2010 Feb 05
2
Pause in non-interactive mode
Dear all,
I've found this nice code fragment on the web
(from Jan T. Kim if I'm correct):
hitReturn <- function(msg)
{
invisible(readline(sprintf("%s -- hit return", msg)));
}
But it does not seem to work in non-interactive mode
( I mean, when I start a script like this: R --vanilla < script.R )
It simply continues, I guess the stdin is not connected?
Does somebody
2005 Jan 24
2
parameter couldn't be set in high-level plot() function
Dear R users,
I am using function bandplot from the gplots package.
To my understanding (viewing the source of bandplot) it calls
function plot (add = FALSE) with the same parameters (except for a few
removed).
I would like to give extra parameters 'xlab' and 'ylab' to function
bandplot, but, as can be seen below, that raises warnings (and the
labels do not show up at the end).
2005 Jan 31
2
Extracting a numeric prefix from a string
Hi
Does anyone know if there is a function similar to as.numeric that will
extract a numeric prefix from a string as in the following examples?
x<-c(3, "abc", 5.67, "2.4a", "6a", "6b", "2.4.a", 3, "4.2a")
df.x<-data.frame(Code=x)
x.str<-levels(df.x[,1])
# required function result
2.40 3.00 4.20 5.67 6.00 NA
Thanks
Mike White
2004 Mar 17
0
mva :: prcomp
Dear R-list users,
I'm new to principal components and factor analysis.
I thought this method can be very useful for me to find relationships
between several variables (which I know there is, only don't know which
variables exactly and what kind of relation), so as a structure
detection method.
Now, I'm experimenting with the function prcomp from the mva package.
In my source code
2004 Dec 20
1
evaluate expression on several dataframe columns
Hi R-users,
I have a collection of dataframes and know how to build
a string that refers to it, in this example, name_infra_alg_inc.
Then, I have a character string yval, which the user can select
from a drop down list. It contains the column names of the
dataframes.
assign(paste(name_infra_alg_inc, "ci", sep="."),
ci(get(name_infra_alg_inc)[[yval]], confidence=0.95))
My
2007 Oct 03
0
leaps: regsubsets, formula including interactions
Hi R-list members,
Could somebody explain to me the meaning of the '.' in the formula
SumTL~. below? I could not find it in the help pages. I'm guessing it is
substituted by v1+v2+v3+.. for all independent variables vi.
Furthermore, I would like to add interaction effects to the model,
is this also possible with the '.'?
> library(leaps)
>
2005 Jan 17
2
3d bar plot
This graph -> http://www.math.hope.edu/~tanis/dallas/images/disth36.gif
is an example I found at
http://www.math.hope.edu/~tanis/dallas/disth1.html
created by Maple.
Does anybody know how to create something similar in R?
I have a feeling it could be possible using scatterplot3d
(perhaps with type=h, the fourth example in help('scatterplot3d')?),
but I cannot figure it out.
Thanks in