Displaying 20 results from an estimated 2000 matches similar to: "Type of multi-valued variable"
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2007 Jan 03
3
pb in regular expression with the character "-" (PR#9437)
Full_Name: FAN
Version: 2.4.0
OS: Windows
Submission from: (NULL) (159.50.101.9)
These are expected:
> grep("[\-|c]", c("a-a","b"))
[1] 1
> gsub("[\-|c]", "&", c("a-a","b"))
[1] "a&a" "b"
but these are strange:
> grep("[d|\-|c]", c("a-a","b"))
integer(0)
2004 Oct 10
2
strange behaviour in R 2.0.0 (PR#7275)
Full_Name: Xiao Gang FAN
Version: R 2.0.0
OS: Windows
Submission from: (NULL) (82.226.247.142)
The following codes worked for R 1.9.1
> a = data.frame(x=1:2)
> a$y = strptime(c("20010101","20020101"),"%Y%m%d")
this no longer works for R 2.0.0:
Error in "$<-.data.frame"(`*tmp*`, "y", value = list(sec = c(0, 0), min = c(0,
:
2006 Oct 19
2
OT :JavascriptSortableTables
I found this on the rails wiki
http://www.kryogenix.org/code/browser/sorttable/
Looked farily easy, class and id for the table. Dropped the JS in to
application.js.
Problem is it''s putting the sort link on the first row of data and not on
<thead>
Anyone know how to fix it ?
Here''s a bit of my table:
<table class="sortable" id="poso">
2007 Apr 25
2
Coercing data types for use in model.frame
In the Hmisc package there is a new data class 'mChoice' for multiple
choice variables. There are format and as.numeric methods (the latter
creates a matrix of dummy variables). mChoice variables are not allowed
by model.frame. Is there a way to specify a conversion function that
model.frame will use automatically? I would use as.factor here.
model.frame does not seem to use
2007 Apr 25
2
Coercing data types for use in model.frame
In the Hmisc package there is a new data class 'mChoice' for multiple
choice variables. There are format and as.numeric methods (the latter
creates a matrix of dummy variables). mChoice variables are not allowed
by model.frame. Is there a way to specify a conversion function that
model.frame will use automatically? I would use as.factor here.
model.frame does not seem to use
2006 Aug 03
1
OT: Tables and Rails code
This might be off topic, not entirely sure. Basically I''ve created a
table to return data and it seems that the column headings repeat
along with the entries. So perhaps it''s where I''m placing the code and
not so much my HTML.
Ideas, solutions appreciated:
<h1> Current job openings</h1>
<% for position in @positions -%>
<div
2010 Apr 30
4
plotting multiple CIs
Hello,
I need to plot multiple confidence intervals for the same model parameter e.g. so for the same value of the parameter in point x_1 I would like to see four different confidence intervals so that I can compare the accuracy e.g. boot basic vs normal vs my own vs classic lm CI etc.
I like very very much the plotCI implemented here:
http://cran.r-project.org/web/packages/plotrix/index.html
2006 Feb 02
3
dynamic addition of table rows
Hi, I have a table laid out something like this:
<table>
<thead>
<tr>
<th>col 1</th>
<th>col 2</th>
</tr>
</thead>
<tbody id="tablebody">
<tr>
<td>moo</td>
<td>moo</td>
</tr>
<tr>
<td>moo</td>
<td>moo</td>
</tr>
2008 Oct 08
1
NA's in multiple choice summary table in Hmisc
Hi,
I have a set of 30 binary variables measuring side effects after drug
treatment. Since each subject can have multiple side effects, I want to
display these side effects in a multiple choice table. I'm using the summary
and mChoice functions of the Hmisc package, because it produces nicely
formatted latex tables. My problem is, that table includes a category for
people who have at
2004 Oct 10
1
R 2.0.0 - lazy loading mandadory ? (PR#7274)
Full_Name: Xiao Gang FAN
Version: R 2.0.0
OS: Windows
Submission from: (NULL) (82.226.247.142)
When a package preload another necessary package, say Hmisc,
seems that this last one must be precompiled, this is rather
boring - we must rebuild all dependant packages ?
Here's an error when compiling such a package:
---------- Making package toto ------------
2006 May 02
1
Call trellis function in a function (PR#8827)
Full_Name: Fan
Version: 2.2.1
OS: Windows
Submission from: (NULL) (159.50.101.9)
Hello,
When I call trellis function (such as histogram, densityplot, etc.) in a
function,
the call seems being ignored (no graphics is drawing) if some other instructions
are placed afeter that call.
Here's an example:
y = rnorm(100*3)
b = sample(1:3,300,replace=T)
f = function()
{
densityplot(~y|b)
}
2006 Dec 22
1
Base R: applying min/max functions() to character string vectors (PR#9428)
Full_Name: Xiao Gang FAN
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (159.50.101.9)
Dear All,
This is not really a bug report, but rather a change wish to the Base R
behaviour
on some functions when applying them to character strings vectors/matrices.
Actually in R, we can do thinks like, the most naturally way in this the world:
> "a" < "b"
[1] TRUE
>
2003 Aug 11
1
New package: irregular time-series (its)
I have uploaded to CRAN a new package named 'its' (Irregular Time-Series).
It
implements irregular time-series as an S4 class, extending the matrix class,
and records the time-stamp of each row in the matrix using POSIX. Print,
plot,
extraction, append, and related functionality are available.
Feedback and suggestions are welcome.
Giles Heywood
2003 Aug 11
1
New package: irregular time-series (its)
I have uploaded to CRAN a new package named 'its' (Irregular Time-Series).
It
implements irregular time-series as an S4 class, extending the matrix class,
and records the time-stamp of each row in the matrix using POSIX. Print,
plot,
extraction, append, and related functionality are available.
Feedback and suggestions are welcome.
Giles Heywood
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
I would appreciate any and all input. The Agile book is not useful in
this context. :o(
As near as I can tell, it doesn''t work at all.
I would expect that clicking on the [Next Question] button in the
browser would fire the next_question method in the current controller.
Instead, it (apparently) does nothing.
The tag in question
<%= submit_tag ''Next
2006 Apr 21
13
Sorttable.js
I have come across this neat Javascript table sorter at
http://kryogenix.org/code/browser/sorttable/
It seems straigh forward to use but i cant get it to work.
I have included in the head
<script src="javascripts/sorttable.js" type="text/javascript"></script>
In the View
<table class="sortable" id="anyid">
<thead>
2004 Apr 21
1
Error with 1.9.0 - winMenuAdd not usable in .Rprofile
I had this problem too. The documentation for the winMenus says that these
functions are part of the utils package. R must be loading this library
after it sources in Rprofile. If you add library(utils) to the beginning of
your .First function, it should take care of the problem.
Brian Gregor, P.E.
Transportation Planning Analysis Unit
Oregon Department of Transportation
Brian.J.GREGOR at
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
I''m trying to upload a file, display the upload progress and then
update a table with the newly uploaded file. Is there a way to
specify a :success handler for form_tag_with_upload_progress such that
I have access to the request.response data (in the way I can with
link_to_remote)?
The :finish JavaScript is being executed but because there is no
request object, the table