Displaying 2 results from an estimated 2 matches for "n_species".
Did you mean:
especies
2005 Nov 21
1
Plotting one or more series on the same graphs
Hi, I'm from Italy (sorry for my english...). I've two questions about
the plot function.
I've to create a simple graph for the data set "n_species":
species=sqlQuery(dati, "select count(distinct species), season from
captures_complete_r group by species, season")
n_species=tapply(species$count, species$season, sum)
n_species=data.frame(n_species)
n_species
n_species
autumn 10
spring 7
summer 7
wi...
2004 Nov 29
1
data is getting corrupted
...TECT( filename = AS_CHARACTER( filename ) );
PROTECT(ans = allocVector(INTSXP, 1));
PROTECT( sample_in = AS_LIST( sample_in ) );
sample_ptr = build_sample_from_sexp( sample_in );
write_sample_to_file(
&return_code,
CHAR(STRING_ELT(filename, 0)),
sample_ptr,
N_SPECIES,
SPECIES_PTR );
if( return_code != CONIFERS_SUCCESS )
{
Rprintf( "unable to write %s\n", CHAR(STRING_ELT(filename, 0)) );
INTEGER(ans)[0] = -1;
UNPROTECT(2);
UNPROTECT( 1 );
return ans;
}
INTEGER(ans)[0] = 0;
UNPROTECT(2);
UNPROTECT...