cleared all formatting and dismissed the
formatting toolbar (been doing only the latter before) in the Gmail client,
which I presume will finally strip HTML from the message.
--
Cheers,
Joel Maxuel
On Mon, Oct 22, 2018 at 10:48 PM John Laing wrote:
> I don't know much about the Tidyverse, b
100
3 Southern746570
4 Western163 119 147
>
## Intended:
# A tibble: 4 x 4
For Reporting Quarter One Two Three
1 Western 163 147 119
2 Northern 105 10082
3 Eastern
on heading outside the table to me feels
like a waste of space. With 13 proposed sections in the end (120 to 140
observations), having that all in only two pages may already be a challenge.
--
Cheers,
Joel Maxuel
[[alternative HTML version deleted]]
___
) %>% magrittr::extract2("Section") ="
I presume my premise is very wrong.
Also, I am curious how to sort columns (and rows) with extra columns
(/rows) not meant for display. In this case, the columns One, Two, and
Three (in real life won't
or the code to run.
Thank you very much again for taking the time.
Best,
Joel
On Fri, Apr 7, 2017 at 3:26 PM, Prof. Dr. Matthias Kohl <
matthias.k...@stamats.de> wrote:
> Dear Joel,
>
> are you trying to apply function mi.t.test from my package MKmisc?
>
> Could you plea
t the Y variable is supposed to
represent. Could someone help me figure out what I am doing wrong? You
help would be very much appreciated.
Best regards,
Joel Gagnon, Ph.D(c),
Department of Psychology,
Université du Québec à Trois-Rivières
Québec, Canada
[[alternative HTML version deleted]]
happening.
Thanks in advance,
Joel
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
fro>
Lists of features, and an introduction to the package can be found in
the package vignette.
In-depth explanation of texture analysis matrices can be found here:
http://joelcarlson.me/2015/07/10/radiomics-package/
Any comments, contributions, and feedback are always we
I am trying to install R for Windows, but when I use the installer provided
on CRAN, a number of third-party packages are installed by default (i.e.
lattice, Matrix, codetools, etc.). If R is installed with administrator
privileges, so it's available for all users, non-administrators can't
update t
#x27;, 'red',
NA))
df2 <- data.frame(Taxa = c( 'blue', 'red', NA), Class = c('Z', 'HI', 'A'))
#function to do the lookup
find.class<-function(x)df2[grep(x, df2$Taxa),'Class']
ddply(.data=df1,
.variables='Ta
Thanks everyone. I had looked in the documentation (just in the wrong
places,apparently) and googled, but I couldn't find this.
2013/5/1 Rui Barradas :
> Hello,
>
> Try
>
> corpus.df[, c("mph", "mgl", "eng")]
>
>
> Hope this helps
Sorry, the use of rows/columns I found so far was rather
contradictive, both refering to what can be gotten via subset()
instead of what I'm looking for.
Is there a way to get multiple colums/rows? Something like
corpus.df${mph,mgl,eng}
Thanks in advance for any answers.
--
Joel Proko
character", length = length(test2))
e <- vector(mode = "character", length = length(test2))
i <- 1
j <- 1
for (i in 1:length(test2))
{
a[j] <- test2[i]
s[j] <- test2[i+1]
e[j] <- test2[i+2]
i <- i + 3
j <- j + 1
}
T
ean(z)), by = eval(parse(text = sprintf("list(%s)",
paste(x, collapse=","]
I think that's a pretty ugly solution (although it does work), but I
haven't come up with anything better. Any suggestions?
Thanks.
- Elliot
On Tue, Sep 11, 2012 at 11:33 AM, El
ssion( list(mean.z = mean(z), sd.z = sd(z)) )
> > dat[ , eval(flist), list(x)]
>x mean.z sd.z
> 1: 2 0.04436034 1.039615
> 2: 3 -0.06354504 1.077686
> 3: 1 -0.08879671 1.066916
>
> --
> David.
>
>
> A.K.
>>
>>
>>
>> - Original Mes
can reuse,
similar to the function "f" above. Can someone please explain how to
do that?
Thanks.
- Elliot
--
Elliot Joel Bernstein, Ph.D. | Research Associate | FDO Partners, LLC
134 Mount Auburn Street | Cambridge, MA | 02138
Phone: (617) 503-4619 | Email: elliot.bernst...@fdopartner
, Elliot Joel Bernstein
> wrote:
>
> > Thanks everyone for your replies. I didn't know about the ecdfplot
> function,
> > so I'll start using that instead of Ecdf. Why is Ecdf not a lattice plot?
> > The result certainly looks like other lattice plots, the argumen
t
On Tue, Jul 31, 2012 at 11:33 AM, Elliot Joel Bernstein <
elliot.bernst...@fdopartners.com> wrote:
> I'm attempting to update to R 2.15.1, and I'm having trouble with a
> package that depends on the "Matrix" package. I've created a dummy package
> consistin
failed for package temp
* removing /home/ebernstein/Rlib_2.15.1/temp
If I remove the dependency on "Matrix", it installs fine. I'm using R
2.15.1 on linux, and version 1.0-6 of the Matrix package. Can anyone
explain what's going on here?
Thanks.
- Elliot
--
Elliot Joel Bernste
just call the "histogram" function with a different prepanel and panel
function. Is it not considered a lattice plot only because it isn't part of
the lattice package?
Thanks.
- Elliot
On Tue, Jul 31, 2012 at 2:32 AM, Deepayan Sarkar
wrote:
> On Tue, Jul 31, 2012 at 2:43 AM, El
possible to see that much
detail.
For example:
require(Hmisc)
x <- rnorm(1e6)
pdf("test.pdf")
Ecdf(x)
dev.off()
The resulting pdf files is 31MB. Is there any easy way to get a smaller pdf
file without having to manually prune the dataset?
Thanks.
- Elliot
--
Elliot Joel Berns
hi,
what code in R would I use to solve the problem below?
An apartment complex has 250 apartments to rent.If they rent x apartments then
their monthly profit is given by:
p(x)= -8^x^2 + 3200x -8
Thanks.
[[alternative HTML version deleted]]
_
hi,
what code in R would I use to solve the problem below?
An apartment complex has 250 apartments to rent.If they rent x apartments then
their monthly profit is given by:
p(x)= -8^x^2 + 3200x -8
Thanks.
[[alternative HTML version deleted]]
_
d | g, groups = h, data = dat, type = 'l', scales =
list(relation = "free"),
auto.key = TRUE)
plt1 <- useOuterStrips(plt1)
plt1 <- combineLimits(plt1)
The x-axis labels are right after the call to 'useOuterStrips' but they get
converted to numeric after the call to '
How do I specify a "tight" y-axis, where the plot completely fills the
y-axis range, inside the prepanel function? For example, consider the
following code:
require(lattice)
set.seed(12345)
x <- 1:1000
y <- cumsum(rnorm(length(x)))
prepanel.test <- function(x, y, groups = NULL, subscripts = NUL
pos)))
> fakedata
A X1 X6 X7 X3 X4 X9 X2 X8
1 0 1 6 7 3 4 9 2 8
2 0 1 6 7 3 4 9 2 8
3 0 1 6 7 3 4 9 2 8
> fakedata[, order(pos)]
A X1 X2 X3 X4 X6 X7 X8 X9
1 0 1 2 3 4 6 7 8 9
2 0 1 2 3 4 6 7 8 9
3 0 1 2 3 4 6 7 8 9
Sarah
2012/2/17 Joel
@ Jim
That would work for just a few columns, but I will have around 1000 of
them so I need something more generic.
best,
Joel
>>> jim holtman 17-02-2012 14:44 >>>
pos2 <- pos1[, c("X", "X1", "X2", "X3", "X4", &quo
s(df))
> colnames(df)
[1] "Mass" "1""10" "11" "12" "13" "14" "15" "16"
"17" "18" "19" "2""20" "3""4"
It does not work when using more variables, and my data frames usually
contains about thousand columns...
Best,
Joel
> fakedata <- data.frame(A=c(0,0,0), X1=c(1,1,1), X6=c(6,6,6),
X7=c(7,7,7), X3=c(3,3,3), X4=c(4,4,4), X9=c(9,9,9), X2=c(2,2,2),
X8=c(8,8,8), X5=c(5,5,5))
> fakedata
ng to first change the first column name to something without an X and
save as a vector. I would then remove the X from each position use the vector
for renaming the columns. Then the column 2-n could be ordered, I hope...
colnames(pos)[1] <- "Mass"
columnNames <- colname
lot)
[1] "REPORT_20" "REPORT_21" "REPORT_22" "REPORT_23"
[5] "REPORT_24" "REPORT_25" "REPORT_QREP001" "REPORT_RS010"
[9] "REPORT_RS011" "REPORT_RS030" "REPORT_RS090&quo
Hi Dennis,
Thanks for your prompt response.
Best,
Joel
>>> Dennis Murphy 30-10-2011 21:11 >>>
Hi:
Here are a few ways (untested, so caveat emptor):
# plyr package
library('plyr')
ddply(df, .(Plant, Tissue, Gene), summarise, ntest =
shapiro.test(ExpressionL
e(A = rnorm(100), B = rlnorm(100))
obj2 <- lapply(DF, shapiro.test)
tab2 <- lapply(obj, function(x) c(W = unname(x$statistic), p.value = x$p.value))
tab2 <- data.frame(do.call(rbind, tab2))
printCoefmat(tab2, has.Pvalue = TRUE)
Finally, I have found several different
You sir are a hero!
It works now thanks to your fast and accurate answer.
Thanks for the help.
//joel
--
View this message in context:
http://r.789695.n4.nabble.com/Not-saving-plot-tp3850981p3851331.html
Sent from the R help mailing list archive at Nabble.com
Seems to have something todo with barchart.
Cuz if I just change it to plot it works.
But I want to use barchart due to the graphical advantages so do anyone have
an ide.
--
View this message in context:
http://r.789695.n4.nabble.com/Not-saving-plot-tp3850981p3851255.html
Sent from the R help ma
Hi
I got a strange problem.
I got this code:
poc<-function(USER="nana",REGISTRY="nana",...){
require(RMySQL)
require(R2HTML)
require(lattice)
... (removed the dataprocessing)
toReturn=capture.output(HTML(as.title("En liten
rapport!"),file="",align
argin automatic as long as
something is outside its borders?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Auto-size-of-plots-tp3846560p3846560.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.o
step.The
same build command on the same package completes successfully on my older Vista
computer.
Since I would prefer to do the builds on the Windows 7 computer I would
appreciate any thoughts on why this maybe happening and what I can do to fix
the problem.
Thanks and bes
Found what was wrong with my code
changed:
inFile <- file('gwas_data_chr10.gen')
to:
inFile <- file('gwas_data_chr10.gen','r')
Dunno why its important but it is :P
--
View this message in context:
http://r.789695.n4.nabble.com/Read-file-line-by-line-tp3602349p3602399.html
Sent from the R help m
Hi
I got a file that looks like this: (i have shorten it alot the real file is
over 200k rows long)
chr10 rs7909677 101955 A G 0 1 0 1 0 0...
chr10 rs2436025 238506 C G 1 0 0 1 0 0...
chr10 rs11253562 148946 C T 0 1 0 0 1 ...
chr10 rs1105116 230788 G T 0 0 1 0 0 1...
chr10 rs4881551 149076 A G 0
When using the 'splom' function of the 'lattice' packge, is it possible to
get all the tick marks in the outer margins of the plot?
X <- as.data.frame(matrix(rnorm(1000), 100, 10))
plot(X) ## Tick marks are in the outer margin
splom(X) ## Tick marks are inside the on-diagonal panels
Thanks.
- El
Is it possible to get R to report the line number of an error when a script
is called with source()? I found the following post from 2009, but it's not
clear to me if this ever made it into the release version:
ws wrote:
>* Is there a way to have R return the line number in a script when it errors
That worked perfectly. Thanks!
- Elliot
On Mon, May 09, 2011 at 12:20:36AM +0530, Deepayan Sarkar wrote:
> On Fri, May 6, 2011 at 9:24 PM, Elliot Joel Bernstein
> wrote:
> > I'm trying to create an xyplot with a "groups" argument where the y-variable
> > is t
Thx
Paul
My string aint that simple its just that if it works for this simple example
it will work for my string therefor I just used the "a b c d e f" syntax.
--
View this message in context:
http://r.789695.n4.nabble.com/Loop-over-a-split-string-tp3514204p3514252.html
Sent from the R help mai
This is no homework, Im just trying to learn R but sorry for wasting your
time you all mighty God of R Uwe Ligges.
And if this is not a forum to ask simple questions can you please redirect
me to where I might get help?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com
Hi
I got a string that looks like this:
string<-"a b c d e f"
And what I wanna do is loop trough all the letters.
like
for(i in string){
print(i)
}
would render the result:
a
b
c
d
e
f
Ive tried using strsplit but without result, dose anyone know how I could
make this ha
nt the result to look the same as if I had done
dat$cumvalue <- with(dat, unsplit(lapply(split(value, group), cumsum),
group))
xyplot(cumvalue ~ date, data = dat, group = group, type = 'l', grid = TRUE)
Thanks for your help.
- Elliot
Elliot Joel
jholtman wrote:
>
> a <- readLines(textConnection('setting1="value1"
> setting2="value2"
> setting3="value3"
> setting4="value4"'))
> closeAllConnections()
> # change values
> ac <- sub('setting4="value4"', 'setting4="value5"', a)
> writeLines(ac, con='myFile.txt')
>
Problem is that I dont kno
Hi all R users
Ive got a file that contains diffrent settings in the manor of:
setting1="value1"
setting2="value2"
setting3="value3"
setting4="value4"
.
.
.
What I want to do is open the file and change the value of a specific
setting
like wanna change setting4="value4" -> setting4="value5" and
Hi
I got a string that looks something like this
1 2 3 4 5 6 7 8 9 ...
and I want it to be
123456789...
So I want to remove all spaces (or whitespaces) from my string.
Anyone know a good way of doing this?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Remove-all
better way of reading the last line
of a file and extracting the third column (or word) of that line.
Best regards
//Joel Damberg
--
View this message in context:
http://r.789695.n4.nabble.com/Read-last-line-of-a-file-tp3494963p3494963.html
Sent from the R help mailing
My current code looks like this. Anything that can be improved?
#! /usr/bin/rscript
# install.packages(c('zoo','xts'))
library(zoo)
library(xts)
req_stats <- function(data, type = NA)
{
if (is.na(type))
csv <- data
else
# subset of data matching our request type
csv <- subset(da
Does R have support for microseconds in timestamps, e.g. when reading this in
"Time","Include","Kind","Duration"
2011-04-01 14:20:36.368324,Y,U,1.03238296509
2011-04-01 14:20:35.342732,Y,C,0.0252721309662
2011-04-01 14:20:34.337209,Y,
same format as the first column,
except it's request duration (latency).
I would like to calculate average number of requests per second, mean latency,
variance, 5 and 95 percentiles.
What is the best way to accomplish this, starting with importing of time series?
Th
On Feb 18, 2011 11:02 PM, "Deepayan Sarkar"
wrote:
>
> On Fri, Feb 18, 2011 at 11:04 PM, Elliot Joel Bernstein
> wrote:
> > I'm trying to use lattice graphics to produce some small plots for
inclusion in a LaTeX file. I want the LaTeX fonts to be used in the plots,
par.settings = rescale.pars())
dev.off()
look at
?savePlot
It will save the current plot you are viewing.
--
View this message in context:
http://r.789695.n4.nabble.com/saving-plots-tp3304540p3304548.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mail
Hi
Im confused by one thing, and if someone can explain it I would be a happy
> rev(strsplit("hej",NULL))
[[1]]
[1] "h" "e" "j"
> lapply(strsplit("hej",NULL),rev)
[[1]]
[1] "j" "e" "h"
Why dossent the first one work? What is it in R that "fails" so to say that
you need to use lapply for it to
know where it put the different
files I would love to know :).
Thx for the help
Joel
--
View this message in context:
http://r.789695.n4.nabble.com/RMySQL-cant-find-MySQL-tp3253689p3253689.html
Sent from the R help mailing list archive at Nabble.com.
_
Hi
I wondering if its possible to make a hidden environment for a package, so
the user cant see whats in it but the diffrent functions inside the package
can use the variables in the environment.
Hope you can understand what Im after.
Joel
--
View this message in context:
http://r.789695.n4
just typing
TestEnv, but I want this one hidden so that you only can get the "Ans" from
the "Key" via the TestFunc.
Thx for the help
Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Hidden-variables-tp3251588p3251588.html
Sent from the R help mailing list
Can add that if it dossent split up the processes by default is there anyway
I can do it by myself?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Rserve-tp3251032p3251138.html
Sent from the R help mailing list archive at Nabble.com
Hi
Im just wondering if anyone knows if Rserve is parallel programed? and if so
how, do it send every new connection to a new node or?
Thx for the help
Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Rserve-tp3251032p3251032.html
Sent from the R help mailing list archive
I'm trying to write a generic function that calls different methods depending
on the structure of the argument, but not the exact type of its contents. For
example, the function 'nan2last' below works for a numeric vector but not for a
vector of Date objects. Is there any way to make it work on
You could try useing '127.0.0.1' instead of 'localhost' and see if that
works.
--
View this message in context:
http://r.789695.n4.nabble.com/Accessing-MySQL-Database-in-R-tp3221264p3221291.html
Sent from the R help mailing list archive at Nabble.com.
__
quot; or
"hope" to find, even if they feel no conscious bias. This is likely one of
the reasons observational studies are so frequently overturned by randomized
controlled trials. RCT's provide less room for confirmation bias to rear its
ugly head.
Joel
-Original Message-
> -Original Message-
> From: David Winsemius [mailto:dwinsem...@comcast.net]
> Sent: Saturday, December 18, 2010 5:54 PM
> To: Joel Schwartz
> Cc: r-help@r-project.org
> Subject: Re: [R] package survey
>
>
> On Dec 18, 2010, at 8:11 PM, Joel Schwartz wro
sier or quicker way to do it from within R but ,if there
is, I haven't learned it yet.
Joel
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of andrija djurovic
> Sent: Saturday, December 18, 2010 4:23 PM
> To:
I think that should have been
help.start()
Joel
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Spencer Graves
> Sent: Saturday, December 18, 2010 1:35 PM
> To: Duncan Murdoch
> Cc: r-help@r-project.o
Hi is there any command or setting that allows you to do the plot command but
it dose not print the plot on screen?
So when you are saveing an plot in a function you dont want it to display
the plot just save it.
--
View this message in context:
http://r.789695.n4.nabble.com/Dont-print-plot-on-
Hi
I get this error with Rserve:
eval failedeval failed, request status: R parser: syntax erroreval failed,
request status: R parser: input
incompleteorg.rosuda.REngine.Rserve.RserveException: eval failed
at org.rosuda.REngine.Rserve.RConnection.eval(RConnection.java:233)
at se.
Why to you always find the answer as soon as you have posted the Q here :P
paste(toReturn, collapse="")
But if anyone have a better solution plz share.
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Help-with-capture-output-tp3074192p3074199.html
Sent from
\t\tb "
[13] "\t\tc "
[14] "\t "
.
.
.
But what I want is a continues string of the code on just one row:
[1] " ..."
Anyone know a way I can accomplish this?
Or is there any kind of File buffer that dossent save a file on the
harddrive?
coz this gives me the thing I want but it still saves the file on the HD
> .HTML.file=(temp<-file("era.html","w+"))
> HTML("NANALALA")
> HTML(diag(3))
Then I can just use
readLines(temp) to get the result
but as
Hi
Is it possible to instead of getting the HTML code written to a file, get it
saved as a string in an object instead?
Or is there any kind of package that can do this?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Save-R2HTML-as-an-object-instead-of-file
I know this issue has been discussed before, but I hoped the advent of
pretty.Date would resolve it. In the following code, the first plot produces
misaligned vertical grid lines, while in the second plot they are properly
aligned. Is there any way to get something along the lines of the first c
I do mean function not script, edit it in the forum but for the mailinglist
here you have it.
--
View this message in context:
http://r.789695.n4.nabble.com/Print-to-the-cmd-line-in-a-function-tp3057009p3057025.html
Sent from the R help mailing list archive at Nabble.com.
__
Hi Ive written a script that loopes throu some data, but what I want to do is
to print to the cmd line how many times it has looped to the cmd line. And
as it is just a counter from 1 this should be quite easy :P
but ive tried things like print(counter) and so on but it dossent print
anything to
Hi
When I try to update an number in a large data.frame by its pos It's really
slow it take almost a sec to do this and I wonder why and if where is any
faster way to update a number in a data.frame
ive tried
DF$col[POS]<-number
DF[xPOS,yPOS]<-number
Thx
//Joel
--
View this
Marius think you wanted to do a new post and not reply to mine :P
--
View this message in context:
http://r.789695.n4.nabble.com/the-first-from-SAS-in-R-tp3055417p3055459.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-projec
and so on.
so
something similar to:
if first.a {
a$d<-1
}else{
a$d<-0
}
This would give me
a b c b
1 1 5 1
1 0 2 0
2 0 2 1
2 0 NA 0
2 9 2 0
3 1 3 1
Is there such a function in R or anything similar?
thx
//Joel
--
View this message in context:
http://r.789
Thx alot mate.
--
View this message in context:
http://r.789695.n4.nabble.com/Prob-with-merge-tp3053652p3053675.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-
11
2 2 12 11
3 3 12 NA
4 4 12 11
5 5 12 11
6 8 32 NA
So I keep all of the rows from t1 and get an NA in dose slots at the t2 part
of the merge.
Anyone know how to accomplice this?
Thx
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Prob-with-merge-tp3053652p3053652.
;l')
will work, but if Y is large, this notation can get very awkward. Is there a
way to do something simpler, along the lines of
xyplot(Y ~ x, type='l')
Thanks.
- Elliot
--
Elliot Joel Bernstein, Ph.D. | Research Associate | FDO Partners, LLC
134 Mount Auburn Street | Cambridg
Thx alot works perfect!
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Extract-elements-that-starts-with-tp3046332p3046420.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
for your help
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Extract-elements-that-starts-with-tp3046332p3046332.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch
Hi
I got an barplot, and I would like to have the exact number of the bars just
above the bars anyone know how to do this?
Sorry for bad English, and I do hope that you understand what im after.
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Number-above-the-bar
Maybe should have said that Im working on a Linux unit :) and that command is
for Windows only.
But thx anyway
If you got any other ideas please share.
/Joel
--
View this message in context:
http://r.789695.n4.nabble.com/check-RAM-usage-tp3018753p3021938.html
Sent from the R help mailing
Hi
Is there any way to check an certain command or procedure's RAM usage?
Im after something similar to system.time(bla) that gives me the time the
command took to preform but for RAM usage.
Hope you understand what i mean.
Best regards
Joel
--
View this message in context:
http://r.7
Indeed I was close :)
Thx for the fast respond!
Have a good day
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Set-value-if-else-tp2996667p2996682.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r
:
table:
Name Age
Joel 24
agust 17
maja40
and so on...
And what I want to do is a command that gives me
VoteRight<-1 if table$age>18 else set VoteRight to 0
Then use cbind or something to add it to the table.
so i get
Name Age VoteRight
Joel 241
agust 170
maja4
Thx for the ideas will try them out.
Have a wonderful day
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-table-as-table-tp2993270p2993344.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r
It should look something like this (not at all relevant except the look)
http://r.789695.n4.nabble.com/file/n2993297/tableR19.jpg
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-table-as-table-tp2993270p2993297.html
Sent from the R help mailing list archive at Nabble.com.
The subject says it all :).
So I have a table and I want it do be ploted like a table so to say and cant
find any function/package that dose it for me.
Anyone know of one?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-table-as-table-tp2993270p2993270.html
Sent
Or now Im pretty sure of it as when I took your dataset and used the magic
way of ctrl-c ctrl-v to make some more observations I get a decision tree.
--
View this message in context:
http://r.789695.n4.nabble.com/Rpart-query-tp2991198p2991469.html
Sent from the R help mailing list archive at Nab
My guess is that you have two few observations is your dataset for rpart to
determin a "safe" dissision.
--
View this message in context:
http://r.789695.n4.nabble.com/Rpart-query-tp2991198p2991461.html
Sent from the R help mailing list archive at Nabble.com.
___
Dont know if it will work but you can try ctree from the party package
require(party)
bla <- ctree(Class ~ Outlook + Temp + Humidity + Windy, data=dataframe)
plot(bla)
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Rpart-query-tp2991198p2991417.html
Sent from th
Dont know if this is the right forum for this but here we go.
Trying to figure out where I should put the Rserv.conf file in windows,
anyone have any idea?
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Rserve-config-tp2966394p2966394.html
Sent from the R help mailing
Thx for the help works very well for me.
--
View this message in context:
http://r.789695.n4.nabble.com/Adding-two-data-frames-tp2718771p2718901.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https:/
8 9
9 8 7
6 5 4
3 2 1
Thx for your help
//Joel
--
View this message in context:
http://r.789695.n4.nabble.com/Adding-two-data-frames-tp2718771p2718771.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
1 - 100 of 145 matches
Mail list logo