Dieter Menne wrote:
>
> How do I wait for a single character input without terminating "Enter"?
>
In case someone needs a solution for Windows, here it is. Compiled Dll from
http://www.menne-biomed.de/download/keystate.zip
Dieter
#dyn.unload("keystate.dll")
dyn.load("keystate.dll")
AsyncK
--
View this message in context:
http://n4.nabble.com/Single-character-input-without-Enter-tp1564153p1567054.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-he
David Winsemius wrote:
>
>
> Put quotes around the column names:
> AbioRep$'US001 Index'
>
>
Or use AbioRep[,"US001 Index"]
Dieter
--
View this message in context:
http://n4.nabble.com/Excel-Data-Import-using-RODBC-tp1566728p1567049.html
Sent from the R help mailing list archive at Nab
Hi Chinna,
Connecting to the database, have a look here for starting point:
http://www.togaware.com/datamining/survivor/Database_Connection.html
as for hist:
?hist
As for forcasting for econometric data, start by looking here:
http://cran.r-project.org/doc/contrib/Farnsworth-EconometricsInR.pdf
On 02/24/2010 04:30 PM, chinna wrote:
sorry for asking again and again
my Requirement:
i am connecting to teradata database and i am accessing tables and table
data also, i need generate graphs using that data and also i need to
forecast the results.
for example
i have a table xyz
Store
Surprisingly in this case, the simplest solution was the best one. Using
read.table(filename,skip=4) was all it took. Cheers :)
--
View this message in context:
http://n4.nabble.com/reading-surfer-files-tp1566943p1567003.html
Sent from the R help mailing list archive at Nabble.com.
sorry for asking again and again
my Requirement:
i am connecting to teradata database and i am accessing tables and table
data also, i need generate graphs using that data and also i need to
forecast the results.
for example
i have a table xyz
Store Year Revenue
abc
sorry for asking again and again
my Requirement:
i am connecting to teradata database and i am accessing tables and table
data also, i need generate graphs using that data and also i need to
forecast the results.
for example
i have a table xyz
Store Year Revenue
abc
On Feb 23, 2010, at 10:23 PM, RagingJim wrote:
To the R experts,
I am currently playing with a program which was designed so that the
outputs
are to be read in "Surfer". I do not have the program, but the
files, can
but put into excel and graphed. I figured i could do the same thing
wit
The problem is, if I use read.table I get "Error in
read.table("HeatLow_maphhs000.1994010101") :
duplicate 'row.names' are not allowed"
if I try "table<-read.table("HeatLow_maphhs000.1994010101",sep=" ")"
Then I get:
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.s
On Mon, 22-Feb-2010 at 02:45PM -0500, Cedrick W. Johnson wrote:
|>
|> I've managed to successfully use R (based on a remote Linux server) and have
th
|> e graphics piped back to me via SSH on a windows machine..
|>
|> Take a look at XMing on the windows side, along with PuTTY.
Ask your IT guys
On Mon, 22-Feb-2010 at 10:56PM -0800, chinna wrote:
|>
|> I have a table having the data as follows
|>
|> country Revenue
|> us $68967
|> aus $60087
|> newz $78965
|> china $67846
|>
|> i am connecting to the database and i am getting data then how can
Check read.table (?read.table).
--- On Wed, 24/2/10, RagingJim wrote:
> From: RagingJim
> Subject: [R] reading "surfer" files
> To: r-help@r-project.org
> Received: Wednesday, 24 February, 2010, 3:23 PM
>
> To the R experts,
>
> I am currently playing with a program which was designed so
> th
To the R experts,
I am currently playing with a program which was designed so that the outputs
are to be read in "Surfer". I do not have the program, but the files, can
but put into excel and graphed. I figured i could do the same thing with R.
If I open the file with excel, and put the text int
Ah, those can be used to index the rows:
# create a new column with TRUE for the first row of each Vin:
ladata2$First <- !duplicated(ladata2$Vin)
# view only those rows:
ladata2[ladata2$First,]
>>>
From: wookie1976
To:
Date: 24/Feb/2010 2:53 p.m.
Subject: Re: [R] First. Last. Data row selec
Steve,
Your example seems to work quite well, except I get a summary printout
showing all the true and false values.
> !duplicated(ladata2$Vin)
[1] TRUE TRUE TRUE TRUE
What I would like to do is have the true/false values appended to a column
at the end of my dataset so that when don
Tena koe Laura
temp <- yourData[(yourData[,1]==1 & yourData[,2]=='-') |
(yourData[,1]==2 & yourData[,2]=='+'),6]
Then use similar subsetting to put column 4 into 6, and then temp into
column 4. If you don't want to use the intermediary temp then you can
use the construct
a <- a+b
b <- a-b
a <-
Try this:
a <- b <- read.table(textConnection("
1 + name1 1 2 3
2 + name2 5 9 10
2 - name3 56 74 93
1 - name4 65 75 98"), skip=1, header=FALSE)
swapidx <- with(a, (V1 == 2 & V2 == "+") | (V1 == 1 & V2 == "-"))
b[swapidx,] <- b[swapidx, c(1:3,6:4)]
This creates an indexing vector that identifies
I am new to mmlcr and am working on a latent class mixture model attempting
to identify
the trajectory and number of classes that best describes my data. I am able
to find model
parameters such as degrees of freedom, loglikelihood, and BIC.
For example, here is a cubic 3-class model I am using.
Hello
On 2/23/10, Marc Schwartz wrote:
> I was not aware of Romain's xterm256 package, but from a quick review of the
> manual, it would appear to not support an automated syntax highlighting
> capability. One seems to need to explicitly print output to the console using
> his functions to be
Thanks Don MacQueen for this reply to my initial query - please SEE MY REPLIES
TO THESE IDEAS AND FURTHER INFORMATION BELOW
>From: Don MacQueen [m...@llnl.gov]
>Sent: 23 February 2010 21:25
>To: Jonathan Williams; r-help@r-project.org
>
>Subject: Re: [R] Problem with strptime generating missing v
Hi all! I am using GenABEL on R for GWAS analysis. I am having a couple of
issues:
First, I am having a problem reading files (.map, & .ped, size 900Mb, using
windows 32-bit) onto R in the "convert.snp.ped" statement. I am thinking
this problem is likely due to the large size of the files & my
On Feb 23, 2010, at 5:17 PM, Luis Felipe Parra wrote:
Hello I am importing data from Excel to R using RODBC and I am
ending up
with the following data frame:
names(AbioRep)
[1] "Date" "US0001W Index" "US0002W Index" "US0001M Index"
"US0002M Index" "US0003M Index" "US0004M Index" "US
On Feb 23, 2010, at 4:27 PM, Laura Rodriguez Murillo wrote:
Hi all,
I'd appreciate if anyone can help me with this...
I have a data frame that looks like this:
1 + name1 1 2 3
2 + name2 5 9 10
2 - name3 56 74 93
1 - name4 65 75 98
I need to rearrange this in a way so that the rows with "1"
Ah perfect thank you.
From: jholtman [via R] [mailto:ml-node+1566613-1138252725-103...@n4.nabble.com]
Sent: Tuesday, February 23, 2010 2:00 PM
To: ROLL Josh F
Subject: Re: select row based on highest value
Is this better:
> sapply(split(v, v$Prop), function(x) x
I want to call summary on a mer object (from lme4) within my package
but I can't seem to get the namespace to import the necessary method.
I've simplified my package to this one function:
---
ss <- function(m) {
summary(m)
}
---
And my namespace f
Hello again,
lately I have been playing a lot with heatmap functions,
in particular I complemented heatmap.2 with a nice feature from
heatmap.plus,
i.e. the possibility of assigning a matrix to ColSideColors so to take into
account more annotations.
Below is the code I introduced in heatmap.2, eve
Hello I am importing data from Excel to R using RODBC and I am ending up
with the following data frame:
names(AbioRep)
[1] "Date" "US0001W Index" "US0002W Index" "US0001M Index"
"US0002M Index" "US0003M Index" "US0004M Index" "US0005M Index" "US0006M
Index"
[10] "US0007M Index" "US0008M
In RExcel, you can write VBA macros to perform R-related function.
A cooked up example (not checked)
Sub TransferFrames()
MySheetNames = Array("Sheet1", "Sheet2", "Sheet3")
MyDFNames = Array("mydf1", "mydf2", "mydf3")
RInterface.StartRServer
For i = Lbound(MySheetNames) to UBound(MySheetNa
On Feb 23, 2010, at 3:18 PM, Ortiz, John wrote:
Hi all,
If I have a data frame with 3 columns as follows:
ta
Species Depth Counts
spc_a 120 60
spc_a 140 140
spc_b 140 5
spc_b 150 4
spc_b 180 10
spc_c 180 10
spc_c 190 20
How can I turn
Remote server has to be a Windows machine also.
RExcel uses (D)COM which is Windows-specific
On 2/22/2010 9:14 AM, Philipp Rappold wrote:
> Dear all,
>
> does anyone know if it is possible to connect a Windows RExcel instance
> to a linux R instance?
>
> Within Rexcel, I find the option "Remote
On 02/24/2010 06:54 AM, Amy Hessen wrote:
Hi,
I’m trying to install ipred package but I receive the following error message:
library(ipred)
Loading required package: rpart
Loading required package: MASS
Loading required package: mlbench
Error: package 'mlbench' could not be loaded
In addition
Thanks Gabor. I wasn't aware of that. I will upgrade to the latest version of
gdata.
-
Try http://prettygraph.com Pretty Graph , the easiest way to make R-powered
graphs on the web.
--
View this message in context:
http://n4.nabble.com/export-tables-to-Excel-files-tp1565679p159.html
Se
That should be skip = 1, not skip = 2
> DF <- read.xls(xlsxfile, skip = 1, col.names = paste(names(DF1), DF1))
> head(DF)
A.1 B.1 C.1
1 2 4 8
2 3 9 27
3 4 16 64
4 5 25 125
5 6 36 216
6 7 49 343
On Tue, Feb 23, 2010 at 5:24 PM, Gabor Grothendieck
wrote:
> read.xls in th
Hi all,
I'd appreciate if anyone can help me with this...
I have a data frame that looks like this:
1 + name1 1 2 3
2 + name2 5 9 10
2 - name3 56 74 93
1 - name4 65 75 98
I need to rearrange this in a way so that the rows with "1" in the
first column, and "-" in the second column; then columns
read.xls in the development version of the gdata package can read xls
and xlsx files and could interpret both header rows by reading the
file twice. Using the ExampleExcelFile.xlsx file that comes with gdata
assume that the first two rows are actually headers (so the row of 1s
is a header in this e
Note that gdata 2.7.1 can read both xls and xlsx files and is
available on all platforms.
If you have any problems with the CRAN version there is a pointer to
the development version here and also alternative packages such as
xlsx are listed:
http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_w
Is this better:
> sapply(split(v, v$Prop), function(x) x$TAZ[which.max(x$area)])
p754921 p75506 p75508
37 282 46
>
Take a look at what you were doing. The result of the 'tapply' is to
split v$area in to smaller groups based on v$Prop, so the 'x'
parameter is not going to be the
On 2010-02-23 14:47, Nutter, Benjamin wrote:
Has anyone ever tried putting a circle around a letter or a number in a
plot title?
For instance, if I have a plot title "Scatterplot for Subject 24", I
want to put a circle around 24 to distinguish that plot from the other
30 I've generated. Any tip
On 2010-02-23 12:58, emorway wrote:
Hi Hrishi,
With regard to the post you helped me out with, I've got my graph almost
dialed in the way I would like it. There was one more small thing my
searches have been unable to turn up. I've tried searching with "stagger
labels" "offset Labels" "altern
Has anyone ever tried putting a circle around a letter or a number in a
plot title?
For instance, if I have a plot title "Scatterplot for Subject 24", I
want to put a circle around 24 to distinguish that plot from the other
30 I've generated. Any tips or ideas beyond plotting a circle in the
marg
Hi Richard,
Thanks for pointing this out.
BTW - How would you use Rexcel to write several data frames into several
sheets in excel ?
Thanks!
Tal
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
Read me:
Hello I am trying to import an Excel file but I am loosing the headers, My
headers are in the first to rows of the EXCEL file. In the following R
output, the NA are supposed to be the second item in the Header. Is there
any way to Import more than one row as headers?. Thank you
Felipe Parra
> Dat
What happens if you do all that NA checking on dob *before*
subtracting 100 from dob$year?
What happens if you use difftime() before subtracting the 100?
Do you get any NAs if you convert dob to POSIXct?
(these are just investigative ideas, obviously)
-Don
At 6:26 PM + 2/23/10, Jonathan
Hi all,
If I have a data frame with 3 columns as follows:
> ta
Species Depth Counts
spc_a 120 60
spc_a 140 140
spc_b 140 5
spc_b 150 4
spc_b 180 10
spc_c 180 10
spc_c 190 20
How can I turn it into a dataframe or matrix with this structure?:
Philipp Rappold wrote:
Dimitris, thanks for your detailled answer and the literature
recommendation.
However, I'm still wondering about the interpretation of coefficients in
the AFT model with time-varying covariates. The precise question is: How
can I interpret a "single" coefficient if my a
Sorry, forgot to mention I'm running R 2.10 on Windows 7, and I ran the
command window as Administrator. Thanks, Doug
--
View this message in context:
http://n4.nabble.com/Failed-install-of-package-xlsReadWrite-tp1476880p1566479.html
Sent from the R help mailing list archive at Nabble.com.
Please consider the following
#Data to use
Props<-c("p754921","p754921" ,"p754921","p75506" ,"p75506"
,"p75506","p75506","p75508","p75508","p75508","p75508","p75508")
TAZ<-c(38,37,37,171,171,282,171,46,46,169,169,169)
Area<-c(109828.04, 128134.71, 46469.57, 37160.21,
40080.50,344679.66
Hi, all. I too got this error, and when I went to register the correct DLL
(thinking the one downloaded but not installed might have been the
development version) I got an error that the registration had failed.
What I typed:
C:\Program Files\R\R-2.10.0\library\xlsReadWrite\libs>regsvr32
xlsRea
These tell you the first and last row for each plate:
!duplicated(df$plate)
!duplicated(df$plate, fromLast=TRUE)
Hope that helps.
Steve
>>>
From: wookie1976
To:
Date: 24/Feb/2010 6:54 a.m.
Subject: [R] First. Last. Data row selection
I am in the process of switching from SAS over to R.
Hi.
Looking at http://cran.r-project.org/web/packages/mlbench/index.html I
get the feeling that R (≥ 2.10.0) is a requirement. What does a
> version
give you?
Cheers, Mikkel.
2010/2/23 Amy Hessen :
>
>
> Hi,
>
> I’m trying to install ipred package but I receive the following error message:
>
> l
Please ignore the link I sent before, it is wrong. Apologies to all.
Instead, please see
http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows&s=excel
--JIV
On Tue, Feb 23, 2010 at 3:35 PM, Jorge Ivan Velez <> wrote:
> Hi Luis,
>
> Take a look at
> http://wiki.r-project.org/rwiki/doku.p
Hi Luis,
Take a look at
http://wiki.r-project.org/rwiki/doku.php?id=tips:data-io:ms_windows for some
ideas.
HTH,
Jorge
On Tue, Feb 23, 2010 at 3:06 PM, Luis Felipe Parra <> wrote:
> Hello
>
> I am trying to import the attached file Curva LIBOR to R. I am trying to
> use
> the following command
On Tue, Feb 23, 2010 at 1:45 PM, Henrique Dallazuanna wrote:
> see below:
>
> On Tue, Feb 23, 2010 at 2:16 PM, Ivan Calandra
> wrote:
>> Dear R users,
>>
>> I've learned today about RODBC package in order to import xls file to
>> dataframes and export the dataframes to xls files.
>>
>> However I
mauede wrote:
>
> How, if possible, can I run an R script, from command line, passing
> external parameters just like
> I can run a C main program passing parameters:
>
> # Cprog p1 p2 p3
>
> Cprog can access its arguments (p1,p2,p3) through the built-in structures
> "argv" and "argc".
> Sinc
I've never tried reading in an Excel file. I usually just export the file as a
csv file and read it in using read.csv().
--- On Tue, 2/23/10, Luis Felipe Parra wrote:
> From: Luis Felipe Parra
> Subject: [R] Importing a file to r
> To: r-help@r-project.org
> Received: Tuesday, February 23, 201
Hi,
Thanks a lot for making me aware of that SVM-Type. I just thought it
would give a warning or an error if C-classification wasn't used.
The solution in my real case was to make the response variable a
factor, i.e. before I had Y ~ . with Y numeric. If I first converted Y
to a factor, i.e. Y <-
Hi R-useRs,
after having read
http://tolstoy.newcastle.edu.au/R/help/05/07/8498.html
with the same topic but five years older. the solution for a contr.sum
with names for factor levels for R version 2.10.1 will be to comment out
the following line
#colnames(cont) <- NULL
in contr.sum i gue
Hello
I am trying to import the attached file Curva LIBOR to R. I am trying to use
the following commands and obtaining the following errors
> res <- read.xlsx("C:\\Users\\FELIPE
PARRA\\Documents\\Quantil\\Federacion\\Curva LIBOR.xlsx", 4)
Error en .jcall(rowCells[[ic]], "I", "getColumnIndex") :
Hi,
On Tue, Feb 23, 2010 at 2:43 PM, Mikkel Meyer Andersen wrote:
> Dear list.
>
> I using the SVM-methods from the e1071, but I can't get the
> probabilities when predicting.
>
> Code:
> x <- matrix(rbinom(100, 10, 0.3), ncol=2)
> y <- apply(x, 1, sum)
> fit <- svm(y ~ x, method = "C-classificat
Dear r-users,
i am developing regression tree for censored data,
I have difficulty purning the tree,
I choose the smallest of the cp , minimizing the predictive error (xerror)
but this is not enough, i still have big tree.
if anybody know about he pruning
Technique, could you please sent th
Dear r-users,
i am developing regression tree for censored data,
I have difficulty purning the tree,
I choose the smallest of the cp , minimizing the predictive error (xerror)
but this is not enough, i still have big tree.
if anybody know about he pruning
Technique, could you please
I am fittting a linner regression with constrained parameters, saying, all
parameters are non-negative and sum up to 1.
I have searched historical R-help and found that this can be done by
solve.QP from the quadprog package. I need to assess the significance of the
coefficient estimates, but there
Hi Hrishi,
With regard to the post you helped me out with, I've got my graph almost
dialed in the way I would like it. There was one more small thing my
searches have been unable to turn up. I've tried searching with "stagger
labels" "offset Labels" "alternate labels" to no avail.
the perti
Hi,
Im trying to install ipred package but I receive the following error message:
library(ipred)
Loading required package: rpart
Loading required package: MASS
Loading required package: mlbench
Error: package 'mlbench' could not be loaded
In addition: Warning messages:
1: package 'ipred' wa
wookie1976 wrote:
>
> I am in the process of switching from SAS over to R. I am working on very
> large CSV datasets that contain vehicle information. As I am processing
> the data, I need to select the first (or sometimes the second) record (by
> date) for any records that have the same licen
Dear list.
I using the SVM-methods from the e1071, but I can't get the
probabilities when predicting.
Code:
x <- matrix(rbinom(100, 10, 0.3), ncol=2)
y <- apply(x, 1, sum)
fit <- svm(y ~ x, method = "C-classification", kernel = "radial",
probability = TRUE)
predict(fit, x, probability=TRUE)
Here
Hello,
I'm trying to write a function which, among other things, attempts to
convert variables of type 'character' into various other classes like
'integer', 'numeric', 'character' & "Date", depending on the class of
a second parameter to this same function. Converting from character
to Date is
Hi all,
I created the following script to make a frequency count for
multi-dimenstioanl array. There is no problem with the results except
for the NA values which returns 0.
Now, I don't want NA to return 0 but to return as NA. This is because
I'm dealing with gridded data in which the NODAT
see below:
On Tue, Feb 23, 2010 at 2:16 PM, Ivan Calandra
wrote:
> Dear R users,
>
> I've learned today about RODBC package in order to import xls file to
> dataframes and export the dataframes to xls files.
>
> However I have some problems. Please excuse me if these are basic but as I
> said, I'
Hello,
I have noticed a bug with LSSVM implementation in R. It could be a bug with
the LSSVM itself that causes this problem.
I thought I should post this message to see if anyone else is familiar with
this problem and explain why the result is different for odd and even number
of cases.
Once th
I've attached some functions I've written based on previous questions
that have been posted here. Unfortunately, I was too lazy to give
credit to previous commenters in my Rd file, and for that I hope they'll
forgive me.
In any case, please be assured that the functions I've attached are in
no
Dear R Helpers,
I am having difficulty with strptime. I wish to find the differences between
two vectors of times. I have apparently no difficulty to convert the vectors
to the appropriate format using strptime. But, then difftime does not
calculate all the differences.
Here is the code and outpu
On 23/02/2010 6:01 AM, Preeti Iyer wrote:
Hello,
I have a set of points (x and y coordinates) generated by
multidimensional scaling function (isoMDS) . The z-axis coordinates
consists of a set of values for each of these x and y coordinates. I use
persp function to give a surface. What I would
I am in the process of switching from SAS over to R. I am working on very
large CSV datasets that contain vehicle information. As I am processing the
data, I need to select the first (or sometimes the second) record (by date)
for any records that have the same license plate number. In SAS, ther
Ah yes you are correct, my apologies.
TazProperties2..$Area<-TazProperties..$Area[match(TazProperties..$Props,TazProperties..$Props)]
should be
TazProperties2..$Area<-TazProperties..$Area[match(TazProperties2..$Props,TazProperties..$Props)]
As is this does give me what i want sort of. The proble
Hello List,
I am using the function plsr (from package pls) to fit a model with 41
independent variables and several (8ish) response variables. I'm
using Leave-one-out cross validation.
I would like to know how to find out the total variation in Y
explained by a model with a given number of comp
See R News 4.1 and particularly the table at the end of the relevant article.
On Tue, Feb 23, 2010 at 9:48 AM, karine heerah wrote:
>
> Hi,
>
>
>
> I have date and time in a format like this: " 2007-02-21 05:19:00".
>
> Do you which function i can use to derterminate the difference in time
> bet
One more option:
transform(test, Y = NULL)
On Tue, Feb 23, 2010 at 9:04 AM, Knut Krueger wrote:
> Hi to all,
> test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
> test <- test[,-2]
>
> Is there a way to specify the col name "Y" to delete instead the number?
>
> Kind regards Knut
>
> __
You probably want something like this is there are multiple tags you
are matching on (?paste):
> TazProperties2..$Area<-TazProperties..$Area[match(
+ paste(TazProperties2..$Props2, TazProperties2..$TAZ2),
+ paste(TazProperties..$Props, TazProperties..$TAZ))]
> TazProperties2..
Props2 T
test$Y<-NULL
test["Z"]<-NULL
>>> Todd Ogden 23/02/2010 16:02:01 >>>
There might be more elegant ways, but this will do it:
test<-test[-match("Y",names(test))]
On Feb 23, 2010, at 7:04 AM, Knut Krueger wrote:
> Hi to all,
> test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
> test <- test[,
dd = as.POSIXlt(c("2007-02-21 05:19:00", "2007-02-20 14:21:53"),
format="%Y-%m-%d %H:%M:%S")
dd[1]-dd[2]
b
On Tue, Feb 23, 2010 at 2:48 PM, karine heerah wrote:
>
> Hi,
>
>
>
> I have date and time in a format like this: " 2007-02-21 05:19:00".
>
> Do you which function i can use to derterminat
Dear R users,
I've learned today about RODBC package in order to import xls file to
dataframes and export the dataframes to xls files.
However I have some problems. Please excuse me if these are basic but as
I said, I've just begun with this package.
Also this email is quite long, but everyth
Hi,
On Tue, Feb 23, 2010 at 4:03 AM, drlasher wrote:
>
> Does anybody know how to change the axes limits in do3d in made4?
>
> This is the code I have tried:
>
> do3d(sub, x=2, y=1, z=3, pch="+",
> col="darkgreen", ylim=c(0,4), xlim=c(0,140)
> )
>
> But it doesn't seem to change the limits of t
On Tue, Feb 23, 2010 at 2:17 AM, Dieter Menne
wrote:
> Marianne Promberger-3 wrote:
>>
>> Yes, I believe you need library(lme4a), the development version of lme4.
>>
>>
>> (But then something didn't work with profile() on my particular model
>> but I forgot what it was -- haven't had time to
There might be more elegant ways, but this will do it:
test<-test[-match("Y",names(test))]
On Feb 23, 2010, at 7:04 AM, Knut Krueger wrote:
Hi to all,
test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
test <- test[,-2]
Is there a way to specify the col name "Y" to delete instead the
nu
Thanks Richard. I use gdata to work with xls files, but am looking for
something under Linux which can read xlsx files. I'll try ROoo.
-
Try http://prettygraph.com Pretty Graph , the easiest way to make R-powered
graphs on the web.
--
View this message in context:
http://n4.nabble.com/expo
On Feb 23, 2010, at 10:13 AM, adam naples wrote:
try
test <- subset(test, select = -c(Y))
That approach has the deficiency (or feature?) that it will throw an
error if Y is not a column in test, whereas test[ , -grep("Y",
names(test))] will not.
However, the grep approach will return a
Hi Maura,
See ?Rscript
-Ista
On Tue, Feb 23, 2010 at 10:45 AM, wrote:
> How, if possible, can I run an R script, from command line, passing external
> parameters just like
> I can run a C main program passing parameters:
>
> # Cprog p1 p2 p3
>
> Cprog can access its arguments (p1,p2,p3) throu
thank you all your guys. You all show a great deal of tolerance on my
ignorance. I installed reflection X on windows and problems solved!
BTW, I am not with school anymore unfortunately and none of my local
colleagues use either R or Unix..
--
View this message in context:
http://n4.nabble
i'd use:
test[["Y"]] <- NULL
b
On Tue, Feb 23, 2010 at 4:13 PM, adam naples wrote:
> try
>
> test <- subset(test, select = -c(Y))
>
> The key is the minus sign before c() in the select argument.
> You can put in as many columns as you like.
> -a
>
> On Feb 23, 2010, at 11:02 AM, David Winsemiu
Hi Karine,
time1 <- as.POSIXct("2007-02-21 05:19:00")
time2 <- as.POSIXct("2007-02-20 14:21:53")
difftime(time1, time2)
should get you started.
-Ista
On Tue, Feb 23, 2010 at 9:48 AM, karine heerah wrote:
>
> Hi,
>
>
>
> I have date and time in a format like this: " 2007-02-21 05:19:00".
>
> D
try
test <- subset(test, select = -c(Y))
The key is the minus sign before c() in the select argument.
You can put in as many columns as you like.
-a
On Feb 23, 2010, at 11:02 AM, David Winsemius wrote:
>
> On Feb 23, 2010, at 6:04 AM, Knut Krueger wrote:
>
>> Hi to all,
>> test <- data.fram
Dimitris, thanks for your detailled answer and the literature
recommendation.
However, I'm still wondering about the interpretation of
coefficients in the AFT model with time-varying covariates. The
precise question is: How can I interpret a "single" coefficient if
my assumption is that an ef
Dear
R-users,
Did anyone successfuly used the "label" parameter of the
FactoMiner package "graph.var" function ? The "draw"
parameter that select the variables to be drawn is working but i cannot manage
to label them as i woud have liked, i wonder if there is a trick here or if
it's just
Hi Knut,
> test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
> test <- test[,-2]
>
> Is there a way to specify the col name "Y" to delete instead the number?
test[,colnames(test)!="Y"]
test[,!colnames(test)%in%"Y"]
test[,-grep("Y",colnames(test))]
bw,
On Feb 23, 2010, at 6:04 AM, Knut Krueger wrote:
Hi to all,
test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
test <- test[,-2]
Is there a way to specify the col name "Y" to delete instead the
number?
I believe that negative indexing only works with numeric arguments.
You could du
Hrishi,
You can use the beta version of ROoo for Open Office, also available
on the Download tab of rcom.univie.ac.at, to interface with the Open Office
spreadsheet.
RExcel itself uses Microsoft COM for behind-the-scenes communication
and is therefore limited to Microsoft Windows.
The gdata pack
How, if possible, can I run an R script, from command line, passing external
parameters just like
I can run a C main program passing parameters:
# Cprog p1 p2 p3
Cprog can access its arguments (p1,p2,p3) through the built-in structures
"argv" and "argc".
Since R is built on C language I would
Richard, is it possible to use RExcel under Linux, not to interface with
Excel of course but to read and write Excel files?
-
Try http://prettygraph.com Pretty Graph , the easiest way to make R-powered
graphs on the web.
--
View this message in context:
http://n4.nabble.com/export-tables-
1 - 100 of 167 matches
Mail list logo