Displaying 20 results from an estimated 200 matches similar to: "Multiple hist(ograms) - One plot"
2011 Oct 06
3
Wide to long form conversion
I have some data 'myData' in wide form (attached at the end), and
would like to convert it to long form. I wish to have five variables
in the result:
1) Subj: factor
2) Group: between-subjects factor (2 levels: s / w)
3) Reference: within-subject factor (2 levels: Me / She)
4) F: within-subject factor (2 levels: F1 / F2)
5) J: within-subject factor (2 levels: J1 / J2)
As this is the
2011 Sep 21
3
Reading data in lisp format
Hi,
I am trying to read the "credit.lisp" file of the Japanese credit database in UCI repository, but it is in lisp format which I do not know how to read. I have not found how to do that in the foreign library
http://archive.ics.uci.edu/ml/datasets/Japanese+Credit+Screening <http://archive.ics.uci.edu/ml/datasets/Japanese+Credit+Screening>
Could anyone help me?
Best
2008 Oct 01
1
Aggregate issues with subset
Hello,
I used the aggregate function with success on my data frame "all".
> aggregate(all, list(sc_recov), mean)
I then made a subset of this data frame:
>s.all <-subset(all, select= c(3,4,5,6,7,8,9,10,11,23))
but when I tried to to run the aggregate function on this subset:
> aggregate(s.all, list(sc_recov), mean)
The result is garbage (i.e. its not grouping the data).
2008 Oct 01
0
Multiple histograms one graphic device & groupings
Hello,
I am trying to produce some graphics to visualize my data. I think I want
histograms. I have a grouping variable that has 48 different groups. I would
like to produce a graphic that contains three of of these groups in the same
device (they are time steps). I would like create graphics for about 6
different variables (6 variables X 16 groupings of there = 96 graphics). I
am unsure of how
2008 Oct 08
1
Choose subset for plot use (bwplot)
Hello, this code below was from a helpful R-help user.
dat <- read.csv("Resid_fix2.csv", sep="," , header=T)
dat11 <- dat[1:413,]
# convert ambiguous columns to factors:
dat11$Pri_No <- factor(dat11$Pri_No)
dat11$RecovUnit <- factor(dat11$RecovUnit)
# plot:
require(lattice)
bwplot(bbED~ Pri_No | RecovUnit, data=dat11, as.table=TRUE, layout=c(4,1))
This works,
2009 Sep 19
3
Lattice: combine the same strip?
Hello R helpers,
I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and
S2 are two strips. For example, in figure 2.1 at
http://lmdvr.r-forge.r-project.org/figures/figures.html.
In this case, I would like to combine the the top strip, since all three
pictures in the same row have the same level based on the first strip. In
other words, instead of
| -- S11 -- | -- S11 -- |
2003 Jul 06
1
Conditional Distribution of MVN variates
Hi Folks,
Given k RVs with MVN distribution N(mu,S) (S a kxk covariance matrix),
let (w.l.o.g.) X1 denote the first r of them, and X2 the last (k-r).
Likewise, let mu1 and mu2 denote their respective expectations.
Then, of course, the expectation of X2 given X1=x1 is
mu2 + S21*inv(S22)*(x1 - mu1)
and the covariance matrix of X2 given X1=x2 is
S22 - S21*inv(X11)*S12
where Sij is the
2009 Jun 29
1
Printing output together
Hi!
I want to print the output all together with a single column name
s21<-c(1:1000);
var21<-lapply(s21,function(x){
ns<-rnorm(78,8,9);
n<-length(ns);
Mn<-mean(ns)
Sn2<-var(ns)
return(cbind(x,Mn,Sn2));
});
var21
but my code is giving me somewhat like the following
[[1]] x Mn Sn2
[1,] 1 7.86 10.56540
[[2]] x Mn Sn2
2012 Sep 28
4
Merging multiple columns into one column
Good Evening-
I have a dataframe that has 10 columns that has a header and 7306 rows in
each column, I want to combine these columns into one. I utilized the stack
function but it only returned 3/4 of the data...my code is:
where nfcuy_bw is the dataframe with 7305 obs. and 10 variables
Once I apply this code I only receive a data frame with 58440 obs. of 2
variables, of which there should be
2008 Oct 09
2
Exporting symnum() result from cor()
Hello,
I am trying to export the results from symnum() while maintain their
readability. I tried using sink to text file and also copying and pasting
but the results end up looking like this:
> symnum(c5.s)
bC bED bEN bLP bLS bPA bPD bPR p
bbContag 1
bbED + 1
bbENN_MN + B 1
bbLPI , , , 1
bbLSI + B B , 1
bbPAFRAC , * * , * 1
bbPD , B B
2011 May 05
1
Boxplot in order
Hi,
I need construct box plot graph, but I want keep Groups
order
karla = data.frame(
Groups =
factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'),
11)),
Time = rep(c(0,7,14,21), 11),
Resp = valor
)
boxplot(Resp~Groups, order=T)
doesn't work.
How do this?
--------------------------------------
Silvano Cesar da
2003 Feb 26
1
non-standard boot floppys
I experimented with floppy sizes. Eg. I used FDFORMAT v1.8 to format a Disk
fdformat a: t82 s21 D10
(I even have a modified version of FDFORMAT that creates only 1 FAT to
save space, but I'm not using that.)
All the information is written nicely to the Boot-Record
http://home.freeuk.com/foxy2k/disk/disk3.htm
But SYSLINUX seems to ignore the information. While DOS boots fine from
these
2010 May 21
2
Xen 4.1-unstable does not boot up
Hi,
An APIC error continues happening.
__ __ _ _ _ _ _ _
\ \/ /___ _ __ | || | / | _ _ _ __ ___| |_ __ _| |__ | | ___
\ // _ \ ''_ \ | || |_ | |__| | | | ''_ \/ __| __/ _` | ''_ \| |/ _ \
/ \ __/ | | | |__ _|| |__| |_| | | | \__ \ || (_| | |_) | | __/
/_/\_\___|_| |_| |_|(_)_| \__,_|_|
2005 Sep 29
1
not all Variables are supported
Hello,
I have a MGE Comet S31. I installed nut for Debian/Sarge and configured the mge-utalk protocol. I get the following syslog messages
Sep 28 11:10:41 neckarsulm upsmon[25505]: Poll UPS [comet@mastermind] failed - Variable not supported by UPS
Sep 28 11:10:46 neckarsulm mge-utalk[25284]: updateinfo: Cannot update ups.temperature
Sep 28 11:10:46 neckarsulm mge-utalk[25284]: updateinfo: Cannot
2009 Jul 29
3
Object equality for S4 objects
To test two environments for object equality (Lisp EQ), I can use 'identity':
> e1 <- environment(local(function()x))
> e2 <- environment(local(function()x))
> identical(e1,e2) # compares object identity
[1] FALSE
> identical(as.list(e1),as.list(e2)) # compares values as name->value mapping
[1] TRUE # (is there a
2012 Jun 24
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Karel,
I understand this patch has already been merged (to 3.0), so don't
take my question as stopping the merge to head, I'm just making sure I
got it right... The rest looks correct.
+ CCIfType<[v2f64], CCAssignToReg<[Q4, Q5]>>,
+ CCIfType<[f64], CCAssignToReg<[D8, D9, D10, D11]>>,
+ CCIfType<[f32], CCAssignToReg<[S16, S17, S18, S19, S20, S21, S22,
2020 Mar 31
2
[ARM] Register pressure with -mthumb forces register reload before each call
Hi,
Compiling attached test-case, which is reduced version of of
uECC_shared_secret from tinycrypt library [1], with
--target=arm-linux-gnueabi -march=armv6-m -Oz -S
results in reloading of register holding function's address before
every call to blx:
ldr r3, .LCPI0_0
blx r3
mov r0, r6
mov r1, r5
mov r2, r4
ldr r3,
2020 Apr 07
2
[ARM] Register pressure with -mthumb forces register reload before each call
If I'm understanding what's going on in this test correctly, what's happening is:
* ARMTargetLowering::LowerCall prefers indirect calls when a function is called at least 3 times in minsize
* In thumb 1 (without -fno-omit-frame-pointer) we have effectively only 3 callee-saved registers (r4-r6)
* The function has three arguments, so those three plus the register we need to hold the
2020 Apr 15
4
[ARM] Register pressure with -mthumb forces register reload before each call
Hi,
I have attached WIP patch for adding foldMemoryOperand to Thumb1InstrInfo.
For the following case:
void f(int x, int y, int z)
{
void bar(int, int, int);
bar(x, y, z);
bar(x, z, y);
bar(y, x, z);
bar(y, y, x);
}
it calls foldMemoryOperand twice, and thus converts two calls from blx to bl.
callMI->dump() shows the function name "bar" correctly, however in
generated
2015 Sep 24
0
FreeBSD 10 & default_vsz_limit causing reboots?
Update.? Only a single reboot has occurred since changing
defalt_vsz_limit from 384M to 512M.? It would seem that something the
users are doing is causing that virtual memory size to be exceeded
(possibly a mailbox search?), and when that occurs Dovecot/FreeBSD is not
handling the event as smoothly as expected.
Here's my dmesg for more basic info.
Sep 17 11:25:39 romulus syslogd: kernel boot