Displaying 6 results from an estimated 6 matches for "estpassag".
Did you mean:
estpassage
2009 Feb 07
2
Time Series Graphics - "cannot plot more than 10 series"
Hi Experts,
I would like to present time series data in meaningful way in building
some graphics. I've tried:
(1) plot(ts(mbaye3))
and
(2) plot(ts(mbaye3), start=1990)
But I always get this error-message:
Fehler [error] in plotts(x = x, y = y, plot.type = plot.type,
xy.labels = xy.labels, :
cannot plot more than 10 series as "multiple"
my data:
mbaye3
2009 Jan 12
3
merge table rows (\multirow)
Hi:
I need help merging rows.
I am trying to merge the 'Month' column using \multirow. For example for the column 'Week' I want July to be merged into one row(weeks 27,28,29,30) and so on for the following weeks.
Below, I am creating a PDF using Sweave, MikTex,R-2.8.1 and windows XP to show an example.
\documentclass[11pt]{article}
\usepackage{longtable,verbatim}
\title{How to
2009 Feb 27
4
Optimize for loop / find last record for each person
I want to find the last record for each person_id in a data frame
(from a SQL database) ordered by date. Is there a better way than
this for loop?
for (i in 2:length(history[,1])) {
if (history[i, "person_id"] == history[i - 1, "person_id"])
history[i, "order"] = history[i - 1, "order"] + 1 # same person
else
history[i,
2009 Feb 25
4
Have a function like the "_n_" in R ? (Automatic count function )
Have the counter function in R ?
if we use the software SAS
/*** SAS Code **************************/
data tmp(drop= i);
retain seed x 0;
do i = 1 to 5;
call ranuni(seed,x);
output;
end;
run;
data new;
counter=_n_; ***** this keyword _n_ ****;
set tmp;
run;
/*
_n_ (Automatic variables)
are created automatically by the DATA step or by DATA step statements.
*/
/*** Output
2009 Feb 09
2
Problem in appending a row to *.csv file
Hi all,
I am new to R-project
I have a problem when when ever I am going to append a row in a *.csv file
that is
in R-project I created one dataframe and I saved it in "res.csv" and again
I got some results in dataframe with same column names and i tried to append
in a new row of same "res.csv" file but its appending again with
columnnaes like
first time when i created
2009 Feb 09
2
Dataframes: conditional calculations per row .
Dear Sirs: I've been working with several variables in a dataframe
that serve as part of a calculation that I need to perform in a
different way depending on its value. Let me explain:
The main dataframe is called llmcc
llmcc : 'data.frame': 283 obs. of 11 variables:
$ Area : num 308.8 105.6 51.4 51.4 52.9 ...
$ mFondo : num 30.1 10 10.2 10.2 40.4 ...
$ mFachada :