Displaying 20 results from an estimated 1100 matches similar to: "Found "answer" to my question on MTB's INDICATOR"
2000 Dec 22
1
Do we have similar function to Minitab's INDICATOR?
Dear R-Friends,
Do we have a similar R function to work like Minitab's INDICATOR?
INDICATOR C2, C11-C15
C2 C11 C12 C13 C14 C15
2 1 0 0 0 0
2 1 0 0 0 0
5 ------> 0 0 0 1 0
3 0 1 0 0 0
6 0 0 0 0 1
5 0 0 0 1 0
* * * * *
2007 Mar 10
3
long character string problem
Hi All
I am having 2 very long character strings (550chars) and I want to put them as
expressions together with c(). The problem is that I also get these
double-quotes, as seen below in 'fct'. How can I remove these double-quotes? I
tried as.name() but it did not work (because of size?). These are creating
trouble with subsequent programs, which I tested with strings that for some
2010 May 16
1
Reading JPEG file, converting to HEX
Colleagues,
I am using R to assemble RTF documents (which are plain text). I need to embed a JPEG graphic that was created with R. I presume that the steps need to be:
a. read the file into R
b. convert the object to HEX format
c. write the converted object to a textfile.
If I read the file into R using readLines, I get the following (only the first 5 lines shown):
> >
2009 Jul 15
1
Help with averaging
Hi
I am using the following script to average a set of data 0f 62 columns into 31 colums. The data consists of values of ln(0.01) or -4.60517 instead of NA's. These need to be averaged for each row (i.e 2 values being averaged). What I would I need to change for me to meet the conditions:
1. If each run of the sample has a value, the average is
given
2. If only one run of the sample has a
2011 Mar 07
3
linear mixed model with nested factors
Hi R-help.
I am trying to run a linear mixed model with nested factors with either
lme or lmer and I am having no luck obtaining the same results as Minitab.
Here is Minitab's code:
MTB > GLM 'count' = site year replicate(site year) site*year;
SUBC> Random 'year' 'replicate';
Can you tell me how to code this in R?
The settings are typeII, Tukey,
2008 Feb 27
1
how to specify ggplot2 facet plot order
Hi, new to R and ggplot2. I've been trying to get a facet plot in which the
order of the facets is as I require, rather than ordered numerically,
alphabetically, by Roman numerals, mean (answers to these were posted here
after much searching). Here's some test code to demonstrate what I get.
series = c('C2','C4','C8','C10','C15','C20')
ids =
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
Hello,
We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually.
Here is the debug output of the commands
Regards,
Peter
[ 0.0] Examining the guest ...
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: add_drive
2001 Feb 09
1
starting values for uniquenesses in factanal()
Dear R-help,
Using R 1.2.1 on Windows98 to run a factor analysis on a 64x150 matrix of
data generated from a simulation model, factanal() reported that it failed
to find a solution. Looking at the factanal code, I see the immediate
condition that triggered the result:
if (best == Inf)
stop("Unable to optimize from these starting value(s)")
So I am sure factanal() is giving
2004 Apr 05
3
Selecting Best Regression Equation
Dear all,
Does R or S-plus or any of their packages provide any command to form any
of the following procedures to find Best Regression Equation -
1. 'All Possible Regressions Procedures' (is there any automated command
to perform 2^p regressions and ordering according to criteria R2(adj),
mallows Cp, s2- by not setting all the regression models manually),
2. 'Backward
2010 May 29
3
adding statistical output to a plot
I have written a function to emulate minitab's QQ plotting output (with SW
test and AD test results on the graph):
mtab.norm<-function(x)
{ library(nortest)
library(lattice)
x<-as.numeric(x)
x<-as.vector(x)
plot.ht<-4.6
plot.wd<-4.6
pt.ht=plot.ht/5
txt.sz<-(plot.ht/7.5)
X11(width=plot.wd, height=plot.ht, bg='gray96')
qqplot(x, pch=16, cex=pt.ht,
2008 Feb 27
1
ggplot2 boxplot confusion
Ultimately my aim is to get a plot of density faceted by 2 factors with a
horizontal boxplot overlaid on each density plot in the grid to indicate
summary stats. So I've been experimenting with creating boxplots and density
plots. Here's some representative data.
series = c('C2','C4','C8','C10','C15','C20')
ids =
2005 Jan 20
1
Straight-line fitting with errors in both coordinates
Hi All,
I want to fit a straight line into a group of two-dimensional data points with
errors in both x and y coordinates. I found there is an algorithm provided in
"NUMERICAL RECIPES IN C" http://www.library.cornell.edu/nr/bookcpdf/c15-3.pdf
I'm wondering if there is a similar function for this implemented in R. And
how can I change the objective function, from example, from sum
2003 Dec 08
2
Character graphics
Does anyone else miss email-friendly character graphics such as the
following example, produced using Minitab?
Histogram of C6 N = 478 N* = 21
Each * represents 2 observation(s)
Midpoint Count
-12 16 ********
-11 53 ***************************
-10 63 ********************************
-9 83
2014 Jun 05
3
[LLVMdev] [rfc] "alias weak" X "weak alias"
moving to llvmdev.
It always amused me that we have
@a = weak global ...
but
@b = alias weak ...
I decided to dig why that is. The best I could find was
http://llvm.org/bugs/show_bug.cgi?id=1017#c15
Looking at some really old cold then suggests that the reason was that
the old bison based parser hard a reduction for alias linkages and
another one for global variable linkages. Putting the
2015 Jul 13
2
Crear datos aleatorios con restriciones
Perdon por no se lo suficientemente claro :(
Tu codigo produce `validPairs` que tiene 7 variables y 360 observaciones.
Donde
> validPairs[1,] V1 V2 V3 V4 V5 V6 valid
60 e1 g1 c1 e1 g1 c2 Valid
indica que un maestro tiene asignado c1 y c2 en la escuela e1 y el grado
g1. Correcto? Si es asi, esto es casi lo que queira producir y creo que
puedo llegar a donde quiero usando tu codigo de base.
2016 Apr 08
2
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
Hi,
On 23-03-16 23:10, Samuel Pitoiset wrote:
> Are you sure this won't break compute shaders on fermi?
> Could you please double-check that?
I just checked:
lspci:
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
Before this patch-set:
[hans at plank piglit]$ ./piglit run -o shader -t '.*arb_shader_storage_buffer_object.*' results/shader
2010 May 27
1
stripplot, lattice
hello,
i can't figure out how to set position of panels of my stripplot -
i`d like the panels of one level of the factor stage (nr. of panels within
each stage, A: 12, B: 12, C: 12, D: 4, each panel representing a site) to be
in one column, with A to D from left to right and with descending site.nr at
each row.
like:
A1 B1 C1 D1
A2 B2 .. ..
A3 .. ..
..
how is this achieved?
any help
2011 Oct 04
1
F-values in nested designs
Hello all
I'm trying to learn how to fit a nested model in R. I found a toy
example on internet where a dataset that have?3 areas and 4 sites
within these areas. When I use Minitab to fit a nested model to this
data, this is the ANOVA table that I got:
Nested ANOVA: y versus areas, sites
Analysis of Variance for y
Source DF SS MS F P
areas 2 4.5000 2.2500
2008 Sep 25
5
Dot plot - equivalent of MINITAB
hi folks,
Bit of a newbie, but I've spent a fair bit of time looking for an answer on
this, with no joy. Can anyone help me?
Dataset: A single column of values in a csv file (eg. 52, 53, 54, 85, etc)
Goal: In Minitab, you have what they call a dot plot. It's a histogram,
where a single dot represents a set of identical values (eg. 57, 57, 57
would be one dot). Multiple dots are
2013 Jan 05
2
BUG btrfs fi show displays stale btrfs volume
I''ve filed this bug under util-linux, because I think wipefs isn''t deleting all btrfs metadata it could. But ultimately it appears to be a btrfs bug because nothing else sees the stale volume.
https://bugzilla.redhat.com/show_bug.cgi?id=889888#c15
btrfs-progs-0.20.rc1.20121017git92d9eec-1.fc18.x86_64
e2fs-progs-1.42.5-1.fc18.x86_64
kernel 3.7.1-2
Brand new 80GB virtual disk,