Have you tried max()?
i.e.
plot (D10$Part.P ~ D10$Klorofyll,pch=16,log = "xy", xlab = ("Chla"), ylab =
("POP"), ylim = c (0, max(D10$Klorofyll)))
helene frigstad wrote:
>
> Hi,
>
> is there any way to set the ylim range from zero to whatever is the max
> value in that dataset? I am plotting
In a loop, I compose the name of a csv file using paste, then read it (e.g.,
dataset1.csv, dataset2.csv, etc). The name of the dataframe assigned to the
imported csv is also composed with paste (e.g., dataset1, dataset2, etc.).
Now I want to perform operations on the dataframes dataset1, dataset2,
I tried to plot the attached dataframe with the following command.
plot(inclino.06.1.r00.time.select.transpose[,1],inclino.06.1.r00.time.select.transpose[,2])
The first column is in date format, second is numeric. The plot does not
correspond to my values. Why?
Regards,
Serge-Étienne Parent
Go
is the name of the series): import data with
'header = TRUE'
* Plotting the evolution of the values for a single observation number
against time: 'header = TRUE' & transpose & 'as.is=TRUE'
Kind Regards,
Serge-Étienne Parent
Golder Associés
Canada
separe
#Hello,
#I loaded data using read.table - I needed to convert a row in the data
frame to date class:
> data
V1 V2 V3 V4
1 2008-05-19 2008-04-19 2008-03-21 2008-02-22
2 38.16999817 30.7008 36.8661 35.18999863
3 37.4754 29.9576 36.4508 35.366
5 matches
Mail list logo