Hi Jim,
Thanks a lot for your help!
Kind regards,
Xianwen
On 10/02/2013 03:24 AM, Jim Lemon wrote:
On 10/02/2013 04:43 AM, Xianwen Chen wrote:
Thanks Jim,
The picture width is adjusted. That was great help! I really
appreciate it.
Does lwd mean 'line width'? I'm not exactly sure how that
On 10/02/2013 04:43 AM, Xianwen Chen wrote:
Thanks Jim,
The picture width is adjusted. That was great help! I really appreciate it.
Does lwd mean 'line width'? I'm not exactly sure how that will help. Can
you please explain the intuition behind it?
Yes, "lwd" refers to line width. The combinat
Thanks Jim,
The picture width is adjusted. That was great help! I really appreciate it.
Does lwd mean 'line width'? I'm not exactly sure how that will help. Can
you please explain the intuition behind it?
Can I also ask another question? My graph is made from 7 plots from
sm.density.compare(
On 10/01/2013 08:17 AM, Xianwen Chen wrote:
Dear fellows,
The two questions are on sm.density.compare(). I compare kernel density
estimates of two arrays of data.
I'd like to scale up y-axis so that I can show better the differences in
y values. English is not my first language so I'll try to e
Dear fellows,
The two questions are on sm.density.compare(). I compare kernel density
estimates of two arrays of data.
I'd like to scale up y-axis so that I can show better the differences in
y values. English is not my first language so I'll try to explain it. I
would like to stretch y-axis
Dear Jorge,
I appreciate your help.
I didn't forget this arguments, I just didn't know it ;)
Now I adjust my code and it works well.
Thanks a lot!
If I can have one more question:
g <- rep(c(1, 2), each = 1000)
what if the number of values is not equal?
Przemek
--
View this message in conte
Hi Przemek,
Take a look at ?sm.density.compare : you forgot to include the "group"
argument in your call. Try
require(sm)
rno1 = rnorm(1000)
rno2 = rnorm(1000)
g <- rep(c(1, 2), each = 1000)
y <- c(rno1, rno2)
sm.density.compare(y, g, model = 'equal')
HTH,
Jorge.-
On Mon, Jan 2, 2012 at 7:00
Dear all,
Let say I have a sets of numbers:
rno1 = rnorm(1000)
rno2 = rnorm(1000)
If I write request as follow:
sm.density.compare (rno, rno3, xfit=min(rno), max(rno2))
why I receive a lot of curves in my plot, while I have only two data sets?
regards
Przemek
--
View this message in context:
Is it possible to generate a density plot comparing several (6 or 7) groups
of data and have the x-axis in date format (e.g.: "%d%b", 10Mar)?
When I try to input the data in date format I get an error saying "this
function only allows 1-d data".
Thank you,
Claudia
[[alternative HTML vers
I've been using the sm.denstiy.compare function and would like to know some
specifics:
a) What kind of bootstrap sampling is used, with or without replacement?
b) A p-value is returned after running the following script (for example):
library(sm)
y <- rnorm(100)
g <- rep(1:2, rep(50,2))
sm.densit
Hi James,
>> Error in if (from == to) rep.int(from, length.out) else as.vector(c(from,
>> :
>> missing value where TRUE/FALSE needed ...
>> ... The only difference with my data is that I have some missing values
>> that show as NA
This is precisely the problem.
## Show the error [message]
y <
I am running the sm.density.compare function amd I am getting the following
error:
my code is > sm.density.compare(LBSTRESN,COHORT,xlab="Units = umol/L"subset =
LBTEST=="Creatinine")
Error in if (from == to) rep.int(from, length.out) else as.vector(c(from, :
missing value where TRUE/FALS
12 matches
Mail list logo