Commit 79748dd1 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Correct displayed information if not total dataset is used.

parent 9f9c2c1f
......@@ -56,6 +56,9 @@ if dataset_.info.nvobs-size(rawdata,2)
'variables doesn''t match the number of variables in the database.'])
end
if size(rawdata,1)~=dataset_.info.ntobs
fprintf('Restricting the sample to observations %d to %d. Using in total %d observations. \n',first,dataset_.info.ntobs,dataset_.info.ntobs-first+1)
end
rawdata = rawdata(first:(first+dataset_.info.ntobs-1),:);
% Take the log (or anything else) of the variables if needed
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment