you can create an empty data frame with

yourdata <- data.frame()

and then add new records to it with another data table called `newdata`
like this..

yourdata <- rbind( yourdata , newdata )




On Mon, Mar 11, 2013 at 9:13 AM, Anup khanal <[email protected]> wrote:

>
> Hi Experts, I am newbie in R. Could you please share your idea to create a
> stack with no value or zero value? Nrow=1,Ncol=1, Ncell=1, I aim to work
> with looping, I want to make a first layer with zero values to add other
> layers further. Thanks.
> Best Regards,
> ..................Anup KhanalNorwegian Institute of science and Technology
> (NTNU)Trondheim, NorwayMob:(+47) 45174313
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to