Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

15 results for “from:Mäkinen Jussi”

its plot with pch-argument
Mäkinen Jussi · Feb 21, 2005 · r-help

Hi mighty R-gurus and other enthusiastics, I just encountered this: library(its) x <- its(sort(rnorm(10)), as.POSIXct(Sys.time() + 1:10)) plot(x, type = "p", pch = c(rep("A", 5), rep("B", 5))) Am I missing something...

A suggestion to improve ifelse behaviour with vector yes/no arguments
Mäkinen Jussi · May 31, 2005 · r-help

Dear All, I luckily found the following feature (or problem) when tried to apply ifelse-function to an ordered data. > test <- c(TRUE, TRUE, TRUE, FALSE, FALSE, FALSE, FALSE) > ifelse(test, 0, 1:4) [1] 0 0 0 4 1...

Matrix to data.frame without factors
Mäkinen Jussi · Apr 12, 2002 · r-help

>> To answer at least partially to my own question: >> >> "na.to.0" <- function(x) >> { >> xx <- data.matrix(x) >> xx[is.na(x)] <- 0 >> xx <- data.frame(xx) >> xx >> } >> >> seems to work (Idea is/was replace a data.frame NAs by...

Logical "and"
Mäkinen Jussi · Nov 11, 2004 · r-help

a[!is.element(a, b)] Jussi -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Alexander Sokol Sent: 11. marraskuuta 2004 15:34 To: r-help...

QR decomposition question
Mäkinen Jussi · Jul 1, 2004 · r-help

There is N-1 linearly independent columns in the NxN matrix. Jussi Jussi M??kinen Analyst, State Treasury, Finance, Finland -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch...

R help
Mäkinen Jussi · Mar 13, 2003 · r-help

Try (run..): rnorm(1, 0, 1) # (or in this case rnorm(1) - check ?rnorm) aaa <- function(x) x + 1 aaa(1) ?.First Regards, Jussi -----Original Message----- From: Petr Pikal [mailto:petr.pikal at precheza.cz] Sent: Thursday, March 13, 2003...

Matrix to data.frame without factors
Mäkinen Jussi · Apr 12, 2002 · r-help

Sorry, last answer slipped away because accidental key shortcut typing. Thank you for your reply. Here is a sample of my data.frame (KUNTADATA): KUNTADATA[1:10,c(6:8, 20)] Kunta Period Name Asunnot 1100 intarr_14 1 ESPOON...

A suggestion to improve ifelse behaviour with vector yes/noarguments
Mäkinen Jussi · Jun 1, 2005 · r-help

Thanks Duncan, For pointing this out. You maybe saved my day. I agree that these results are neither something I would like to see. I changed the code to be: ifelse.o <- function (test, yes, no) { storage.mode(test) <- "logical...

Matrix to data.frame without factors
Mäkinen Jussi · Apr 12, 2002 · r-help

Sorry, my previous answer slipped away because accidental key shortcut typing when I was trying to copy/paste the example. *** Thank you for your reply. Here is a sample of my data.frame (KUNTADATA): KUNTADATA[1:10,c(6:8...

glm link = logit, passing arguments
Mäkinen Jussi · Apr 15, 2002 · r-help

Hello R-users. I haven't use R for a life time and this might be trivial - I hope you do not mind. I have a questions about arguments in the Glm-function. There seems to be something that I...

A logit question?
Mäkinen Jussi · May 6, 2002 · r-help

Hello dear r-gurus! I have a question about the logit-model. I think I have misunderstood something and I'm trying to find a bug from my code or even better from my head. Any help is appreciated. The...

A logit question?
Mäkinen Jussi · May 6, 2002 · r-help

I have got few answers which has pointed out that usually logit-model is for a binary response (dependent) variable. And this was a part of my (obviously badly written) question: is it possible to regress frequency data (e.g...

A suggestion to improve ifelse behaviour with vector yes/noarguments
Mäkinen Jussi · May 31, 2005 · r-help

> Thomas Lumley wrote: > > On Tue, 31 May 2005, Duncan Murdoch wrote: > > > > > >>M??kinen Jussi wrote: > >> > >>>Dear All, > >>> > >>>I luckily found the following feature (or problem) when tried to > >>>apply > >>>ifelse-function to an ordered data. > >>> > >>> > >>> > >>>>test <- c(TRUE, TRUE, TRUE...

Matrix to data.frame without factors
Mäkinen Jussi · Apr 12, 2002 · r-help

Hello and thank you dear R-people in advance. This is quite basic question but which I have confronted occasionally and get over it without satisfying solution. The question is about factors, this time I would just like convert a...

Matrix to data.frame without factors
Mäkinen Jussi · Apr 12, 2002 · r-help

To answer at least partially to my own question: "na.to.0" <- function(x) { xx <- data.matrix(x) xx[is.na(x)] <- 0 xx <- data.frame(xx) xx } seems to work (Idea is/was replace a data.frame NAs by...

Can't find what you're looking for? Try searching with Google .